Date: Sun, 8 Feb 1998 22:19:39 -0800 (PST) From: Doug White <dwhite@gdi.uoregon.edu> To: Reisha & Darrell Basdeo <rdbasdeo@carib-link.net> Cc: Freebsd <questions@FreeBSD.ORG> Subject: Re: X exit and XDM reset Message-ID: <Pine.BSF.3.96.980208221416.24904W-100000@gdi.uoregon.edu> In-Reply-To: <002101bd3266$2730bb40$c6411dc4@reisha>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 5 Feb 1998, Reisha & Darrell Basdeo wrote: > Hello, > > I've setup XDM .....I am able to login via the X-Login Widget ..... Start X and run applications ...... exit X and close all > programs o.k. > > However, after the last program exits something seems to go wrong. > > The X-Login Widget does not come up right away, the x-root window gets > grated at the top of the screen ... it appears to me that the X server > crashes .... and then a couple of seconds go by and the X-Login widget > appears. This is normal. As long as ~/.xsession stays running, your session is active. usually you set an xterm or your window manager as a `blocking program' that doesn't allow execution to continue until it exits. To logout, you exit the blocking program, and the script completes. When the script completes, the X server is killed and you are logged out. Then xdm restarts the X server and prompts for a new login. For instance, my .xsession looks like this: xsetroot -solid "#266294" xrdb -merge .Xresources xset +dpms exec ./.startk The first three lines execute normally. The fourth, the line starting with `exec', holds there until the script ./.startk completes, which looks like this (I run KDE): #!/bin/sh kfm& kpanel& kwm # this blocks until I exit the window manager > I am not sure of the config/setup of the "Xreset" file , could you > provide some information on the setting up of this file. It is possible > I may I have left something .... out .... somewhere. ??????? I leave it as is. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980208221416.24904W-100000>