From owner-freebsd-questions@FreeBSD.ORG Tue Dec 9 15:11:58 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DC03A177; Tue, 9 Dec 2014 15:11:58 +0000 (UTC) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 88FD9EA; Tue, 9 Dec 2014 15:11:58 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.9/8.14.9) with ESMTP id sB9FBuVu027080 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 9 Dec 2014 08:11:56 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.9/8.14.9/Submit) with ESMTP id sB9FBu50027077; Tue, 9 Dec 2014 08:11:56 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Tue, 9 Dec 2014 08:11:55 -0700 (MST) From: Warren Block To: Victor Sudakov Subject: Re: Two local X-servers In-Reply-To: <20141209142333.GA82357@admin.sibptus.tomsk.ru> Message-ID: References: <20141209133649.GA81979@admin.sibptus.tomsk.ru> <20141209142333.GA82357@admin.sibptus.tomsk.ru> User-Agent: Alpine 2.11 (BSF 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Tue, 09 Dec 2014 08:11:56 -0700 (MST) Cc: Adam Martin , freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Dec 2014 15:11:59 -0000 On Tue, 9 Dec 2014, Victor Sudakov wrote: > Adam Martin wrote: >> I have had success running multiple X11 sessions, but I do not use login >> managers like xdm. > > I would like to keep xdm. According to xdm(1), it should be possible > for xdm to manage several local X-displays. > >> >> I run startx directly from my TCSH prompt. To run a second session from my >> prompt I run with another number, i.e.: >> >> startx -- :1 >> > > From your experience we can at least conclude that two X-servers can > share one videocard. I was not even sure about that. > >> Note that you need Ctrl-Alt-F1 or similar to change ttyv devices from X11. > > On my box, after an X-server is started, there is no return to the > text console. This is because of the Intel video card or Intel video > driver. Once I start an X-server, there is no text prompt for me. It is there, just not visible. On 10.1 and probably 9-STABLE, use vt(4) by adding kern.vty=vt to /boot/loader.conf.