Gentoo Archives: gentoo-user

From: Wonko@wonkology.org (Alex Schuster)
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] xhost +local:root ???
Date: Sat, 16 Sep 2006 19:07:53
Message-Id: A0xQlan9d8B@wonkology.org
In Reply to: [gentoo-user] xhost +local:root ??? by Meino Christian Cramer
1 Meino writes:
2
3 > my whole system I could allow root to open the X display by typing
4
5 > xhost +local:root ???
6
7 > . This seems to not to work any longer.
8
9 [...]
10
11 > Is there any way to allow root to use the X display when a user has
12 > opened the session and su'ed to root ?
13
14 On my system I can simply su and all is fine. But if a am logged in
15 from remote via SSH I get the same problem when I su. "ssh -X
16 root@localhost" should work, but I guess you just need to emerge sux
17 and use it instead of su.
18
19 However, this works only if your user has X access and then becomes
20 root - when opening a root shell in a text console, it does not work.
21 In this case, your first solution seems to work fine for me.
22
23 Alex
24 --
25 gentoo-user@g.o mailing list