From owner-freebsd-questions@FreeBSD.ORG Tue Dec 9 17:57:46 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 03C73F0A for ; Tue, 9 Dec 2014 17:57:46 +0000 (UTC) Received: from mail-ie0-x22b.google.com (mail-ie0-x22b.google.com [IPv6:2607:f8b0:4001:c03::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B91739C3 for ; Tue, 9 Dec 2014 17:57:45 +0000 (UTC) Received: by mail-ie0-f171.google.com with SMTP id rl12so1017445iec.30 for ; Tue, 09 Dec 2014 09:57:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=IuFAArdn6bCECGCAz53cKTfbV8KiTHQc0wPveVtQkZE=; b=wQ/lMRi+PMSVw4PSNzWf5MswU9TKlJqqd4rIE4nWoVUHEtrrHAVI7MSRx6Uj3EM8kG 8l9n/qs7vHCSBjprp4bgvE79hkkjIuNLunRg5L73CUmywV5x53NeRAACCwILSjt+hN2a 9QOne57fUJMPHrYru6IFLWZtQPaGyhbUHbblMzjREMiQk2qXNwIpbK9vaCnTXRGm/4dY t8Xan1sU9iAnMrPq6jk3Kgae4vrVXjlJaSlAhlcpRMaQKjNetxLMQ/H1sFqPWKOaQ3Eg nQQLet3f+Qk9sO6NIfW7d53/VnTRWYmX6AUDSMaulg9Z5vR7hOHo9frgQlLH/2TuG3Gb vyVg== MIME-Version: 1.0 X-Received: by 10.50.72.65 with SMTP id b1mr21120830igv.47.1418147865070; Tue, 09 Dec 2014 09:57:45 -0800 (PST) Sender: adamartin.freebsd.org@gmail.com Received: by 10.64.83.100 with HTTP; Tue, 9 Dec 2014 09:57:44 -0800 (PST) Received: by 10.64.83.100 with HTTP; Tue, 9 Dec 2014 09:57:44 -0800 (PST) In-Reply-To: References: <20141209133649.GA81979@admin.sibptus.tomsk.ru> <20141209142333.GA82357@admin.sibptus.tomsk.ru> Date: Tue, 9 Dec 2014 12:57:44 -0500 X-Google-Sender-Auth: ck_WMLdxY4WbZYNk0ezQ5lYiReY Message-ID: Subject: Re: Two local X-servers From: Adam Martin To: Warren Block Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: Victor Sudakov , 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 17:57:46 -0000 On Dec 9, 2014 10:11 AM, "Warren Block" wrote: > > 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. Indeed. I was experimenting with the lack of visual in ttyv from leaving X11, on my laptop, and I discovered that you can get visual back by using vidcontrol to change modes and bounce back and forth from X11 after doing so. The issue there is that X11 won't show again. Sorry to go a bit OT, but maybe someone reading this can figure out what vidcard registers VESA changes tickle so we can keep character terminals in Intel cards. I really don't like frame buffer terminals. Anyhow, check your xorg configurations for "no-switch" I think it's called. It and "dontzap" affect ctrl-alt-F# and ctrl-alt-backspace. Cheers, -- ADAM David Alan Martin