home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / sgi / 16067 < prev    next >
Encoding:
Internet Message Format  |  1992-11-07  |  1.8 KB

  1. 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
  2. From: carlkb@uts.uni-c.dk (Klaus Bock)
  3. Newsgroups: comp.sys.sgi
  4. Subject: Logging out under 4.0.5
  5. Summary: Can't log out from 4.0.5
  6. Keywords: logout 4.0.5
  7. Message-ID: <1992Nov5.112619.18506@uts.uni-c.dk>
  8. Date: 5 Nov 92 11:26:19 GMT
  9. Organization: UNI-C, Danish Computing Centre for Research and Education
  10. Lines: 50
  11.  
  12. Problem: Logging out from a session under 4.0.5
  13.  
  14. We have succesfully installed 4.0.5 on our Indigo's.
  15.  
  16. However, some users have a problem logging out. It is those
  17. users who have a line in their .cshrc file like:
  18.  
  19. setenv DISPLAY `hostname`:0.0
  20.  
  21. - I know that there are better ways of doing this, but this is
  22. not the question here. (Using REMOTEHOST etc.)
  23.  
  24. When they select the Log Out menu item from the 4Dwm, and
  25. answer Yes to the question, nothing happens!
  26.  
  27. If you look at the /usr/adm/SYSLOG file on a machine called
  28. iris6, it will tell you something like:
  29.  
  30. /usr/bin/X11/xprop:  unable to open display 'iri'
  31. usage:  /usr/bin/X11/xprop [-options ...] [[format [dformat]] atom]
  32. etc.etc.
  33.  
  34. It seems like something was changed in the endsession script file - why?
  35.  
  36. If I change it back to what it was under 4.0.1, there are no problems.
  37.  
  38. 4.0.5:
  39.  
  40. PROP_DISPLAY=`expr $DISPLAY : '\(.*\).[1-9]' \| $DISPLAY`
  41. /usr/bin/X11/xprop -display $PROP_DISPLAY -root -remove _SGI_SESSION_PROPERTY
  42.  
  43. 4.0.1:
  44.  
  45. /usr/bin/X11/xprop -display $DISPLAY -root -remove _SGI_SESSION_PROPERTY
  46.  
  47. It seems like this expr expression doesn't work, if there are digits in
  48. the machine name...
  49.  
  50. What is the purpose of this change? What will go wrong if I change endsession
  51. back to what it was under 4.0.1?
  52.  
  53. Regards,
  54.  
  55. Mogens Kjaer
  56. Carlsberg Laboratory,
  57. Dept. of chemistry
  58. Gamle Carlsberg Vej 10 
  59. DK-2500 Valby
  60. Denmark
  61. carlkb@uts.uni-c.dk
  62.