home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!spool.mu.edu!olivea!sgigate!odin!fido!fudge!karlton
- From: karlton@fudge.asd.sgi.com (Phil Karlton)
- Newsgroups: comp.sys.sgi
- Subject: Re: Help: problems with remote mailbox
- Message-ID: <1iveniINNoo2@fido.asd.sgi.com>
- Date: 12 Jan 93 21:54:58 GMT
- References: <1993Jan9.015630.10432@spartan.ac.BrockU.CA> <1ilmtjINNpqc@fido.asd.sgi.com>
- Organization: Silicon Graphics, Inc. Mountain View, CA
- Lines: 57
- NNTP-Posting-Host: fudge.asd.sgi.com
-
-
- In article <1ilmtjINNpqc@fido.asd.sgi.com>, karlton@fudge.asd.sgi.com writes:
- mailbox is not an X program, but rather a straight GIrisGL program.
- Check out the 'env' and 'GLResources' man pages. I haven't tested it
- but something like
-
- env DISPLAY=A.A GLRES="*geometry: 70x70+50+50" mailbox
-
- executed on machine B.B should do something close to what you want.
-
- One should test things before posting them. Shame on me.
-
- This doesn't work for 2 reasons (that I had to chase down but should
- have known).
-
- One is that when running a GL program remotely, the user's environment
- is not passed to DGL daemon and hence the GLRES stuff will be ignored.
- (It gets examined by the IrisGL library that will end up doing the
- actual rendering.) To get around that problem, put something like
-
- mailbox*geometry: +100+200
-
- in your .Xresources file (or .Xdefaults file on the machine where the
- DGL daemon will run.)
-
- To get around the problem of hanging on tty input (assuming you are a
- csh user) try something like
-
- rsh B.B -n 'env DISPLAY=A.A /usr/sbin/mailbox -s 200 >& /dev/null ' \
- >& /dev/null &
-
- Since mailbox unconditionally calls prefsize, you must set the size
- with the "-s" switch. If your default shell is 'sh' derived I think you
- need to substitute ">/dev/null 2>&1" for each place ">& /dv/null" occurs
- above. (There I go again: not testing my suggestions.)
-
- ===== Digression regarding .Xdefaults (or .Xresources files). ===========
-
- Just editing your .Xdefaults file will have no immediate effect if
- you've downloaded your .Xdefaults to be a property on the root window.
- You can test this by running
-
- xprop -root RESOURCE_MANAGER
-
- to see if you have downloaded your default resources. Check to see if
- you run xrdb in your .xsession or .sgisession file. If so, reload the
- porperty after you've edited .Xdefaults. (The default
- /usr/lib/X11/xdm/Xsession file downloads .Xresources. As has been
- written in other places, .Xdefaults is consulted only if the property
- doesn't exist mostly for backward compatibility.
-
- PK
- --
- Phil Karlton Silicon Graphics Computer Systems
- The Curmudgeon 2011 N. Shoreline Blvd.
- Mountain View, CA 94039-7311
- karlton@.sgi.com 415-390-1557
-