Re: Auto login and window manager specification with xdm?

Giorgos Keramidas (keramida@ceid.upatras.gr)
12 Nov 1999 17:18:14 +0200


keith tang <keith.tang@marathonelectric.com> writes:

> I've had some success today with auto starting my application in fvwm.
>
> My /etc/inittab calls level 5 with
>
> #Run xdm in runlevel 5
> x:5:respawn:/usr/bin/X11 xdm -nodaemon
>
> Beings xinit was called in the startx script, I tried changing the xdm
> to xinit in the inittab file. It would not enter xwindows and it was
> obviously erring out somewhere.

Nope, calling just xinit will not help much. Perhaps calling `startx'
with a proper wrapper script, something like:

% cat /etc/Xinit.local
#!/bin/sh
echo startx -- -bpp 16 | su - charon

and then you can use in your inittab

x:5:respawn:/etc/Xinit.local

The user `charon' is just a plain account that you want your application
to run under.

-- 
Giorgos Keramidas, <keramida@ceid.upatras.gr>
"What we have to learn to do, we learn by doing." [Aristotle]
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu