From: "Neil Isaac" <[EMAIL PROTECTED]> Subject: Re: [gentoo-user] xhost +local:root ??? Date: Sat, 16 Sep 2006 14:16:43 +0000
> 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 > No, unfortunately not. Starting wireshark As normal user it works pretty well. But then the ethernet-card is not set to promiscous mode... As root it does not work. And it does not root when startet with sudo wireshark . Damn....! Any other ideas ? (I checked it with the option as mentioned above and with the xhost settings.) Keep hacking! mcc -- [email protected] mailing list

