|
Bugzilla – Full Text Bug Listing |
| Summary: | X11 apps can not run as root over a user's session | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 11.1 | Reporter: | Carlos Robinson <carlos.e.r> |
| Component: | X11 Applications | Assignee: | Hans Petter Jansson <hpj> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P3 - Medium | CC: | dimstar, gp, kontakt, o.nicolas |
| Version: | Factory | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | SUSE Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Carlos Robinson
2008-10-26 18:58:01 UTC
Use "su" instead of "su -", and it should work. At least, it does for me. this would most likely be a dup of #428118 (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. then bug #437296 is also related. there was a gdm patch post b3, which supposedly fixes it (it did not for me). factory update fixed this issue on my side now. What about you Carlos? (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 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:~ # 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 Works fine for me - perhaps some GNOME problem? Stefan, any ideas? Yes, Gnome problem. Strange. I can't use sudo for X apps, although I modified sudoers on my own to make it keep some environment's vars. Carlos, I was wondering if you actually see this in GM of 11.1. I did not read / see any reports and as such I believe this was solved (I could not reproduce it on my 11.1 box... the two others have been long on Factory again). Do you have the option to test it? (In reply to comment #12) > Carlos, I was wondering if you actually see this in GM of 11.1. I did not read > / see any reports and as such I believe this was solved (I could not reproduce > it on my 11.1 box... the two others have been long on Factory again). > > Do you have the option to test it? Er... not at the moment, no free time. I'm using 11.0 due to s2disk not powering off the computer (reported, not solved). Perhaps next week I'll be able to try (postit written). I'm fairly certain this bug was fixed a long time ago. I tested "yast --qt" under "su", "su -" and "sudo" on both 11.2 and pre-11.4. All of them work, but for sudo you need to specifically set the DISPLAY variable, e.g. "sudo DISPLAY=$DISPLAY /sbin/yast --qt". Closing as fixed - please reopen if the problem persists for you on newer versions of openSUSE. |