LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Auto Login (https://www.linuxquestions.org/questions/linux-newbie-8/auto-login-105888/)

VictorClaessen 10-19-2003 09:14 AM

Auto Login
 
Hi,

I'm running Slackware 8.1 with KDE 3.0.1.

I would like to boot straight into KDE without any need for login.
I know I can set the default runlevel to 4 and go into X immediately. The problem is that when I do so, I go into the TWM window manager instead of into KDE.

When I start in runlevel 3, login normally and type "startx" then I go into KDE like it is supposed to. So I must be missing some important step. Does anyone know what I'm overlooking?

Thanks,

Victor Claessen

P.S. system information (dont know how relevant it might be, so better safe than sorry)
SlackWare 8.1
KDE 3.0.1
Cyrix 6x86MX MediaGX
128 MB
Diamond Stealth 3D 2000 (S3VirgeDX 2MB)
Booting remotely via PXE and root-NFS (its a ThinClient, no HDD or floppy or CDROM)
RTL8139 NIC on board

miknight 10-19-2003 09:20 PM

I think you mean runlevel 5, not 4... I think 4 is reserved (and currently unused).

Try and have a look in the following files in your home directory:

.xinitrc
.Xsession

and maybe some other ones starting with a '.[xX]' (a hidden file with a lower or uppercase X). Maybe something will come up...? (Sorry I can't be more specific :/ ).

morbeis 10-19-2003 09:38 PM

might be of use:

http://www.linuxquestions.org/questi...002/07/1/24627

VictorClaessen 10-20-2003 06:11 AM

I think the runlevels under slackware differ a bit from other distro's: <quoting /etc/inittab>

# These are the default runlevels in Slackware:
# 0 = halt
# 1 = single user mode
# 2 = unused (but configured the same as runlevel 3)
# 3 = multiuser mode (default Slackware runlevel)
# 4 = X11 with KDM/GDM/XDM (session managers)
# 5 = unused (but configured the same as runlevel 3)

I will try booting into runlevel 3, with the command "/opt/kde/bin/kwm" in /etc/rc.d/rc.local tonight to see if that works.

VictorClaessen 10-20-2003 02:52 PM

Hmm..I'm still getting the login screen + the option to select my window manager. When I choose KDE (or TWE for that matter) the screen flickers briefly and returns promptly to the login screen. Only when I choose failsafe I get an x console without any further window manager whatsoever.


All times are GMT -5. The time now is 03:35 AM.