Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

xhost



dsr at tao.merseine.nu wrote:
> On Sun, Dec 10, 2006 at 02:40:24PM -0500, Stephen Adler wrote:
>> I want to tighten up my X11 setup by using xhost. I know its not a very 
>> good method to
>> deal with the security issues related to X11, but I want to do something.
> 
> Do something even better, then: use ssh.
> 
> ssh -X hostname
> 
> will start a remote shell session on hostname with X credentials
> set up. "xterm &" should be displayed on your current X screen.

I'll second that.  Don't ever bother trying to set up xhost stuff.  ssh can do
everything for you, more securely than X's native protocols, and it should
"just work".  Of course, sometimes it doesn't, in which case you should check
your server's /etc/ssh/sshd_config and make sure there's a line in there like:
 X11Forwarding yes

Matt

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.





BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org