Date: Mon, 8 Nov 2004 16:25:47 +0000 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: "Scott I. Remick" <scott@sremick.net> Cc: freebsd-questions@freebsd.org Subject: Re: Restarting vino remotely Message-ID: <20041108162547.GB19817@happy-idiot-talk.infracaninophile.co.uk> In-Reply-To: <20041108151516.56749.qmail@web53607.mail.yahoo.com> References: <20041108151516.56749.qmail@web53607.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--6sX45UoQRIJXqkqR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 th= at > I forgot to launch vino-session, so I am unable to VNC to my local deskto= p. >=20 > 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. >=20 > I've been researching since yesterday and haven't found any suggestions t= hat > work. Some posts mention "xhost +localhost" but when I try that I get: >=20 > 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=3D 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 --=20 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 --6sX45UoQRIJXqkqR Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBj54LiD657aJF7eIRAgy1AJ9fICbYUUNBCSzwMZ0aBLI+nC0e5ACgg4QB rMCRlyf42lxnBPEKo/5UAq8= =UDon -----END PGP SIGNATURE----- --6sX45UoQRIJXqkqR--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041108162547.GB19817>