From owner-freebsd-questions Mon Sep 18 00:06:14 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id AAA05753 for questions-outgoing; Mon, 18 Sep 1995 00:06:14 -0700 Received: from casparc.ppp.net (casparc.ppp.net [194.64.12.35]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id AAA05748 for ; Mon, 18 Sep 1995 00:06:03 -0700 Received: from ernie by casparc.ppp.net with uucp (Smail3.1.28.1 #1) id m0suaDK-000I0WC; Mon, 18 Sep 95 09:02 MET DST Received: by ernie.altona.hamburg.com (Smail3.1.29.1 #3) id m0suZbO-000012C; Mon, 18 Sep 95 08:22 MET DST Message-Id: From: hm@altona.hamburg.com (Hellmuth Michaelis) Subject: Re: xdm with pcvt To: wsantee@wsantee.oz.net (Wes Santee) Date: Mon, 18 Sep 1995 08:22:50 +0200 (MET DST) Cc: questions@freebsd.org In-Reply-To: <199509180034.RAA00200@wsantee.oz.net> from "Wes Santee" at Sep 17, 95 05:34:08 pm Reply-To: hm@altona.hamburg.com X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 1752 Sender: owner-questions@freebsd.org Precedence: bulk >From the keyboard of Wes Santee: > I'm trying to keep an xdm session open on screen 4 at all times so I > don't have to keep starting X whenever I login. However, I don't want > the xdm login screen to be the default since I usually prefer > character mode screens. > > I'm using the pcvt console driver and in rc.local I'm doing this: > > /usr/sbin/scon -c 3 # go to screen 4 > /usr/X11R6/bin/xdm -daemon # fire up xdm > sleep 10 # give xdm some time to start > /usr/sbin/scon -c 0 # come back to preferred login screen > > When I reboot, I see xdm start, come up with the graphical login, then > switch back to screen 1. However, if I hit CTRL+ALT+F4, the xdm > screen is gone and I'm met with just a blank (character mode) screen. Hmm - I'm doing this all the time with 2.0.5. Did you disable the getty for the corresponding screen in /etc/ttys ? You need a configuration for xdm in /usr/X11R6/lib/X11/xdm/Xservers similar to this (from my system): :0 local /usr/X11R6/bin/X vt8 My (part of) rc.local looks like this for starting xdm at boot time on screen 8: [....] # path for xdm (X11R6) XDMP=/usr/X11R6/bin # path for xdm (X11R5) #XDMP=/usr/X386/bin # set to YES to start xdm on screen 8 xdm_start=YES #xdm_start=NO [....] #-------------------------------------------------- # if desired, start xdm on screen 8 #-------------------------------------------------- if [ X${xdm_start} = X"YES" -a -x $XDMP/xdm ] then $SCONP/scon -d /dev/ttyv7 $XDMP/xdm sleep 10 $SCONP/scon -d /dev/ttyv0 fi Hope this helps, hellmuth -- Hellmuth Michaelis hm@altona.hamburg.com Hamburg, Europe (A)bort, (R)etry, (I)nstall BSD ?