From owner-freebsd-questions@freebsd.org Wed Nov 18 10:55:07 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 69823A32D4F for ; Wed, 18 Nov 2015 10:55:07 +0000 (UTC) (envelope-from zgreenfelder@gmail.com) Received: from mail-qg0-x229.google.com (mail-qg0-x229.google.com [IPv6:2607:f8b0:400d:c04::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 25AE11253 for ; Wed, 18 Nov 2015 10:55:07 +0000 (UTC) (envelope-from zgreenfelder@gmail.com) Received: by qgec40 with SMTP id c40so24742433qge.2 for ; Wed, 18 Nov 2015 02:55:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=Ce6uy4c/JyTDSKqvQTVFDBYWsRQOQsUJLmJZxzmjSjE=; b=h8FVs+3JiRMEKtuPnQ+nPQSWVZCGgHvmSZKrUr5N6x6qBCkuUby6FQjMmQ2YpFPrbH PJ85UlvaPJhregKcWZfmCVl8CSlaklF0lJM2MlzFMq9EnFQk19BEvCLX6SMYkh4rYdFO zcvonsDEqvR+g/7muQW07kDmmwGkm+R3ZMKHJm3k9atlv7i5eecbtSv1OsSge0F8+btH W7JeS0sC2nTPn/Yb2Gle2uCrUSANk7iXZiVOGrJhtiFjyq0Yxfm2en4pJMnXWyZYc/IM NpdYS3IX5MkOxOjwkUOVMpThwhzPD3aUjCHSYz0Ogem64eEq3ZKscN+5dhpnTCodOQCa x4gg== X-Received: by 10.140.92.85 with SMTP id a79mr670291qge.105.1447844106382; Wed, 18 Nov 2015 02:55:06 -0800 (PST) Received: from [192.168.10.31] (pool-96-241-237-72.washdc.fios.verizon.net. [96.241.237.72]) by smtp.googlemail.com with ESMTPSA id m64sm666113qhm.1.2015.11.18.02.55.05 for (version=TLSv1/SSLv3 cipher=OTHER); Wed, 18 Nov 2015 02:55:05 -0800 (PST) Subject: Re: Terminal mirror, mirror terminal To: freebsd-questions@freebsd.org References: <20151117054859.18f085bc.freebsd@edvax.de> <564AB6AD.2060706@calorieking.com> <564C10F4.70703@corp.ssimicro.com> <20151118073317.c75dee2f.freebsd@edvax.de> From: zep X-Enigmail-Draft-Status: N1110 Message-ID: <564C5908.7030305@gmail.com> Date: Wed, 18 Nov 2015 05:55:04 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <20151118073317.c75dee2f.freebsd@edvax.de> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2015 10:55:07 -0000 On 11/18/2015 01:33 AM, Polytropon wrote: > On Tue, 17 Nov 2015 22:47:32 -0700, markham breitbach wrote: >> sudo watch -W {his pty/n} >> ^----- you can glean this from output of w >> >> This will give you write permission to his terminal, or you can have him >> watch {your pty/n} > I have read "man watch" and tried a few things - it's really > versatile and still easy to use (for a not-so-technical user). > I'm even going to automate this a little bit (get terminal > id via "tty", start "mirroring xterm", display "press ^G when > done" message when done, and so on). The only thing that's a > bit annoying is the use of "sudo", but well, that's not a big > deal as sudo has been properly configured. you already seem to have your solution and it sounds to be a pretty 'thin' solution, but just to add on after - I would probably choose vnc and set/give a readonly password. it's notoriously insecure, so it'd also (probably) need a ssh tunnel to run through, but I still find it handy and it can do most anything an xsession can. -- public gpg key id: 1362BA1A