tom@ssd.csd.harris.com (Tom Horsley) (05/14/91)
I just installed the upgrade to DG/UX 4.32 on my AViiON, and it comes with
X11R4 (which is nice, the new server seems to run faster). The instructions
say you can set your DISPLAY to DGShm:0 and R4 clients (linked with the DG
libraries) will use a shared memory interface rather than a socket.
At first, this would not work when I tried it (yes, I did configure a large
enough max shared memory segment size into the kernel). I noticed a bunch of
error messages flashing on the screen when I ran xstart, so I ran xstart
re-directing stdout and stderr to a file and discovered one of the messages
said "could not open /var/X11/DGShm/DGShm".
I created an empty file with that name, and now DGShm:0 seems to work as a
display device (although I don't notice it being any faster than unix:0).
I read through all the release notes one more time, but I couldn't find any
mention of /var/X11/DGShm/DGShm in any of them, and apparently the setup
scripts do not create it (because I ran them).
Is this file just a key? Do the libraries use the inode number of the file
as the identifier for the shared memory segment or something like that? Is
just creating an empty file named /var/X11/DGShm/DGShm really all I had to
do? Is there really something missing from the release notes, or did I miss
it?
I am just curious. If anyone can answer the above questions, I would
appreciate hearing from them. Thanks for any light you can shed on the
mystery of DGShm:0...
--
======================================================================
domain: tahorsley@csd.harris.com USMail: Tom Horsley
uucp: ...!uunet!hcx1!tahorsley 511 Kingbird Circle
Delray Beach, FL 33444
+==== Censorship is the only form of Obscenity ======================+
| (Wait, I forgot government tobacco subsidies...) |
+====================================================================+