[GH-ISSUE #1735] Barrier GUI requires a display #1279

Closed
opened 2026-05-05 07:41:32 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @Sofiap91 on GitHub (Aug 4, 2022).
Original GitHub issue: https://github.com/debauchee/barrier/issues/1735

What happened?

Hello,

I've been using barrier for a while now, across several computers with different OS systems.
Now I've installed barrier on an Ubuntu 14.04 machine, which had its system reinstalled on the same version, but previously had barrier it working.

Installed it by using snap install, and when I run it on the console I get the following message:

realpath: '': No such file or directory
realpath: '': No such file or directory
realpath: '': No such file or directory
realpath: '': No such file or directory
realpath: '': No such file or directory
realpath: '': No such file or directory
realpath: '': No such file or directory
realpath: '': No such file or directory
The Barrier GUI requires a display. Quitting...

Any ideas are welcome.
Thanks in advance!

Version

v2.4.0

Git commit hash (if applicable)

No response

If applicable, where did you install Barrier from?

Snap

What OSes are you seeing the problem on? (Check all that apply)

Linux

What OS versions are you using?

Ubuntu 14.04

Relevant log output

No response

Any other information

No response

Originally created by @Sofiap91 on GitHub (Aug 4, 2022). Original GitHub issue: https://github.com/debauchee/barrier/issues/1735 ### What happened? Hello, I've been using barrier for a while now, across several computers with different OS systems. Now I've installed barrier on an Ubuntu 14.04 machine, which had its system reinstalled on the same version, but previously had barrier it working. Installed it by using snap install, and when I run it on the console I get the following message: ``` realpath: '': No such file or directory realpath: '': No such file or directory realpath: '': No such file or directory realpath: '': No such file or directory realpath: '': No such file or directory realpath: '': No such file or directory realpath: '': No such file or directory realpath: '': No such file or directory The Barrier GUI requires a display. Quitting... ``` Any ideas are welcome. Thanks in advance! ### Version v2.4.0 ### Git commit hash (if applicable) _No response_ ### If applicable, where did you install Barrier from? Snap ### What OSes are you seeing the problem on? (Check all that apply) Linux ### What OS versions are you using? Ubuntu 14.04 ### Relevant log output _No response_ ### Any other information _No response_
Author
Owner

@whot commented on GitHub (Aug 11, 2022):

The DISPLAY environment variable isn't set. Google will have answers for what exactly that means.

Don't know how you get there but the answer is likely somewhere in snap.

<!-- gh-comment-id:1211559048 --> @whot commented on GitHub (Aug 11, 2022): The `DISPLAY` environment variable isn't set. Google will have answers for what exactly that means. Don't know how you get there but the answer is likely somewhere in snap.
Author
Owner

@Sofiap91 commented on GitHub (Aug 11, 2022):

The DISPLAY environment variable isn't set. Google will have answers for what exactly that means.

Don't know how you get there but the answer is likely somewhere in snap.

But the DISPLAY variable was set.
I ended up changing to 20.04 for other purposes, so I'll close this.

<!-- gh-comment-id:1211864361 --> @Sofiap91 commented on GitHub (Aug 11, 2022): > The `DISPLAY` environment variable isn't set. Google will have answers for what exactly that means. > > Don't know how you get there but the answer is likely somewhere in snap. But the DISPLAY variable was set. I ended up changing to 20.04 for other purposes, so I'll close this.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/barrier#1279
No description provided.