Date: Tue, 9 Dec 2014 08:46:00 -0500 From: Adam Martin <adamartin@freebsd.org> To: Victor Sudakov <vas@mpeks.tomsk.su> Cc: freebsd-questions@freebsd.org Subject: Re: Two local X-servers Message-ID: <CAJTQnqamArkgfKMr75tv%2BgjRx_7t9hHEqLxS2yAAXR==NYZ1BQ@mail.gmail.com> In-Reply-To: <20141209133649.GA81979@admin.sibptus.tomsk.ru> References: <20141209133649.GA81979@admin.sibptus.tomsk.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
I have had success running multiple X11 sessions, but I do not use login managers like xdm. 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 Note that you need Ctrl-Alt-F1 or similar to change ttyv devices from X11. Hope this helps, -- ADAM David Alan Martin On Dec 9, 2014 8:37 AM, "Victor Sudakov" <vas@mpeks.tomsk.su> wrote: > 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 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJTQnqamArkgfKMr75tv%2BgjRx_7t9hHEqLxS2yAAXR==NYZ1BQ>