home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!europa.asd.contel.com!emory!sol.ctr.columbia.edu!ira.uka.de!math.fu-berlin.de!mailgzrz.TU-Berlin.DE!news.netmbx.de!Germany.EU.net!mcsun!sunic!dkuug!uts!carlkb
- From: carlkb@uts.uni-c.dk (Klaus Bock)
- Newsgroups: comp.sys.sgi
- Subject: Logging out under 4.0.5
- Summary: Can't log out from 4.0.5
- Keywords: logout 4.0.5
- Message-ID: <1992Nov5.112619.18506@uts.uni-c.dk>
- Date: 5 Nov 92 11:26:19 GMT
- Organization: UNI-C, Danish Computing Centre for Research and Education
- Lines: 50
-
- Problem: Logging out from a session under 4.0.5
-
- We have succesfully installed 4.0.5 on our Indigo's.
-
- However, some users have a problem logging out. It is those
- users who have a line in their .cshrc file like:
-
- setenv DISPLAY `hostname`:0.0
-
- - I know that there are better ways of doing this, but this is
- not the question here. (Using REMOTEHOST etc.)
-
- When they select the Log Out menu item from the 4Dwm, and
- answer Yes to the question, nothing happens!
-
- If you look at the /usr/adm/SYSLOG file on a machine called
- iris6, it will tell you something like:
-
- /usr/bin/X11/xprop: unable to open display 'iri'
- usage: /usr/bin/X11/xprop [-options ...] [[format [dformat]] atom]
- etc.etc.
-
- It seems like something was changed in the endsession script file - why?
-
- If I change it back to what it was under 4.0.1, there are no problems.
-
- 4.0.5:
-
- PROP_DISPLAY=`expr $DISPLAY : '\(.*\).[1-9]' \| $DISPLAY`
- /usr/bin/X11/xprop -display $PROP_DISPLAY -root -remove _SGI_SESSION_PROPERTY
-
- 4.0.1:
-
- /usr/bin/X11/xprop -display $DISPLAY -root -remove _SGI_SESSION_PROPERTY
-
- It seems like this expr expression doesn't work, if there are digits in
- the machine name...
-
- What is the purpose of this change? What will go wrong if I change endsession
- back to what it was under 4.0.1?
-
- Regards,
-
- Mogens Kjaer
- Carlsberg Laboratory,
- Dept. of chemistry
- Gamle Carlsberg Vej 10
- DK-2500 Valby
- Denmark
- carlkb@uts.uni-c.dk
-