Re: AfterStep X Server trouble?

Rick Towler (towler@wings.glerl.noaa.gov)
Thu, 14 May 1998 14:13:01 -0400 (EDT)


>> 2.  How do I automatically have it execute the XServer at login for all
>> users?

>I think the "correct" way of doing this is using xdm. I have never
>configured xdm myself, so I suggest you read the manpages. I know that
>it basically involves changing the default runlevel of your machine to 4
>(do 'man inittab') and, probably, creating a .xsession file on the home
>directory of each user.

The correct runlevel depends on the distribution you are using.  To get RH 
systems to start x on boot you change the initdefault to 5.

id:5:initdefault:

look at your /etc/inittab file.  It should have comments in it to tell you what 
runlevels are set up for what.

Before you do this i would suggest that a) you have another machine handy that 
you can telnet into your linux box or b) you know how to use the virtual 
terminals (F1-F6 on RH).  I have more than once had my xdm setup bomb and leave 
x hanging.

Also, check out: http://torment.ntr.net/xdm/
                 http://jovian.physics.uoguelph.ca/~droz/uni/xdm3d.html
                 
for tips on customizing xdm.  One note:  DON'T follow step 1 for linuxPPC on the 
xdm3d.html page unless you want to disable the virtual terminals and possibly 
lock yourself out of your machine if x hangs.  You might want to do this after 
you get everything working so people can't switch to another console, but not 
before.

Also, I must admit that I never got this version of XDM3d with PAM support to 
work on my RH5 machine, but I did get Ivan Griffin's XDM3d (sans PAM) to work 
and there is a link on this page to that source.

Rick Towler
towler@glerl.noaa.gov

NOAA Great Lakes Environmental Research Lab
2205 Commonwealth Blvd.
Ann Arbor, MI 48105-2945
734-741-2388

--
   WWW:   http://www.afterstep.org/
   FTP:   ftp://ftp.afterstep.org/
   MAIL:  http://wormhole.eosys.com/mailing-lists/AfterStep-Info.html
   FAQ:   http://www.cs.purdue.edu/homes/zamboni/afterstep/FAQ.html

   To unsubscribe: echo unsubscribe | mail afterstep-request@eosys.com