[Bug 439074] New: X11 apps can not run as root over a user's session
https://bugzilla.novell.com/show_bug.cgi?id=439074 Summary: X11 apps can not run as root over a user's session Product: openSUSE 11.1 Version: Factory Platform: Other OS/Version: SuSE Other Status: NEW Severity: Normal Priority: P5 - None Component: X11 Applications AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: robin.listas@telefonica.net QAContact: sndirsch@novell.com Found By: --- OS: 11.1 Beta 3 - not in the list *Warning*: This NOT Bug 437411 (why: read to the end) Description (tested in Gnome): Log in. Do "su -". Try to run a test mode app, see that it works. Now try a graphical tool: doesn't run. Examples: "yast --qt" runs in ncurses mode. gconf-editor or gedit do not run: (gedit:5290): Gtk-WARNING **: cannot open display: minas-morgul:~ # gconf-editor Cannot open display: Run 'gconf-editor --help' to see a full list of available command line options. -------- trying sux cer@minas-morgul:~> xhost +localhost localhost being added to access control list cer@minas-morgul:~> sux - Password: minas-morgul:~ # gconf-editor Cannot open display: Run 'gconf-editor --help' to see a full list of available command line options. ------- using xhost and su - cer@minas-morgul:~> xhost +localhost localhost being added to access control list cer@minas-morgul:~> set | grep DISPLAY DISPLAY=:0.0 cer@minas-morgul:~> su - Password: minas-morgul:~ # set | grep DISPLAY minas-morgul:~ # export DISPLAY=:0.0 minas-morgul:~ # gconf-editor Invalid MIT-MAGIC-COOKIE-1 keyCannot open display: Run 'gconf-editor --help' to see a full list of available command line options. minas-morgul:~ # set | grep DISPLAY DISPLAY=:0.0 minas-morgul:~ # ------- Via ssh cer@minas-morgul:~> ssh -X root@localhost The authenticity of host 'localhost (::1)' can't be established. RSA key fingerprint is 44:3e:9c:f0:65:63:34:5c:52:73:97:f0:b9:31:3c:ae. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added 'localhost' (RSA) to the list of known hosts. Password: Warning: No xauth data; using fake authentication data for X11 forwarding. Last login: Sat Oct 25 17:05:31 2008 from console Have a lot of fun... minas-morgul:~ # gconf-editor Invalid MIT-MAGIC-COOKIE-1 keyCannot open display: Run 'gconf-editor --help' to see a full list of available command line options. minas-morgul:~ # set | grep DISPLAY DISPLAY=localhost:10.0 minas-morgul:~ # This NOT Bug 437411 because I have no pam_fp in in any pam.d/* file. More symptoms: There are no text mode consoles. Updates are not available via YOU. -- 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=439074 User gp@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=439074#c1 Gerald Pfeifer <gp@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gp@novell.com --- Comment #1 from Gerald Pfeifer <gp@novell.com> 2008-10-27 05:22:49 MDT --- Use "su" instead of "su -", and it should work. At least, it does for me. -- 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=439074 User dominique.leuenberger@tmf-group.com added comment https://bugzilla.novell.com/show_bug.cgi?id=439074#c2 Dominique Leuenberger <dominique.leuenberger@tmf-group.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dominique.leuenberger@tmf-group.com --- Comment #2 from Dominique Leuenberger <dominique.leuenberger@tmf-group.com> 2008-10-27 06:22:48 MDT --- this would most likely be a dup of #428118 -- 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=439074 User robin.listas@telefonica.net added comment https://bugzilla.novell.com/show_bug.cgi?id=439074#c3 --- Comment #3 from Carlos Robinson <robin.listas@telefonica.net> 2008-10-27 06:36:44 MDT --- (In reply to comment #2 from Dominique Leuenberger)
this would most likely be a dup of #428118
Certainly it looks so; however, Bug 428118 is closed as resolved, and as Beta3 has the same problem, it is not solved. -- 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=439074 User dominique.leuenberger@tmf-group.com added comment https://bugzilla.novell.com/show_bug.cgi?id=439074#c4 --- Comment #4 from Dominique Leuenberger <dominique.leuenberger@tmf-group.com> 2008-10-27 07:00:18 MDT --- then bug #437296 is also related. there was a gdm patch post b3, which supposedly fixes it (it did not for me). -- 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=439074 User dominique.leuenberger@tmf-group.com added comment https://bugzilla.novell.com/show_bug.cgi?id=439074#c5 --- Comment #5 from Dominique Leuenberger <dominique.leuenberger@tmf-group.com> 2008-10-30 06:29:49 MDT --- factory update fixed this issue on my side now. What about you Carlos? -- 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=439074 User robin.listas@telefonica.net added comment https://bugzilla.novell.com/show_bug.cgi?id=439074#c6 --- Comment #6 from Carlos Robinson <robin.listas@telefonica.net> 2008-10-30 08:40:12 MDT --- (In reply to comment #5 from Dominique Leuenberger)
factory update fixed this issue on my side now.
What about you Carlos?
Sorry, I can not run any tests, because "zypper dup" has been having problems all week :-( See factory list... My last status is comment 30 to bug #437296 -- 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=439074 User robin.listas@telefonica.net added comment https://bugzilla.novell.com/show_bug.cgi?id=439074#c7 --- Comment #7 from Carlos Robinson <robin.listas@telefonica.net> 2008-11-01 07:23:20 MDT --- Ok, now I have: cer@minas-morgul:~> cat /etc/SuSE-release openSUSE 11.1 Beta 4 (i586) VERSION = 11.1 cer@minas-morgul:~> cat /etc/SuSE-brand openSUSE VERSION = 11.0 cer@minas-morgul:~> l /etc/SuSE-* -rw-r--r-- 1 root root 24 2008-10-24 02:02 /etc/SuSE-brand -rw-r--r-- 1 root root 43 2008-10-30 16:00 /etc/SuSE-release I doubt I have beta4, because dup finished under an hour, a moment ago, but... Ok. I do have text consoles back. Not Ok, I still can not run apps as root under gnome: minas-morgul:~ # yast2 No protocol specified (y2controlcenter-gnome:4929): Gtk-WARNING **: cannot open display: :0.0 minas-morgul:~ # gedit No protocol specified (gedit:4931): Gtk-WARNING **: cannot open display: :0.0 minas-morgul:~ # -- 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=439074 User o.nicolas@skynet.be added comment https://bugzilla.novell.com/show_bug.cgi?id=439074#c8 Olivier Nicolas <o.nicolas@skynet.be> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |o.nicolas@skynet.be --- Comment #8 from Olivier Nicolas <o.nicolas@skynet.be> 2008-11-05 15:12:06 MST --- cat /etc/SuSE-release openSUSE 11.1 Beta 4 (x86_64) VERSION = 11.1 test@am2:~> xauth -v list Using authority file /var/run/gdm/auth-for-test-N9k5TU/database localhost/unix:0 MIT-MAGIC-COOKIE-1 43b23451e4a1bedf4a3d3fb1c068743c test@am2:~> su - Password: am2:~ # echo $DISPLAY :0.0 am2:~ # xauth -v list Using authority file /root/.xauthXwzNeK localhost/unix:0 MIT-MAGIC-COOKIE-1 43b23451e4a1bedf4a3d3fb1c068743c am2:~ # gedit No protocol specified (gedit:11701): Gtk-WARNING **: cannot open display: :0.0 -- 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=439074 User aj@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=439074#c9 Andreas Jaeger <aj@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sndirsch@novell.com AssignedTo|bnc-team-screening@forge.provo.novell.com |bnc-team-gnome@forge.provo.novell.com --- Comment #9 from Andreas Jaeger <aj@novell.com> 2008-11-10 10:59:32 MST --- Works fine for me - perhaps some GNOME problem? Stefan, any ideas? -- 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=439074 User sndirsch@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=439074#c10 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|sndirsch@novell.com | --- Comment #10 from Stefan Dirsch <sndirsch@novell.com> 2008-11-10 11:04:25 MST --- Yes, Gnome problem. -- 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=439074 Rodrigo Moya <rodrigo@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rodrigo@novell.com AssignedTo|bnc-team-gnome@forge.provo.novell.com |hpj@novell.com Priority|P5 - None |P3 - Medium -- 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=439074 User jakub.rusinek@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=439074#c11 Jakub Rusinek <jakub.rusinek@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub.rusinek@gmail.com --- Comment #11 from Jakub Rusinek <jakub.rusinek@gmail.com> 2008-12-21 04:58:58 MST --- Strange. I can't use sudo for X apps, although I modified sudoers on my own to make it keep some environment's vars. -- 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=439074 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- QAContact|sndirsch@novell.com |qa@suse.de -- 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