After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 610264 - gdm allows only one run with xvncviewer
gdm allows only one run with xvncviewer
Status: RESOLVED DUPLICATE of bug 606724
Product: gdm
Classification: Core
Component: general
2.29.x
Other Linux
: Normal normal
: ---
Assigned To: GDM maintainers
GDM maintainers
Depends on:
Blocks:
 
 
Reported: 2010-02-17 14:33 UTC by José Alburquerque
Modified: 2010-02-18 19:41 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
The xinetd config file for Xvnc (361 bytes, application/octet-stream)
2010-02-17 14:33 UTC, José Alburquerque
Details

Description José Alburquerque 2010-02-17 14:33:40 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.
Comment 1 Brian Cameron 2010-02-17 19:00:43 UTC
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.
Comment 2 José Alburquerque 2010-02-18 04:45:42 UTC
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.
Comment 3 José Alburquerque 2010-02-18 19:06:32 UTC
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.
Comment 4 José Alburquerque 2010-02-18 19:41:00 UTC
It looks more like a duplicate though it's not obvious at first.

*** This bug has been marked as a duplicate of bug 606724 ***