xhost +localhost

Gert Cuykens gert.cuykens at gmail.com
Wed Feb 2 16:10:02 PST 2005


> 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.
> 
> Lou
> --

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...


More information about the freebsd-questions mailing list