Restarting vino remotely

Matthew Seaman m.seaman at infracaninophile.co.uk
Mon Nov 8 08:25:55 PST 2004


On Mon, Nov 08, 2004 at 07:15:16AM -0800, Scott I. Remick wrote:
> So I had to restart my home box the other day then realized while away that
> I forgot to launch vino-session, so I am unable to VNC to my local desktop.
> 
> This seems to work me into a corner, as while I can still ssh into the
> computer, I cannot start vino-session from the remote ssh session because of
> DISPLAY issues. It insists on running from the local desktop.
> 
> I've been researching since yesterday and haven't found any suggestions that
> work. Some posts mention "xhost +localhost" but when I try that I get:
> 
> X connection to localhost:10.0 broken (explicit kill or server shutdown).

That means your ssh(1) session isn't doing X11 forwarding.  ssh has he
capability to pose as an X server, usually on localhost:10.0 and
transparently forwards all X session traffic over an encrypted tunnel
back to your desktop display, but only if you enable it.

> I've also tried setting the DISPLAY variable to localhost:0 and
> localhost:0.0 as well as using the --display= command line parameter of
> vino-session to no avail.

Don't do that.  First of all, as you've already discovered, it doesn't
work.  Secondly, you're telling X windows to display on the screen of
the remote machine, which won't be a whole lot of use to you.

Instead, read about the '-X' and '-Y' options in ssh(1) and the
equivalent 'ForwardX11' directive in ssh_config(5).

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20041108/d610dd7b/attachment-0001.bin


More information about the freebsd-questions mailing list