Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Dec 2014 19:36:49 +0600
From:      Victor Sudakov <vas@mpeks.tomsk.su>
To:        freebsd-questions@freebsd.org
Subject:   Two local X-servers
Message-ID:  <20141209133649.GA81979@admin.sibptus.tomsk.ru>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20141209133649.GA81979>