From owner-freebsd-questions Sun Feb 8 22:22:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA14437 for questions-outgoing; Sun, 8 Feb 1998 22:22:18 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA14417 for ; Sun, 8 Feb 1998 22:22:03 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.7/8.8.8) with SMTP id WAA25091; Sun, 8 Feb 1998 22:19:39 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Date: Sun, 8 Feb 1998 22:19:39 -0800 (PST) From: Doug White Reply-To: Doug White To: Reisha & Darrell Basdeo cc: Freebsd Subject: Re: X exit and XDM reset In-Reply-To: <002101bd3266$2730bb40$c6411dc4@reisha> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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