GNOME Bugzilla – Bug 610264
gdm allows only one run with xvncviewer
Last modified: 2010-02-18 19:41:00 UTC
Created attachment 154037 [details] The xinetd config file for Xvnc I know this may be an exotic bug, but I don't really know where else to file it. I've configured this system to accept local connections from xvncviewer to the local port 5900 using xinetd with the attached file in the /etc/xinetd.d/ directory: service Xvnc { type = UNLISTED disable = no socket_type = stream protocol = tcp wait = no user = nobody only_from = localhost server = /usr/bin/Xvnc server_args = -inetd -query 127.0.0.1 -geometry 1024x768 -depth 16 -cc 3 -once -SecurityTypes None -extension XFIXES port = 5900 } I've also configured gdm to listen for XDMCP (/etc/gdm/custom.conf): # GDM configuration storage [xdmcp] Enable=true [chooser] [security] DisallowTCP=false [debug] [daemon] TimedLoginEnable=true AutomaticLoginEnable=false TimedLogin=guest AutomaticLogin=guest TimedLoginDelay=120 RemoteGreeter=/usr/lib/gdm/gdm-simple-greeter If I run xvncviewer once, Xvnc queries gdm which successfully produces a login window in the xvncviewer session. The problem comes when I try to run a second session after having logged out or while the first session is still in progress. Theoretically, running multiple sessions would be ideal in case more than one user wants to login at the same time. Again, I'm not sure it's a gdm bug, but if gdm is restarted after a logout, a new login is possible. I thought that maybe someone knowledgeable could look into it in case it's easy to fix.
Is this the same issue as bug #606724? Note that bug has a patch. If you could test and verify that this patch fixes this issue, then that would help to determine if that patch is appropriate to go upstream.
It looks like it. Guessing, it could well be what causes this problem. Sadly, I don't know exactly how to test it. I've managed to build gdm in jhbuild, but I do not know what is required to get it to run. Also, the patch does not apply cleanly so it has to be dealt with manually. If there's anything I can do from here, just let me know. Some instructions might help me test the patch.
I was wrong about the patch. It does apply cleanly. And yes, this is somewhat related to bug #606724. I was able to test the patch and after a logout using Xvnc, another login is now possible. However, multiple logins using Xvnc/XDMCP are still not possible. Maybe the patch can be modified. I'll mark this a depending on bug #606724.
It looks more like a duplicate though it's not obvious at first. *** This bug has been marked as a duplicate of bug 606724 ***