home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!iggy.GW.Vitalink.COM!cs.widener.edu!dsinc!netnews.upenn.edu!wharton.upenn.edu !andrews
- From: andrews@wharton.upenn.edu (Scott Andrews)
- Newsgroups: comp.unix.aix
- Subject: problems with mwm under Xdm on AIX 3.2
- Message-ID: <97584@netnews.upenn.edu>
- Date: 13 Nov 92 22:56:57 GMT
- Sender: news@netnews.upenn.edu
- Organization: Wharton
- Lines: 31
- Nntp-Posting-Host: anvil.wharton.upenn.edu
-
- I'm having a problem with mwm under Xdm on AIX 3.2. In my Xsession
- file I echo $DISPLAY and the value is :0. When I try to run
- a script from a mwm menu which echos the DISPLAY variable to a log
- file the display value is 0:.46. This disables any programs from accessing
- my screen.
-
- If I change the memu file (system.mwmrc) to execute a program and force the
- display to be :0 everything is fine.
-
- In other words if I have entries in my system.mwmrc file such as:
- Menu RootMenu
- {
- "Menu" f.title
- "Win1" f.exec "/usr/bin/X11/xterm &"
- "Win2" f.exec "/usr/bin/X11/xterm -display :0 &"
- }
-
- The Win1 program always fails with a message "Error: Can't Open display"
- and Win2 program works without any errors.
-
-
- Has anyone come accross this problem?
- Does anyone have any comments or suggestions?
-
-
-
- --
- Scott W. Andrews, University of Pennsylvania
- Internet: andrews@wharton.upenn.edu
-
-
-