From owner-freebsd-questions@FreeBSD.ORG Tue Dec 9 13:36:57 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 0D21AB07 for ; Tue, 9 Dec 2014 13:36:57 +0000 (UTC) Received: from relay2.tomsk.ru (mail.sibptus.tomsk.ru [212.73.124.5]) by mx1.freebsd.org (Postfix) with ESMTP id 77E445E6 for ; Tue, 9 Dec 2014 13:36:55 +0000 (UTC) X-Virus-Scanned: by clamd daemon 0.98.1 for FreeBSD at relay2.tomsk.ru Received: from admin.sibptus.tomsk.ru (account sudakov@sibptus.tomsk.ru [212.73.125.240] verified) by relay2.tomsk.ru (CommuniGate Pro SMTP 5.1.16) with ESMTPSA id 37503547 for freebsd-questions@freebsd.org; Tue, 09 Dec 2014 19:36:53 +0600 Received: from admin.sibptus.tomsk.ru (sudakov@localhost [127.0.0.1]) by admin.sibptus.tomsk.ru (8.14.9/8.14.7) with ESMTP id sB9DanLA082069 for ; Tue, 9 Dec 2014 19:36:52 +0600 (NOVT) (envelope-from vas@mpeks.tomsk.su) Received: (from sudakov@localhost) by admin.sibptus.tomsk.ru (8.14.9/8.14.7/Submit) id sB9Dan2d082068 for freebsd-questions@freebsd.org; Tue, 9 Dec 2014 19:36:49 +0600 (NOVT) (envelope-from vas@mpeks.tomsk.su) X-Authentication-Warning: admin.sibptus.tomsk.ru: sudakov set sender to vas@mpeks.tomsk.su using -f Date: Tue, 9 Dec 2014 19:36:49 +0600 From: Victor Sudakov To: freebsd-questions@freebsd.org Subject: Two local X-servers Message-ID: <20141209133649.GA81979@admin.sibptus.tomsk.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Organization: OAO "Svyaztransneft", SibPTUS X-PGP-Key: http://www.dreamwidth.org/pubkey?user=victor_sudakov X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.5.23 (2014-03-12) 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 13:36:57 -0000 Colleagues, I would like to run two local X-servers on the same desktop box, like maybe one on :0 and the other on :1. How do I do that? Currently i run xdm from /etc/ttys like this: # grep xdm\ /etc/ttys ttyv8 "/usr/local/bin/xdm -nodaemon" xterm on secure # grep -v ^# /usr/local/lib/X11/xdm/Xservers :0 Digital-QV local /usr/local/bin/X -ac -nolisten tcp :0 When I add another line to /usr/local/lib/X11/xdm/Xservers like :1 Digital-QV local /usr/local/bin/X -ac -nolisten tcp :1 nothing good happens. I cannot switch into another X-server with Alt+Fn or any other key combination. I think another X-server is not even started. Is there a good recipe? Thank you in advance for any input. -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN sip:sudakov@sibptus.tomsk.ru