Thursday, February 7, 2013

root with X access

Using Debian Squeeze and others older versions, the root cannot execute X programs from a x-console (like kde-konsole or gnome-terminal).

To allow this just edit your root's .baschrc and add this line

export XAUTHORITY=/home/$SOME_USER/.Xauthority

where  SOME_USER is replaced by a user with X access.

No comments:

Post a Comment