Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Feb 2005 23:20:28 +0000
From:      Chris Hodgins <chodgins@cis.strath.ac.uk>
To:        Gert Cuykens <gert.cuykens@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: xhost +localhost
Message-ID:  <4201603C.8040503@cis.strath.ac.uk>
In-Reply-To: <ef60af09050202143655b26622@mail.gmail.com>
References:  <ef60af09050202095829be3b6f@mail.gmail.com> <20050202210526.GC77499@keyslapper.net> <42014E0A.5070003@mac.com> <20050202221851.GE77499@keyslapper.net> <ef60af09050202143655b26622@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Gert Cuykens wrote:
> I# xhost local:
> non-network local connections being added to access control list
> I#
> 
> ok that seems to work a bit better meaning i dont get the message "can
> not start screen saver deamon bl bla bla....." Instead i get a message
> in my log that locking is not enabled ?
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
> 

When I configure xscreensaver I use the xscreensaver-demo command.  This 
allows you to set everything up for that user and start and stop the 
xscreensaver daemon.  You run this as the local user.

There is a way to cheat xhosting as root if you are not running 
remotely.  If you simply use "su" instead of "su -" it should keep all 
the environment including the DISPLAY setup correctly.  This seems to 
work well for me.

Generally I do this to xhost from root to my user display.

$ xhost local:
$ su -
Password:

# bash
# export DISPLAY=:0
# gcalctool

HTH
Chris



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4201603C.8040503>