Path: utzoo!attcan!uunet!tank!ncar!mailrus!cornell!batcomputer!sun.soe.clarkson.edu!valdis From: valdis@alchemy.mcs.clarkson.edu (& Kletnieks) Newsgroups: comp.windows.x Subject: Problems with 'xrdb' & 'xdm'? Message-ID: Date: 23 Nov 88 18:52:17 GMT Sender: news@sun.soe.clarkson.edu Distribution: comp Organization: Clarkson University, Postdam NY Lines: 58 Anybody have any flames/suggestions/hints for the following? (I'll even settle for an 'rtfm' if you point which one I should have read...) Scenario: Sun 3/260, hi-res monochrome screen, running SunOS 4.0, and X11R3 (patches 1-2 and Purdue speedups). 1) 'xrdb -query' only outputs ONE line. While debugging the following problems, I was forced to do: 'xrdb -edit xyzz;cat xyzzy;rm xyzzy' to see what I had set. 2) 'xdm', contrary to the 'man' page, doesn't want to read /usr/lib/X11/xdm/xdm-config by default, I had to give a '-config' pointing there to make it work. 3) I am using the 'sample' Xsession script out of the 'xdm' man page. I find that the .xsession script should NOT exit until the user is done, or 'xdm' closes everything down. The solution I used was to make the last line of the .xession script an 'exec xterm' line. The problem here is that THIS instance of 'xterm' doesn't find the font I specify, or get a scrollbar, or anything else I gave in .Xresources. The OTHER 3 xterms find all the stuff just fine. (here is the .Xresources I used): xterm*vt100*font: 8x13 xterm*vt100*borderWidth: 2 xterm*vt100*jumpScroll: on xterm*vt100*multiScroll: on xterm*vt100*saveLines: 255 xterm*vt100*scrollBar: on xterm*vt100*statusLine: on xman**topBox: false xman*manualBrowser.geometry: 800x1020+100+100 xman.IconGeometry: 30x30-160+4 xmh*CompGeometry: 500x660 (Here is the .xsession I used): #!/bin/csh xrdb -load ~/.Xresources xhost +sun.mcs xhost +sun.soe xhost +alliant.soe twm & rsh sun.mcs -n "exeqt xterm -display `hostname | sed 's/\.clarkson\.edu//'`:0.0 -geometry 80x24+680+0 -n sun.mcs" & xterm -geometry 80x68+0-0 -n " Work 1 " & xterm -geometry 80x68+680-0 -n " Work 2 " & xclock -geometry 120x120-0+0 & /usr/local/Gnu/bin/emacs -w =80x68+200+200 -font 8x13 -b 3 -i & xbiff -geometry -160+0 & xmh -geometry 660x700-0-0 & exec xterm -C -geometry 80x24+0+0 -name login 4) Has anybody hacked 'xperfmon' to support SunOS 4.0 and the -lkvm routines? Valdis Kletnieks Sr. Systems Programmer Clarkson University