Tim Fournet <[EMAIL PROTECTED]> writes:

>
> With Red Hat Linux, there's still no need to log into an X desktop as
> root. The GUI system configuration utilities will ask for the root
> password when you open them as a regular user. Or, you can always run
> them from a shell prompt after doing an 'su' or 'sudo'.

On systems and setups which do not allow you X access initially, (ie. knoppix) 
you can do 
something like this
$ sudo bash
# echo $DISPLAY
:0.0
(if it doesn't say :0.0, do 'export DISPLAY=":0.0"')
# xauth merge ~knoppix/.Xauthority
(assuming the username that "owns" the current X display is 
knoppix)
# xterm &

This is somewhat safer than xhost +


-- 
Scott Harney<[EMAIL PROTECTED]>
"...and one script to rule them all."
gpg key fingerprint=7125 0BD3 8EC4 08D7 321D CEE9 F024 7DA6 0BC7 94E5

Reply via email to