[Bug 474103] New: xserver authorization issue with some clients
https://bugzilla.novell.com/show_bug.cgi?id=474103 Summary: xserver authorization issue with some clients Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: i586 OS/Version: openSUSE 11.1 Status: NEW Severity: Major Priority: P5 - None Component: GNOME AssignedTo: bnc-team-gnome@forge.provo.novell.com ReportedBy: sliwa@blue.cft.edu.pl QAContact: qa@suse.de Found By: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.9pre) Gecko/20071102 Firefox/2.0.0.9 Navigator/9.0.0.3 I see the xserver authorization setup has changed significantly in OpenSUSE 11.1. The problem with the current setup is that the cookie is written with "localhost" as the host name, which is incorrect. Some clients, like nxclient from Nomachine NX, use their own X11 libraries, which are incompatible with this setup: sliwa@sliwa:~> xauth -v list Using authority file /var/run/gdm/auth-for-sliwa-vesOxd/database localhost/unix:0 MIT-MAGIC-COOKIE-1 adda4409a67483b1a98d57d6e9771f44 sliwa@sliwa:~> nxclient Xlib: connection to ":0.0" refused by server Xlib: No protocol specified nxclient: cannot connect to X server :0.0 sliwa@sliwa:~> sh -x xauthOK.sh ++ xauth list localhost/unix:0 ++ sed -e s/localhost/sliwa/ + xauth add sliwa/unix:0 MIT-MAGIC-COOKIE-1 adda4409a67483b1a98d57d6e9771f44 sliwa@sliwa:~> nxclient Qt: Locales not supported on X server sliwa@sliwa:~> # now nxclient works sliwa@sliwa:~> ldd /usr/NX/bin/nxclient linux-gate.so.1 => (0xffffe000) libXext.so.6 => /usr/NX/lib/libXext.so.6 (0xb7f73000) libX11.so.6 => /usr/NX/lib/libX11.so.6 (0xb7e99000) libpthread.so.0 => /lib/libpthread.so.0 (0xb7e64000) libpng12.so.0 => /usr/NX/lib/libpng12.so.0 (0xb7e29000) libXrender.so.1 => /usr/NX/lib/libXrender.so.1 (0xb7e1f000) libXft.so.2 => /usr/NX/lib/libXft.so.2 (0xb7e0b000) libfreetype.so.6 => /usr/NX/lib/libfreetype.so.6 (0xb7d8c000) libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb7d5b000) libz.so.1 => /usr/NX/lib/libz.so.1 (0xb7d49000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7c55000) libm.so.6 => /lib/libm.so.6 (0xb7c2b000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7c1c000) libc.so.6 => /lib/libc.so.6 (0xb7ac0000) libdl.so.2 => /lib/libdl.so.2 (0xb7abb000) libXcomp.so.3 => /usr/NX/lib/libXcomp.so.3 (0xb79d3000) /lib/ld-linux.so.2 (0xb7f84000) libexpat.so.0 => /usr/NX/lib/libexpat.so.0 (0xb79aa000) libexpat.so.1 => /lib/libexpat.so.1 (0xb7982000) libjpeg.so.62 => /usr/NX/lib/libjpeg.so.62 (0xb7963000) sliwa@sliwa:~> rpm -qf /usr/NX/lib/libX11.so.6 nxnode-3.3.0-12 sliwa@sliwa:~> rpm -qa | grep ^nx nxnode-3.3.0-12 nxserver-3.3.0-15 nxclient-3.3.0-6 (if only nxclient is installed, such problem may not occur). Reproducible: Always Steps to Reproduce: 1. Install the free NX server from Nomachine. 2. Try to run nxclient on the local Xserver. 3. nxclient fails to connect to the local Xserver. Actual Results: nxclient fails to connect to the local Xserver. Expected Results: nxclient window is displayed. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=474103
User federico@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=474103#c1
Federico Mena Quintero
https://bugzilla.novell.com/show_bug.cgi?id=474103
User jpr@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=474103#c2
JP Rosevear
https://bugzilla.novell.com/show_bug.cgi?id=474103
User sndirsch@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=474103#c3
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=474103
User jpr@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=474103#c4
JP Rosevear
https://bugzilla.novell.com/show_bug.cgi?id=474103
User sndirsch@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=474103#c5
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=474103
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=474103
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=474103
User jpr@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=474103#c6
--- Comment #6 from JP Rosevear
https://bugzilla.novell.com/show_bug.cgi?id=474103
User eich@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=474103#c7
Egbert Eich
https://bugzilla.novell.com/show_bug.cgi?id=474103
User eich@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=474103#c8
--- Comment #8 from Egbert Eich
https://bugzilla.novell.com/show_bug.cgi?id=474103
User sliwa@blue.cft.edu.pl added comment
https://bugzilla.novell.com/show_bug.cgi?id=474103#c9
--- Comment #9 from Cezary Sliwa
https://bugzilla.novell.com/show_bug.cgi?id=474103
User mhopf@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=474103#c10
Matthias Hopf
https://bugzilla.novell.com/show_bug.cgi?id=474103
User jpr@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=474103#c11
--- Comment #11 from JP Rosevear
Same issue as bug 408125 - but that is SLE only.
Its actually SLED 10, and the gdm there is much older. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=474103
User sndirsch@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=474103#c12
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=474103
User mhopf@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=474103#c13
--- Comment #13 from Matthias Hopf
participants (1)
-
bugzilla_noreply@novell.com