From owner-freebsd-questions Tue Sep 17 06:34:10 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id GAA06235 for questions-outgoing; Tue, 17 Sep 1996 06:34:10 -0700 (PDT) Received: from gatekeeper.barcode.co.il (gatekeeper.barcode.co.il [192.116.93.17]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id GAA06227 for ; Tue, 17 Sep 1996 06:34:04 -0700 (PDT) Received: (from nadav@localhost) by gatekeeper.barcode.co.il (8.6.12/8.6.12) id PAA13601; Tue, 17 Sep 1996 15:33:22 +0200 Date: Tue, 17 Sep 1996 15:33:22 +0200 (IST) From: Nadav Eiron To: Greg Lehey cc: Jerry Dunham , FreeBSD Questions Subject: Re: XF86 & fvwm Problem, Help? (fwd) In-Reply-To: <199609171242.OAA08789@allegro.lemis.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk On Tue, 17 Sep 1996, Greg Lehey wrote: > Jerry Dunham writes: > > > > Branson Matheson babbled: > >> You might also look at using xdm instead .. with that you will have > >> a graphical login prompt. And it will automagically restart every > >> time you logout. The nice thing about this and freebsd is that you > >> can still use a text console with syscons. > > > > So far, this seems to be terrible advice. I messed with xdm more this > > morning, and it does exactly what he says it does - automagically restart. > > I am completely unable to get out of it. > > Bummer, isn't it? FWIW, I've just got a free SCO Open Deathtrap, and > it does just the same thing, though first it kills your mouse so you > can't do anything inside X either. > > > If I've logged in as root I can > > get back to the login screen, but I can't quit from there: ^D doesn't work > > and neither does your suggestion of ^[alt]-[backspace]. > > ctrl-alt-backspace will kill the X server, which xdm will then > cheerfully restart. > > > The only way out seems to be to login as root and type "shutdown -h > > now". If I've logged in as dunham I can't even do that, and su > > doesn't work. > > Fix your /etc/group (yes, I know I've told you, but I'm copying > -questions): assuming your name is dunham, change the line reading > > wheel:*:0:root,grog,bin > > to read > > wheel:*:0:root,grog,bin,dunham > > su looks at this to decide whether to let you su or not. > > > I'm going back to startx, unless you can give me some reason why I > > should consider xdm that isn't obvious to the uninitiated, and tell > > me how to REALLY get out of it. > > xdm is great for people who never want (nor need) to see a character > mode display. Unfortunately, not everything runs under X, and xdm > effectively takes away some of your freedom. I use xinit myself, and > for the life of me I can't recall what the difference is from startx. > Not much, anyway. You could consider them interchangeable. > > Greg > > I don't know what your other problems are, but you can always use a character interface on another virtual console even if xdm is running. The only different is you need to use ctrl-alt-Fx instead of just Alt-Fx to switch consoles. FWIW you may have more than one X server running as well (just like you have more than one virtual character cell console). If you want to kill xdm - simply do it! Do ps auxw | grep xdm, and you'll see something like: root 156 0.0 0.0 292 0 ?? IW Tue07PM 0:00.09 /usr/X11R6/bin/xdm Just kill that! (with kill -9 156, for example). This would kill xdm for good (at least if you started it from rc.local and not from /etc/ttys). I see you already got an answer on how to su. I didn't follow this thread from the beginning, so if my input is irrelevant please ignore it. Nadav