xhost +localhost

Chris Hodgins chodgins at cis.strath.ac.uk
Wed Feb 2 16:43:25 PST 2005

Gert Cuykens wrote:
>>I assume this refers to the root window.  Surely you're not logged
>>into X as root.
> no i am just logged as a user into X and my user name is the same as
> root :) Lets call it the user root window.
>>Try this:
>>check your DISPLAY environment variable with
>>echo $DISPLAY
>>make sure it's ':0.0' or something similar, like <hostname>:0.0, then
>>run this:
>>/usr/X11R6/bin/xscreensaver -display $DISPLAY &
>>That should do what you're trying to do.
> I# /usr/X11R6/bin/xscreensaver -display $DISPLAY
> xscreensaver: 01:02:41: locking is disabled (running as nobody).
> xscreensaver: 01:02:41: locking only works when xscreensaver is launched
>          by a normal, non-privileged user (e.g., not "root".)
>          See the manual for details.
> man the xscreensaver thingie isnt kidding about it...
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"

Don't want to be rude but do you have a specific reason for running 
xscreensaver as root?


More information about the freebsd-questions mailing list