From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1OM8Ka-0007ju-Pg for garchives@archives.gentoo.org; Tue, 08 Jun 2010 23:35:41 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2EC49E0837; Tue, 8 Jun 2010 23:34:44 +0000 (UTC) Received: from mail-px0-f181.google.com (mail-px0-f181.google.com [209.85.212.181]) by pigeon.gentoo.org (Postfix) with ESMTP id F1C63E0837 for ; Tue, 8 Jun 2010 23:34:43 +0000 (UTC) Received: by pxi4 with SMTP id 4so1871188pxi.40 for ; Tue, 08 Jun 2010 16:34:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=tWww5jOH/sR6u1JReXUOAWFMe1k1BMj9BdUKPD22U4I=; b=b/CT3O6Xqz+AdabW9/yb2kgfOwGONFP+IPmv8Zqtd538s+kGybG7wDT5ANfv2QooaC FectBN1wYIYFle0EmgpZQDhT+YLj7/ThqRzY9T6XXaaIedggg6dPJhj6Wyr0RpHghwlQ mDlXKVBO7lGuH35pRiEOEZw74oX2AQwJv2+t8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=MJ2FwXbSUHScHQoKu8nNU2U+TqlVK70wNnCoWnWhwNbKaIOGJ6F2uB1mva7O7UV48d jnZhS99hZu4FAsNEPnyMQ/szZ8paW9dNw4WxT2ZJkRcX6U8z5s5BPASuJ5Cqx8PEDcFb M6H8SAseBwZ7WvYw43dXUok29+TdFeeUQNHgY= Received: by 10.143.154.8 with SMTP id g8mr1589139wfo.104.1276040083406; Tue, 08 Jun 2010 16:34:43 -0700 (PDT) Received: from [192.168.0.114] ([59.154.26.81]) by mx.google.com with ESMTPS id c1sm56290938wam.7.2010.06.08.16.34.41 (version=SSLv3 cipher=RC4-MD5); Tue, 08 Jun 2010 16:34:42 -0700 (PDT) Message-ID: <4C0ED401.1060103@gmail.com> Date: Wed, 09 Jun 2010 09:36:33 +1000 From: Jake Moe User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100415 Thunderbird/3.0.4 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Remotely working on Gentoo systems References: <4C0D8B7F.2050308@gmail.com> <201006080848.33454.joost@antarean.org> In-Reply-To: <201006080848.33454.joost@antarean.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 859451e1-764c-4002-b1b9-67940ea635d7 X-Archives-Hash: 39ca9dda48e92064392e091de90919af On 08/06/10 16:48, J. Roeleveld wrote: > On Tuesday 08 June 2010 02:14:55 Jake Moe wrote: > >> I've got two Gentoo boxes, and would like to run X apps from both on one >> display. From reading up on it, it appears that while this is possible, >> it's also not recommended from a security standpoint, and the few HOWTOs >> I've found for it seem to be 4-6 years old. Can anyone tell me: >> > Security: Yes, it is not recommended, however, if you trust everyone who can > connect to your network, then it is safe enough. > > >> a) if this is a good idea in the first place, >> > Depends on what you want to achieve. If you have only one screen and/or one > machine with a decent graphics card then it does make sense. > However, X is a very inefficient protocol. Eg. it can clog the network. > > >> b) should I be looking at VNC instead of remote X, >> > Maybe, but VNC puts the remote screen in a window. > > >> c) is there another option I should be looking at, and >> > Yes :) > > >> d) if there is a good HOWTO on setting up whichever is the best to use >> on a recent Gentoo system? >> > I use X-tunneling with ssh. > To get this to work, start with trying the following: > > (machineA has screen, machineB is screenless) > on machineA # ssh -Y machineB > then, on machineB, start the program you want displaying on machineA, for > instance firefox. > > This is both easier to implement and also removes the security issues as ssh > is encrypted. > > HTH, > > Joost Roeleveld > > jmoe@aus10224 ~ $ ssh -Y jhb5970 Password: Last login: Wed Jun 9 08:05:09 EST 2010 from 192.168.0.114 on pts/0 jmoe@jhb5970 ~ $ firefox Error: no display specified jmoe@jhb5970 ~ $ konqueror konqueror: cannot connect to X server jmoe@jhb5970 ~ $ Did I not do it right? jhb5970 is not "screenless", it's a laptop, but it's easier to use only one pane of glass. I'll probably only want to do this when machineA is, say, emerging updates, but I want to do something CPU-intensive on that computer, so I can utilize the idle machineB. Make sense? Jake Moe