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.
Always mention at least your distribution/version! You can add it in your signature if you don't want to always type it. ;-)
Ubuntu 5.10 with custom kernel (2.6.16-suspend2),
Debian Sarge 3.1 and Etch
Please submit your ISP or Webhost to (free)