Install it anyway and use the "autologin" feature. I know that KDM
supports it, and probably GDM too.
Option "DontVTSwitch" "boolean" in the server section of the xorg.conf
--Joshua Doll
Propably not, since then your advice is pointless.
--
" Religion ist das Opium des Volkes. " Karl Marx
SEB@STI@N GÜNTHER mailto:sam...@guenther-roetgen.de
Well in that case, slim should be the better choice: no dependencies on
one of the two a little bloated DEs, and also has the autologin feature.
Sebastian
I agree with Sebastian, you should try "slim"
> su - myname -c startx&
>
> any ideas?
RTFM:
-, -l, --login
Provide an environment similar to what the user would expect had the user
logged in directly.
!>> When - is used, it must be specified as the last su option.
The other forms (-l and --login) do not have this restriction.
>
> thanks
>
> fei
HTH
It uses directfb, but its very lean, and you can set it to autologin I
think...which would probably not even use dircetfb, as qingy also has a
'text-fallback-mode'.
Try it, you'll like it ;-)
Tom
Err, right. Sorry for the noise.
In startDM.sh a modification is done to make start-stop-daemon drop its
privs and set the minimum env needed by startx then xinit.
[startDM.sh patch attached]
Notice two facts : env X=y start-stop-daemon is used because I was not
able to use several --env options.
My user's .xinitrc sources its .bash_profile (which source /etc/profile)
to initialize the other variables.
(I would like to export the bash completion to my whole X session, but it's
another problem...)
An alternative is the make start-stop-daemon launch 'su -- -l'
but it's dirty because of the need to store the pid.
So the first problem is that the xdm script doesn't know the pid of xinit
because even without 'su', start-stop-daemon knows about startx, not
xinit.
The second one is that ctrl+alt+backspace isn't trapped correctly.
Should 'xinit restart' be the direct work of the daemon in the autologin
case ?
In the autologin case which imho implies the user has a .xinitrc, startx
is only useful for the 2 or 3 lines around mcookie.
Should startx be directly in /etc/init.d .
(as said in the header it's a old sample of this script) and the deep
meaning of runlevel (multiuser / graphic) should be think from the
beginning to understand the right way to organise the X11 launch stuff.
What about putting startx's $defaultserverarg and $enable_xauth in a
/etc/conf.d/xdm (or better : /etc/conf.d/xinit) ?
(the local.start is a hacky but short and understandable way to do
though :), a quick heavier case is there : http://www.gentoo-wiki.info/TIP_Passwordless_Login)
Anyway, I'm still a bit lost in the quest of the cleanest way
from system init to ~/xinitrc.
So any comment, advice, whatever ... would be greatly appreciated.
Raph
The original poster apparently did not want to use XDM. SLiM is
simplistic (no remote access, etc), and supposedly more secure (does
not need to run as root).