geek.de.nz
23rd June 2006, 09:21
I know, I can load X applications (X apps) as root with 'sudo xappname' and giving the password. But that takes too much time, every time I want to do something as root which involves the X server, I have to type the root password.
But in other distros I was used to logging in as root in a shell (konsole) and typing 'xappname' and it would be displayed on the X server of the current user. But in Ubuntu I get
Xlib: connection to ":0.0" refused by server
if I start gvim (my favorite editor) for example.
I haven't found this issue on the web yet.
Can anyone tell me, how to change the behoaviour of the X server of Ubuntu somehow, because root should really have every right shouldn't he? This is the only thing that keeps annoying me in Ubuntu.
But in other distros I was used to logging in as root in a shell (konsole) and typing 'xappname' and it would be displayed on the X server of the current user. But in Ubuntu I get
Xlib: connection to ":0.0" refused by server
if I start gvim (my favorite editor) for example.
I haven't found this issue on the web yet.
Can anyone tell me, how to change the behoaviour of the X server of Ubuntu somehow, because root should really have every right shouldn't he? This is the only thing that keeps annoying me in Ubuntu.