You are not logged in.
Pages: 1
when ever i need to run a program as root i keep getting this error.
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
im using fglrx drivers i also tried to add root to the video group in /etc/group
Offline
xhost +
but there is a not so temporary solution too, but i forgot it...
Offline
well i just tried xhost +root and its still giving me the same issue. i ran xhost as my regular user.
Offline
o, ok i just ran xhost + and its now working. but now how can we get it where root wont come across this problem again. i mean its root how can it be denied?
Offline
Because it is dangerous to run X as root ?
Both KDE and Gnome have options to run ONE PROGRAM as root.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
You can use kdesu or gtksu from a terminal, like this:
kdesu konqueror
Offline
or vanilla sudo konqueror (or rather: sudo krusader :-)
I don't know what extra advantages (kde|gtk)su have over sudo, but one major advantage for me with sudo is that the app opens with my own settings and keyboard shortcuts, and not the crappy defaults which, since I haven't bothered to change them in the root account, are still there.
Gawd, it's not that KDE can't be nice on the eyes, but they sure manage to give that impression with their defaults... It's like they're standing on their chairs, shouting: "We're not Gnome, We're not Gnome!"
Offline
Eyolf [sorry, OT]: Kdesu has a gui to enter your password. So you can create menu entries and do not need to use the command line to run programs as root.
Offline
That's true... Hm, I never thought of
do not need to use the command line
as an advantage :-)
Offline
Pages: 1