Date: Fri, 3 Sep 1999 10:34:09 -0600 From: Nate Williams <nate@mt.sri.com> To: Luoqi Chen <luoqi@watermarkgroup.com> Cc: current@FreeBSD.ORG Subject: Re: start xdm on a particular vty Message-ID: <199909031634.KAA02925@mt.sri.com> In-Reply-To: <199909031441.KAA01499@lor.watermarkgroup.com> References: <199909031441.KAA01499@lor.watermarkgroup.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> There have been discussions about the xdm entry /etc/ttys does not guarantee > the X server being started on the particular vty. So I wrote a shell script > to explicitly tell xdm to start X server on a specific vty. I *like* it. I think you should share it with the XFree86 folks, and I think this would be great to have in the base installation (after proper testing of course...). However, does this work with non-XFree86 X servers? (Or, maybe you can't test that...) Nate It's been working > great. I'd like to share it with you, maybe we could include it in the base > system. Here's the script (I call it xdmstart), it's very simple, > > #!/bin/sh > case $1 in > ttyv*) > vt=vt`expr $1 : 'ttyv\(.*\)' + 1`;; > *) vt=;; > esac > exec /usr/X11R6/bin/xdm -nodaemon -server ":0 local /usr/X11R6/bin/X :0 $vt" > > and in /etc/ttys replace the xdm line with > ttyv3 "/usr/local/bin/xdmstart" xterm on secure > > There's one thing should be noted, the vtxx option isn't a standard X server > option, but both XFree86 and Xig support it, so majority of the people should > be covered. > > -lq > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199909031634.KAA02925>