Oops! (Re: Repair Grub Files?)
Peter Garrett
peter.garrett at optusnet.com.au
Mon Jun 4 01:15:15 UTC 2007
On Sun, 3 Jun 2007 11:37:45 -0400
Bruce Marshall <bmarsh at bmarsh.com> wrote:
> On Sunday 03 June 2007, Derek Broughton wrote:
> > I get the same using "xhost" or "sudo xhost" but "sudo -i" and "sudo su"
> > don't work:
>
> Try xhost +
>
> When I want to su to root in a Konsole session, I use this script:
>
>
> #!/bin/sh
> xhost +
> su
>
Yes, of course this will work - what is puzzling is the fact that on
Feisty, starting kate or indeed any X app from a root shell in a user's
session appears *not* to fail, regardless of "xhost"
The puzzlement is increased by the fact that Derek sees the expected
behaviour
" root at othello:~# xhost
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
xhost: unable to open display ":0" "
I don't - and as far as I know I have not tweaked this at all .
Peter
More information about the ubuntu-users
mailing list