From owner-freebsd-questions@FreeBSD.ORG Mon Nov 8 16:25:55 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2354816A4CE for ; Mon, 8 Nov 2004 16:25:55 +0000 (GMT) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3FAB943D5D for ; Mon, 8 Nov 2004 16:25:54 +0000 (GMT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1])iA8GPmKH023365 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 8 Nov 2004 16:25:49 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)iA8GPlQA023350; Mon, 8 Nov 2004 16:25:47 GMT (envelope-from matthew) Date: Mon, 8 Nov 2004 16:25:47 +0000 From: Matthew Seaman To: "Scott I. Remick" Message-ID: <20041108162547.GB19817@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , "Scott I. Remick" , freebsd-questions@freebsd.org References: <20041108151516.56749.qmail@web53607.mail.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6sX45UoQRIJXqkqR" Content-Disposition: inline In-Reply-To: <20041108151516.56749.qmail@web53607.mail.yahoo.com> User-Agent: Mutt/1.4.2.1i X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.5.6 (smtp.infracaninophile.co.uk [IPv6:::1]); Mon, 08 Nov 2004 16:25:49 +0000 (GMT) X-Virus-Scanned: ClamAV 0.80/575/Sat Nov 6 01:03:53 2004 clamav-milter version 0.80j on smtp.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-0.8 required=5.0 tests=ALL_TRUSTED,RAZOR2_CHECK autolearn=ham version=3.0.1 X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on happy-idiot-talk.infracaninophile.co.uk cc: freebsd-questions@freebsd.org Subject: Re: Restarting vino remotely X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Nov 2004 16:25:55 -0000 --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--