[Bug 1128989] New: When vncmanager is running no user can log in locally, only remotely using VNC
http://bugzilla.opensuse.org/show_bug.cgi?id=1128989 Bug ID: 1128989 Summary: When vncmanager is running no user can log in locally, only remotely using VNC Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.0 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: X.Org Assignee: xorg-maintainer-bugs@forge.provo.novell.com Reporter: espinosa_cz@centrum.cz QA Contact: xorg-maintainer-bugs@forge.provo.novell.com Found By: --- Blocker: --- I discovered something what looks like bug in vncmanager, or if not bug, then massive limitation; a limitation not clearly declared in the openSUSE manual: when vncmanager service is running - users can log in ONLY using VNC, but not locally. When vncmanager is running, and I attempt to login locally, GDM starts, shows standard login screen, with user list, but every login attempt ends with sudden return to GDM without any explanation and without any traces in logs. Any error whatsoever anywhere. Any warning, any hit. Just magical return back to GDM. But at the same time I was able to log in via VNC. It took me a lot of head scratching to figure out the culprit - vncmanager. When I disable the service, I was immediately able to login locally. I really like vncmanager, I wanted persistent sessions and using vncmanager is an easy and straightforward solution. Well, at least it seemed to be. I set it us using this great manual: https://doc.opensuse.org/documentation/leap/reference/html/book.opensuse.ref... 4.4.2 VNC Session Initiated Using vncmanager I use my box as a home server, experimental server, mostly accessing it by ssh or VNC, but it also doubles as my HTPC/Kodi box, because it sits next to my TV; and I also occasionally log in locally, using TV as monitor. If vncmanager is used, I cannot use it as Kodi box or log in directly. This means vncmanager would be a no-go for me and that's a shame. This issue is also discussed in openSUSE Forum thread: https://forums.opensuse.org/showthread.php/535175-Bug-in-vncmanager-If-runni.... And I also reported it on the project's GitHub site: https://github.com/michalsrb/vncmanager/issues/2 How to verify that vncmanager is the driving service behind VNC: $ ps ax | grep -i vncmanager /usr/bin/vncmanager /usr/bin/vncmanager-controller --tray --start-setup $ systemctl status vncmanager ● vncmanager.service - VNC manager Loaded: loaded (/usr/lib/systemd/system/vncmanager.service; enabled; vendor preset: disabled) Active: active (running) since Sun 2019-02-17 21:08:10 GMT; 2h 33min ago Main PID: 1177 (vncmanager) Tasks: 8 (limit: 4915) CGroup: /system.slice/vncmanager.service ├─1177 /usr/bin/vncmanager └─1916 /usr/bin/Xvnc -log *:syslog:30,TcpSocket:syslog:-1 -inetd -MaxDisconnectionTime=5 -securitytypes=none -displayfd 10 -geometry 102> $ systemctl status xvnc.socket ● xvnc.socket - Xvnc Server Loaded: loaded (/usr/lib/systemd/system/xvnc.socket; disabled; vendor preset: disabled) Active: inactive (dead) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1128989
Michal Srb
http://bugzilla.opensuse.org/show_bug.cgi?id=1128989
http://bugzilla.opensuse.org/show_bug.cgi?id=1128989#c1
Michal Srb
http://bugzilla.opensuse.org/show_bug.cgi?id=1128989
http://bugzilla.opensuse.org/show_bug.cgi?id=1128989#c2
--- Comment #2 from Jan Uhlir
Is there any (perhaps disconnected) remote session running?
Certainly not. I *restarted* my box several times. Always the same result. I have Kodi on auto-start. By Kodi I mean a user account called "Kodi" with simple TWM session with Kodi as only application started via .xinitrc. Instead of Kodi I always ended in GDM; ended in GDM unable to log to any account, my normal one, Kodi one, test account. I have TV connected to that box so I instantly saw that after restart there was no Kodi. When I disabled vncmanager, Kodi started to appear again. I will disable Kodi (account) autostart and re-try.
Please try if you could log in with different user or into a different desktop environment.
I tested it with GDM -> KDE Plasma and GDM -> TWM (Kodi). I have to install Gnome, I'll give it a try.
Could you try if it happens with different display manager, e.g. SDDM?
That is a strange request, SDDM does not support XDMCP, therefore it is unusable for VNC. See: https://github.com/sddm/sddm/issues/1069 The very reason I use GDM, despite being KDE user, is the lack of XDMCP support in SDDM. The only other still actively developed DM with XDMCP is LightDM. See: https://wiki.archlinux.org/index.php/XDMCP I will give it a try. If you know how to make SDDM running with VNC, I am super keep to hear it :) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1128989
http://bugzilla.opensuse.org/show_bug.cgi?id=1128989#c3
--- Comment #3 from Michal Srb
Hi Michael, thank you for a prompt reply. Impressive.
Is there any (perhaps disconnected) remote session running?
Certainly not. I *restarted* my box several times. Always the same result. I have Kodi on auto-start. By Kodi I mean a user account called "Kodi" with simple TWM session with Kodi as only application started via .xinitrc. Instead of Kodi I always ended in GDM; ended in GDM unable to log to any account, my normal one, Kodi one, test account. I have TV connected to that box so I instantly saw that after restart there was no Kodi. When I disabled vncmanager, Kodi started to appear again.
Thank you for testing it, really strange.
I will disable Kodi (account) autostart and re-try.
Please try if you could log in with different user or into a different desktop environment.
I tested it with GDM -> KDE Plasma and GDM -> TWM (Kodi). I have to install Gnome, I'll give it a try.
No need to install Gnome, trying with Plasma and TWM is enough. So we know it is not desktop specific.
Could you try if it happens with different display manager, e.g. SDDM?
That is a strange request, SDDM does not support XDMCP, therefore it is unusable for VNC. See: https://github.com/sddm/sddm/issues/1069 The very reason I use GDM, despite being KDE user, is the lack of XDMCP support in SDDM. The only other still actively developed DM with XDMCP is LightDM. See: https://wiki.archlinux.org/index.php/XDMCP I will give it a try.
If you know how to make SDDM running with VNC, I am super keep to hear it :)
You are right that SDDM does not support XDMCP. That feature is on my wishlist as well. But LightDM or XDM would be worth trying. I'll do more tests and get back to you. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com