Quote:
|
Is it possible to have Slack 8.1 automatically log into one profile?
|
Yes ... both kdm and gdm support this.
Quote:
|
Also, is it possible to have Slack automatically issue the command startx after it logs in?
|
Yes ... two ways (at least ;}):
1.) Edit /etc/inittab and set the default runlevel to 4
2.) Edit /etc/rc.d/rc.local and add /opt/kde/bin/kdm&
as the last line...
Quote:
|
If so, could it be possible to have a boot setup such as in LILO to have two options, one, the first and default, to have it automaticaly log into the account and then start X, and the second option have it as a normal Slack8.1 login screen and not boot into X, so I could do stuff such as load a different window manager, such as Flux or BlackBox, or KDE?
|
And yes, again ;)
There's a bunch of options here, you could use
some of the packages that are available online
(search freshmeat) to have configuration choices,
or a "do it yourself" approach ... which is what I did
for my notebooks varied setup.
Lilo allows you to set environment variables, and
you can query these from your startup-script(s)
which allows for a very versatile setup...
Code:
snippet from lilo.conf
# Linux bootable partition config begins
image = /boot/vmlinuz.rc2
root = /dev/hda8
label = work
append="LOCATION=work"
read-only
# Linux bootable partition config ends
Code:
snippet from rc.inet1
if [ "$LOCATION" = "work" ]; then
USE_DHCP=yes
# If your provider requires a DHCP hostname, uncomment and edit below:
DHCP_HOSTNAME="tink-n"
/bin/cp /etc/resolv.conf.work /etc/resolv.conf
/bin/cp /etc/hosts.work /etc/hosts
else
USE_DHCP=no
/bin/cp /etc/resolv.conf.home /etc/resolv.conf
/bin/cp /etc/hosts.home /etc/hosts
# If your provider requires a DHCP hostname, uncomment and edit below:
fi
Just to give you a general idea :}
You could put a similar statement into rc.local,
depending on which you'd start kdm (and thus
auto-login into your normal user's X) or not...
Cheers,
Tink