home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / unix / aix / 11571 < prev    next >
Encoding:
Internet Message Format  |  1992-11-14  |  1.3 KB

  1. Path: sparky!uunet!charon.amdahl.com!pacbell.com!iggy.GW.Vitalink.COM!cs.widener.edu!dsinc!netnews.upenn.edu!wharton.upenn.edu  !andrews
  2. From: andrews@wharton.upenn.edu (Scott Andrews)
  3. Newsgroups: comp.unix.aix
  4. Subject: problems with mwm under Xdm on AIX 3.2
  5. Message-ID: <97584@netnews.upenn.edu>
  6. Date: 13 Nov 92 22:56:57 GMT
  7. Sender: news@netnews.upenn.edu
  8. Organization: Wharton
  9. Lines: 31
  10. Nntp-Posting-Host: anvil.wharton.upenn.edu
  11.  
  12. I'm having a problem with mwm under Xdm on AIX 3.2. In my Xsession
  13. file I echo $DISPLAY and the value is :0. When I try to run
  14. a script from a mwm menu which echos the DISPLAY variable to a log
  15. file the display value is 0:.46. This disables any programs from accessing
  16. my screen. 
  17.  
  18. If I change the memu file (system.mwmrc) to execute a program and force the
  19. display to be :0 everything is fine.
  20.  
  21. In other words if I have entries in my system.mwmrc file such as:
  22.     Menu RootMenu
  23.     {
  24.         "Menu"     f.title
  25.         "Win1"     f.exec "/usr/bin/X11/xterm &"
  26.         "Win2"     f.exec "/usr/bin/X11/xterm -display :0 &"
  27.     }
  28.  
  29. The Win1 program always fails with a message "Error: Can't Open display"
  30. and Win2 program works without any errors.
  31.  
  32.  
  33. Has anyone come accross this problem?
  34. Does anyone have any comments or suggestions?
  35.  
  36.  
  37.  
  38. --
  39. Scott W. Andrews,     University of Pennsylvania
  40. Internet:             andrews@wharton.upenn.edu
  41.  
  42.  
  43.