[Bug 623458] New: LXDM does not honor DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN
http://bugzilla.novell.com/show_bug.cgi?id=623458 http://bugzilla.novell.com/show_bug.cgi?id=623458#c0 Summary: LXDM does not honor DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN Classification: openSUSE Product: openSUSE 11.3 Version: Final Platform: x86-64 OS/Version: openSUSE 11.3 Status: NEW Severity: Normal Priority: P5 - None Component: LXDE AssignedTo: andrea@opensuse.org ReportedBy: Soulstealer@abv.bg QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6 ( .NET CLR 3.5.30729) Regardless of DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN's value LXDM always starts X with -nolisten tcp making remote logins impossible. Maybe LXDM doesn't use /etc/X11/xinit/xserverrc and executes "X" on it's own assuming "-nolisten tcp" is what the user always wants. Switching to any other display manager e.g. xdm fixes the problem. Reproducible: Always Steps to Reproduce: 1. Set DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN to "yes" 2. reboot 3. try a remote login (will be unsuccessful) 4. issue "ps ax" and see this: "1489 tty7 Ss+ 0:00 /usr/bin/X vt7 -nolisten tcp" Actual Results: The actual result is the user being unable to remotely login via XDMCP Expected Results: The expected result is the user being able to remotely login via XDMCP -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=623458 http://bugzilla.novell.com/show_bug.cgi?id=623458#c1 andrea florio <andrea@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #1 from andrea florio <andrea@opensuse.org> 2010-07-19 14:39:12 UTC --- looks the problem is into hardcoded commands, assigned to me -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=623458 http://bugzilla.novell.com/show_bug.cgi?id=623458#c2 andrea florio <andrea@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |Soulstealer@abv.bg --- Comment #2 from andrea florio <andrea@opensuse.org> 2010-07-19 14:49:06 UTC --- could you try a small edit into Xsession is enought to fix it? please edit /etc/lxdm/Xsession and add the line test -x /etc/X11/xinit/xserverrc && exec -l $SHELL -c /etc/X11/xinit/xserverrc just after test -x /etc/X11/xinit/xinitrc && exec -l $SHELL -c /etc/X11/xinit/xinitrc i do not believe it would be enought, but i need that try as well -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=623458 http://bugzilla.novell.com/show_bug.cgi?id=623458#c3 --- Comment #3 from Mario Pavlov <Soulstealer@abv.bg> 2010-07-19 14:51:38 UTC --- Sure, no problem. But I just got back from work. I'll be able to do that tomorrow morning. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=623458 http://bugzilla.novell.com/show_bug.cgi?id=623458#c4 Mario Pavlov <Soulstealer@abv.bg> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|Soulstealer@abv.bg | --- Comment #4 from Mario Pavlov <Soulstealer@abv.bg> 2010-07-20 06:59:23 UTC --- I've added this line: $ diff -u Xsession.orig Xsession --- Xsession.orig 2010-07-05 17:58:30.000000000 +0300 +++ Xsession 2010-07-20 09:40:17.881305190 +0300 @@ -11,6 +11,7 @@ export WINDOWMANAGER=$LXSESSION test -x /etc/X11/xdm/Xsession && exec /etc/X11/xdm/Xsession "${LXSESSION}" test -x /etc/X11/xinit/xinitrc && exec -l $SHELL -c /etc/X11/xinit/xinitrc +test -x /etc/X11/xinit/xserverrc && exec -l $SHELL -c /etc/X11/xinit/xserverrc # unknown, user should custom /etc/lxdm/xinitrc self test -s /etc/lxdm/xinitrc && . /etc/lxdm/xinitrc but it didn't help, the result was the same. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=623458 http://bugzilla.novell.com/show_bug.cgi?id=623458#c5 andrea florio <andrea@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |CLOSED Resolution| |UPSTREAM --- Comment #5 from andrea florio <andrea@opensuse.org> 2010-07-20 10:57:57 UTC --- lxdm do not support it closed as upstream: http://sourceforge.net/tracker/?func=detail&aid=3032035&group_id=180858&atid=894872 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=623458 http://bugzilla.novell.com/show_bug.cgi?id=623458#c6 andrea florio <andrea@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |REOPENED Resolution|UPSTREAM | --- Comment #6 from andrea florio <andrea@opensuse.org> 2010-07-20 23:08:36 UTC --- looks we have some good news: http://lxde.git.sourceforge.net/git/gitweb.cgi?p=lxde/lxdm;a=commitdiff;h=b0... i will package new lxdm git version tomorrow and i'll ask to test it. REOPEN the bug, in the hope to be able to backport that change -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=623458 http://bugzilla.novell.com/show_bug.cgi?id=623458#c7 andrea florio <andrea@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO InfoProvider| |Soulstealer@abv.bg --- Comment #7 from andrea florio <andrea@opensuse.org> 2010-07-21 07:28:20 UTC --- ok.. lxdm DO NOT respect yet DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN but now it should allow you to start a remote session. please test new lxdm package from here: https://build.opensuse.org/package/binaries?package=lxdm&project=home:anubisg1:branches:X11:lxde&repository=openSUSE_11.3 according to your arch. to enable remote login, edit /etc/lxdm/lxdm.conf and set tcp_listen=0 (you should find #tcp_listen=1, so uncomment and set it to 0) -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=623458 http://bugzilla.novell.com/show_bug.cgi?id=623458#c8 --- Comment #8 from andrea florio <andrea@opensuse.org> 2010-07-21 07:29:23 UTC --- if it works, i'll patch to make it respect system wide DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=623458 http://bugzilla.novell.com/show_bug.cgi?id=623458#c9 --- Comment #9 from andrea florio <andrea@opensuse.org> 2010-07-21 07:50:18 UTC --- sorry for spamming, i did a mistake. tcp_listen MUST be =1 not =0 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=623458 http://bugzilla.novell.com/show_bug.cgi?id=623458#c10 Mario Pavlov <Soulstealer@abv.bg> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |REOPENED InfoProvider|Soulstealer@abv.bg | --- Comment #10 from Mario Pavlov <Soulstealer@abv.bg> 2010-07-21 08:41:36 UTC --- either I did not upgrade properly or it doesn't work... I did this: # rpm -U lxdm-0.2.0-75.1.x86_64.rpm warning: lxdm-0.2.0-75.1.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID e558cb38: NOKEY and then I couldn't find tcp_listen in the config file so I just added it under the [server] section ... but LXDM still starts X with -nolisten tcp I guess the upgrade was successful as the files have this modification date: Jul 21 10:12 ... however lxdm.conf had modification date earlier than Jul 21 10:12 ... I don't remember the exact date as I already edited the file... -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=623458 http://bugzilla.novell.com/show_bug.cgi?id=623458#c11 andrea florio <andrea@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO InfoProvider| |Soulstealer@abv.bg --- Comment #11 from andrea florio <andrea@opensuse.org> 2010-07-21 09:03:42 UTC --- check if /etc/lxdm/lxdm.conf.rpmnew exist, if so, rename it as /etc/lxdm/lxdm.conf to check if the proper lxdm version is installed, run this command rpm -qi --changelog lxdm you should find - added lxdm-0.2.0-support-remote-login.patch to fix bnc#623458 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=623458 http://bugzilla.novell.com/show_bug.cgi?id=623458#c12 Mario Pavlov <Soulstealer@abv.bg> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |REOPENED InfoProvider|Soulstealer@abv.bg | --- Comment #12 from Mario Pavlov <Soulstealer@abv.bg> 2010-07-21 10:01:36 UTC --- here's how it looks: $ ls /etc/lxdm/lxdm.conf.rpmnew ls: cannot access /etc/lxdm/lxdm.conf.rpmnew: No such file or directory # rpm -qi --changelog lxdm Name : lxdm Relocations: (not relocatable) Version : 0.2.0 Vendor: : openSUSE-LXDE Release : 75.1 Build Date: Wed Jul 21 10:12:50 2010 Install Date: Wed Jul 21 11:09:04 2010 Build Host: build33 Group : System/GUI/LXDE Source RPM: lxdm-0.2.0-75.1.src.rpm Size : 229791 License: GPLv2 and LGPLv2 Signature : DSA/SHA1, Wed Jul 21 10:13:02 2010, Key ID 3745a3b1e558cb38 URL : http://lxde.org/ Summary : LXDE Display Manager Description : LXDM is the future display manager of LXDE, the Lightweight X11 Desktop environment. It is designed as a lightweight alternative to replace GDM or KDM in LXDE distros. Distribution: home:anubisg1:branches:X11:lxde / openSUSE_11.3 * Wed Jul 21 2010 andrea@opensuse.org - added lxdm-0.2.0-support-remote-login.patch to fix bnc#623458 .. .. .. looks like the upgrade has been successful... -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=623458 http://bugzilla.novell.com/show_bug.cgi?id=623458#c13 --- Comment #13 from andrea florio <andrea@opensuse.org> 2010-07-21 10:21:04 UTC --- ok than, just add tcp_listen=1 into [server] section of /etc/lxdm/lxdm.conf , you will have: [server] # arg=/usr/bin/X -nr vt1 tcp_listen=1 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=623458 http://bugzilla.novell.com/show_bug.cgi?id=623458#c14 --- Comment #14 from Mario Pavlov <Soulstealer@abv.bg> 2010-07-21 11:46:22 UTC --- yes, I already did that:
and then I couldn't find tcp_listen in the config file so I just added it under the [server] section ... but LXDM still starts X with -nolisten tcp
-- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=623458 http://bugzilla.novell.com/show_bug.cgi?id=623458#c15 andrea florio <andrea@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO InfoProvider| |Soulstealer@abv.bg --- Comment #15 from andrea florio <andrea@opensuse.org> 2010-07-26 11:20:25 UTC --- ok, i improved the patch and pushed on X11:lxde repo. before upgrade, please "rm -rf /etc/lxdm" so we are sure you load the default setting, than please, try again. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=623458 http://bugzilla.novell.com/show_bug.cgi?id=623458#c16 Mario Pavlov <Soulstealer@abv.bg> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |REOPENED InfoProvider|Soulstealer@abv.bg | --- Comment #16 from Mario Pavlov <Soulstealer@abv.bg> 2010-07-26 14:11:28 UTC --- I've followed your instructions and now LXDM starts the server like that: /usr/bin/X :0 vt07 as you can see the "-nolisten tcp" option is gone...however I still can't connect via XDMCP although netstat reports port 6000 as open... perhaps this command line is somehow wrong... when I switch to XDM the command line looks like this: /usr/bin/X -br vt7 -auth /var/lib/xdm/authdir/authfiles/A:0-PfTjbI here the displany number (:0) is missing, the virtual terminal argument is different vt7/vt07 (but this shouldn't be a problem) and an authorization file is specified (which might be worth considering) and I'm able to connect via XDMCP, no problem... what do you think? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=623458 http://bugzilla.novell.com/show_bug.cgi?id=623458#c17 andrea florio <andrea@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO InfoProvider| |werner@novell.com --- Comment #17 from andrea florio <andrea@opensuse.org> 2010-07-27 07:31:24 UTC --- Werner, i am not an expert in X, could you help here please? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=623458 http://bugzilla.novell.com/show_bug.cgi?id=623458#c18 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |REOPENED CC| |werner@novell.com InfoProvider|werner@novell.com | --- Comment #18 from Dr. Werner Fink <werner@novell.com> 2010-07-27 08:35:20 UTC --- The default display is :0 and for a connection the cookie is required otherwise the X server will reject any attempt to connect. To compare a cookie with XDMCP still a authorization file is required like done by the xdm. No idea if lxdm supports this. As `l' stands for light I guess no. If so the bug is INVALID ... IMHO. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=623458 http://bugzilla.novell.com/show_bug.cgi?id=623458#c19 andrea florio <andrea@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |CLOSED Resolution| |INVALID --- Comment #19 from andrea florio <andrea@opensuse.org> 2010-07-27 09:01:56 UTC --- Thank you Werner... version 0.2.0 do not support such things, and even actual GIT code do not properly work, so i agree with werner... i'm sorry Mario, i'll forward those informations upstream -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=623458 https://bugzilla.novell.com/show_bug.cgi?id=623458#c20 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |holgi@novell.com --- Comment #20 from Stefan Dirsch <sndirsch@novell.com> 2010-11-03 19:16:45 UTC --- *** Bug 651006 has been marked as a duplicate of this bug. *** http://bugzilla.novell.com/show_bug.cgi?id=651006 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com