[Bug 979190] New: Some applications fail to connect to X Server under LightDM
http://bugzilla.suse.com/show_bug.cgi?id=979190 Bug ID: 979190 Summary: Some applications fail to connect to X Server under LightDM Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.1 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: X.Org Assignee: xorg-maintainer-bugs@forge.provo.novell.com Reporter: mhsabbagh@outlook.com QA Contact: xorg-maintainer-bugs@forge.provo.novell.com Found By: --- Blocker: --- Hello. When running Steam under GDM on openSUSE 42.1, everything works fine. However, after changing the display manager from GDM to LightDM, and rebooting the system, Steam (And possibly many other applications or games) fails to connect to the X server under LightDM. The displayed error message is: "Unable to open a connection to X. Check your DISPLAY environment variable and make sure that you have enabled X. If you are running remotely, make sure that you have a remote connection which will allow an X connection. For more information visit https://support.steampowered.com/kb_article.php?ref=4050-WOJB-0608". However, the $display variable is already set to ":0" in my case, yet, it gives the error. Steps to reproduce: 1. Install lightdm package via zypper. 2. Change the default display manager from YaST2 to lightdm. 3. Reboot the system. 4. Try to run Steam and you will see the problem. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=979190
http://bugzilla.suse.com/show_bug.cgi?id=979190#c1
Egbert Eich
http://bugzilla.suse.com/show_bug.cgi?id=979190
Egbert Eich
http://bugzilla.suse.com/show_bug.cgi?id=979190
http://bugzilla.suse.com/show_bug.cgi?id=979190#c2
M.Hanny Sabbagh
http://bugzilla.suse.com/show_bug.cgi?id=979190
http://bugzilla.suse.com/show_bug.cgi?id=979190#c3
--- Comment #3 from M.Hanny Sabbagh
http://bugzilla.suse.com/show_bug.cgi?id=979190
http://bugzilla.suse.com/show_bug.cgi?id=979190#c4
--- Comment #4 from Egbert Eich
I just installed LightDM instead of GDM, the session was GNOME Shell, I started Steam by clicking it's icon from the applications menu (and running from command line gave the same result).
I am not sure about other applications, it's just Steam for now.
Please be so kind to try other applications. Apparently, you were able to start a terminal and use the command line. So not all X applications seem to be affected. Thus this seems to be more of a Steam issue than a problem with lightdm. When you go back to GDM, does it still work? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=979190
Egbert Eich
http://bugzilla.suse.com/show_bug.cgi?id=979190
http://bugzilla.suse.com/show_bug.cgi?id=979190#c5
M.Hanny Sabbagh
http://bugzilla.suse.com/show_bug.cgi?id=979190
http://bugzilla.suse.com/show_bug.cgi?id=979190#c6
Egbert Eich
Well I tried many other applications like teeworlds, WPS Office, YaST2.. and all seems to be working fine, it's just Steam with my testing.
Yes, When I go back to GDM, everything is working (even Steam), but with LightDM, it doesn't work.
Ok, I assume, this is more an issue of Steam and the message is misleading. I wonder if you can run any other 3D applications: can you run 'glxinfo' and collect the output - both when logged in over lightdm and gdm? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=979190
Egbert Eich
http://bugzilla.suse.com/show_bug.cgi?id=979190
http://bugzilla.suse.com/show_bug.cgi?id=979190#c7
M.Hanny Sabbagh
http://bugzilla.suse.com/show_bug.cgi?id=979190
http://bugzilla.suse.com/show_bug.cgi?id=979190#c8
--- Comment #8 from M.Hanny Sabbagh
http://bugzilla.suse.com/show_bug.cgi?id=979190
http://bugzilla.suse.com/show_bug.cgi?id=979190#c9
--- Comment #9 from M.Hanny Sabbagh
http://bugzilla.suse.com/show_bug.cgi?id=979190
http://bugzilla.suse.com/show_bug.cgi?id=979190#c10
--- Comment #10 from M.Hanny Sabbagh
http://bugzilla.suse.com/show_bug.cgi?id=979190
http://bugzilla.suse.com/show_bug.cgi?id=979190#c11
Egbert Eich
http://bugzilla.suse.com/show_bug.cgi?id=979190
http://bugzilla.suse.com/show_bug.cgi?id=979190#c12
--- Comment #12 from Egbert Eich
http://bugzilla.suse.com/show_bug.cgi?id=979190
http://bugzilla.suse.com/show_bug.cgi?id=979190#c13
M.Hanny Sabbagh
http://bugzilla.suse.com/show_bug.cgi?id=979190
http://bugzilla.suse.com/show_bug.cgi?id=979190#c14
Egbert Eich
http://bugzilla.suse.com/show_bug.cgi?id=979190
http://bugzilla.suse.com/show_bug.cgi?id=979190#c15
--- Comment #15 from Stefan Dirsch
http://bugzilla.suse.com/show_bug.cgi?id=979190
http://bugzilla.suse.com/show_bug.cgi?id=979190#c16
Egbert Eich
M.Hanny Sabbagh, could you please execute the following command when running in gdm and lightdm?
echo $USER getfacl /dev/dri/card0
and attach the output?
For this test you need to remove your user name from the group video first. systemd-logind is in charge of setting the ACLs correctly for the logged in user. It would surprise me that this works for gdm but not for lightdm. Again, please make sure you have the latest version of lightdm. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=979190
http://bugzilla.suse.com/show_bug.cgi?id=979190#c20
M.Hanny Sabbagh
I have to say, I cannot reproduce your issue logging in to a Gnome session on a normal user account using lightdm. Steam runs nicely here.
Did you sign in? At the beginning of the problem I was able to run steam and get to the login dialog, but when I enter my data and wait Steam interface to show up, the problem showed. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=979190
http://bugzilla.suse.com/show_bug.cgi?id=979190#c21
Egbert Eich
Did you sign in? At the beginning of the problem I was able to run steam and get to the login dialog, but when I enter my data and wait Steam interface to show up, the problem showed.
Ok, you didn't write this. I believe I did log in at least once to download something. The application I've tested (Blender) did work without issues. Still, since things are working it might have been an intermediate issue that has disappeared. Let's close the ticket - if the problem reappears, please reopen. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com