Date: Mon, 05 May 2014 13:41:08 -0400 From: Fbsd8 <fbsd8@a1poweruser.com> To: Aleksandr Rybalko <ray@ddteam.net> Cc: freebsd-current@freebsd.org Subject: Re: need info about newcons in jails Message-ID: <5367CD34.3090102@a1poweruser.com> In-Reply-To: <20140505170209.59f849bc8904748e8b95fa8e@ddteam.net> References: <5364CFC2.60902@a1poweruser.com> <20140505170209.59f849bc8904748e8b95fa8e@ddteam.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Aleksandr Rybalko wrote: > On Sat, 03 May 2014 07:15:14 -0400 > Fbsd8 <fbsd8@a1poweruser.com> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5367CD34.3090102>