From owner-freebsd-current@FreeBSD.ORG Mon May 5 17:41:27 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0851236B for ; Mon, 5 May 2014 17:41:27 +0000 (UTC) Received: from relay.mailchannels.net (ar-005-i201.relay.mailchannels.net [162.253.144.83]) by mx1.freebsd.org (Postfix) with ESMTP id 425DCA10 for ; Mon, 5 May 2014 17:41:25 +0000 (UTC) X-Sender-Id: _forwarded-from|107.201.34.133 Received: from mail-24.name-services.com (ip-10-204-11-22.us-west-2.compute.internal [10.204.11.22]) by relay.mailchannels.net (Postfix) with ESMTPA id E9FC110018A; Mon, 5 May 2014 17:41:13 +0000 (UTC) X-Sender-Id: _forwarded-from|107.201.34.133 Received: from mail-24.name-services.com (mail-24.name-services.com [10.248.1.153]) (using TLSv1 with cipher AES128-SHA) by 0.0.0.0:2500 (trex/5.1.2); Mon, 05 May 2014 17:41:15 GMT X-MC-Relay: Forwarding X-MailChannels-SenderId: _forwarded-from%7C107.201.34.133 X-MailChannels-Auth-Id: demandmedia Received: from [10.0.10.1] (107-201-34-133.lightspeed.bcvloh.sbcglobal.net [107.201.34.133]) by mail-24.name-services.com with SMTP; Mon, 5 May 2014 10:41:08 -0700 Message-ID: <5367CD34.3090102@a1poweruser.com> Date: Mon, 05 May 2014 13:41:08 -0400 From: Fbsd8 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Aleksandr Rybalko Subject: Re: need info about newcons in jails References: <5364CFC2.60902@a1poweruser.com> <20140505170209.59f849bc8904748e8b95fa8e@ddteam.net> In-Reply-To: <20140505170209.59f849bc8904748e8b95fa8e@ddteam.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 May 2014 17:41:27 -0000 Aleksandr Rybalko wrote: > On Sat, 03 May 2014 07:15:14 -0400 > Fbsd8 wrote: > >> Hello list. > > Hi, > >> Looking for information about using newcons as the terminal driver in >> xorg for desktop in a jail. > > I don't really understand how that can be related. > > software running in jail doing output to same terminal in which jail > started. So if you open xterm, and start jail from it, jailed s/w will > output into xterm window. If you run jail from system virtual terminal > syscons or vt(a.k.a. newcons), jailed s/w will output to that virtual > terminal, no matter which one it is (syscons or vt(4)) > >> Can only find this https://wiki.freebsd.org/Newcons >> >> Has anybody gotten it to work in a jail? >> >> Thanks >> It has been a long time known fact that a jail with xorg/what-ever-desktop does not work when trying to login to that jail from the host. Reason is xorg uses kernel to access syscons and the jail don't allow it that access just like its suppose to do. Now remotely ssh into that xorg jail works. So the question is when newcoms is on the host and the jail has xorg/what-ever-desktop installed can a host user login to that jail and have xorg/desktop work on the hosts screen? Host user means someone setting at the host computer console video device. Login means execute "jexec jailname tcsh" to open console to that jail.