1 |
On 9/16/06, Meino Christian Cramer <Meino.Cramer@×××.de> wrote: |
2 |
> Hi, |
3 |
> |
4 |
> before I |
5 |
> |
6 |
> emerge -e system/world |
7 |
> |
8 |
> my whole system I could allow root to open the X display by typing |
9 |
> |
10 |
> xhost +local:root ??? |
11 |
> |
12 |
> . This seems to not to work any longer. |
13 |
> |
14 |
> When starting ethereal/wireshark I get: |
15 |
> |
16 |
> Gtk-WARNING **: cannot open display: |
17 |
> |
18 |
> . |
19 |
> |
20 |
> I searched the gentoo wiki for matches to combinations of |
21 |
> |
22 |
> X11 root xhost |
23 |
> |
24 |
> and such but didnt find anything else than the xhost command as shown |
25 |
> above. |
26 |
> |
27 |
> Is there any way to allow root to use the X display when a user has |
28 |
> opened the session and su'ed to root ? |
29 |
> |
30 |
> Thank you very much for any help in advance ! |
31 |
|
32 |
I am able to (for example) open xterm as root by doing: |
33 |
sudo xterm -display :0.0 |
34 |
|
35 |
This tells xterm what xserver to run on (0.0 in my case) and also |
36 |
works outside of Xorg. |
37 |
Hope that helps. |
38 |
|
39 |
-- |
40 |
Neil Isaac |
41 |
isaac.neil@×××××.com |
42 |
-- |
43 |
gentoo-user@g.o mailing list |