New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 848213 link

Starred by 5 users

Issue metadata

Status: Duplicate
Merged: issue 879903
Owner:
Closed: Sep 7
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug-Regression



Sign in to add a comment

Sometimes Linux apps cannot connect to display

Reported by kenneth....@gmail.com, May 31 2018

Issue description

UserAgent: Mozilla/5.0 (X11; CrOS x86_64 10718.4.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.4 Safari/537.36

Steps to reproduce the problem:
Launch VSCode ... or any graphical app from Termina

What is the expected behavior?
It should launch

What went wrong?
It doesn't and I get errors like

kennethchristiansen@penguin:~$ gtk-builder-tool 
Unable to init server: Could not connect: Connection refused

(gtk-builder-tool:476): Gtk-WARNING **: cannot open display: :0

Did this work before? N/A 

Chrome version: 68.0.3440.4  Channel: dev
OS Version: 10718.4.0
Flash Version:
 
Labels: Proj-Containers

Comment 2 by b...@chromium.org, Jun 1 2018

Just a far-fetched idea, but what if your display has a different name?  Run the command w and look at the FROM column, see https://askubuntu.com/questions/230835/list-existing-x-display-names.
Labels: Needs-Feedback
Owner: reve...@chromium.org
Status: Assigned (was: Unconfirmed)
@kenneth.christiansen -- are you using a different shell than the default? Does this still reproduce if you restart?
No, regular shell. It is normally fixed after reboot but then later appears again (like after having been inactive for some time)
I am using external monitor over HDMI
Tried running the commands from Comment 2, check out screenshot
Screenshot 2018-06-05 at 13.37.28.png
35.0 KB View Download
Cc: cmumford@chromium.org

Comment 8 by cmumford@google.com, Jun 13 2018

I switched from bash to zsh and also got this error. Once I manually set DISPLAY=:0 then I could start GUI apps.

Comment 9 by vapier@chromium.org, Jun 13 2018

if you're not using the default shell, see  issue 828877 .  that's not this bug.
Components: OS>Systems>Containers
Cc: dgreid@chromium.org reve...@chromium.org tbuck...@chromium.org
Labels: -Pri-2 M-70 Pri-1
Owner: za...@chromium.org
Partly fixed, need to move socket to a new location which will also affect ARC++.
Mergedinto: 879903
Status: Duplicate (was: Assigned)

Sign in to add a comment