Two local X-servers

Adam Martin adamartin at freebsd.org
Tue Dec 9 13:46:01 UTC 2014


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 at 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 at sibptus.tomsk.ru
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe at freebsd.org"
>


More information about the freebsd-questions mailing list