On 9/16/06, Meino Christian Cramer <[EMAIL PROTECTED]> wrote:
Hi,before I emerge -e system/world my whole system I could allow root to open the X display by typing xhost +local:root ??? . This seems to not to work any longer. When starting ethereal/wireshark I get: Gtk-WARNING **: cannot open display: . I searched the gentoo wiki for matches to combinations of X11 root xhost and such but didnt find anything else than the xhost command as shown above. Is there any way to allow root to use the X display when a user has opened the session and su'ed to root ? Thank you very much for any help in advance !
I am able to (for example) open xterm as root by doing: sudo xterm -display :0.0 This tells xterm what xserver to run on (0.0 in my case) and also works outside of Xorg. Hope that helps. -- Neil Isaac [EMAIL PROTECTED] -- [email protected] mailing list

