You are not logged in.
Just finished a new install on a computer and am unable to start x as a standard user. It works fine as root though
checking my logs there are no Errors though stopping the x server from running.
Last edited by farkenell (2009-05-24 10:48:01)
Offline
I take it that you want X to start as soon as you boot-up ?
If so, your /etc/inittab file needs editing, as 'root'. Here's mine which
starts KDE at boot-up:
#
# /etc/inittab
#
# Runlevels:
# 0 Halt
# 1(S) Single-user
# 2 Not used
# 3 Multi-user
# 4 Not used
# 5 X11
# 6 Reboot
## Only one of the following two lines can be uncommented!
# Boot to console
#id:3:initdefault:
# Boot to X11
id:5:initdefault: ### <<< UNCOMMENT THIS LINE. Ensure the others are commented-out
rc::sysinit:/etc/rc.sysinit
rs:S1:wait:/etc/rc.single
rm:2345:wait:/etc/rc.multi
rh:06:wait:/etc/rc.shutdown
su:S:wait:/sbin/sulogin -p
# -8 options fixes umlauts problem on login
c1:2345:respawn:/sbin/agetty -8 38400 vc/1 linux
c2:2345:respawn:/sbin/agetty -8 38400 vc/2 linux
c3:2345:respawn:/sbin/agetty -8 38400 vc/3 linux
c4:2345:respawn:/sbin/agetty -8 38400 vc/4 linux
c5:2345:respawn:/sbin/agetty -8 38400 vc/5 linux
c6:2345:respawn:/sbin/agetty -8 38400 vc/6 linux
ca::ctrlaltdel:/sbin/shutdown -t3 -r now
# Example lines for starting a login manager
#x:5:respawn:/usr/bin/xdm -nodaemon
#x:5:respawn:/usr/sbin/gdm -nodaemon
x:5:respawn:/usr/bin/kdm -nodaemon #### <<<< UN-COMMENT THIS LINE. Ensure the others are commented-out
#x:5:respawn:/usr/bin/slim >& /dev/null
# End of file
I've indicated the lines which need un-commenting.
Just ensure that you comment-out the rest, as shown.
Hope this helps...
Deej
Last edited by deej (2009-05-24 08:12:29)
Offline
ah thanks for taking the time to help me, I did a fresh install from scratch and realized where I had made my error.
I created an .xinitrc file incorrectly and everytime I didn't nuke the home dir for my normal user. I wanted to have fluxbox start but I Just had startfluxbox &
rather than the script
#!/bin/sh
exec startfluxbox
Last edited by farkenell (2009-05-24 10:43:46)
Offline
You know, when I was writing my reply I had this nagging
feeling that you'd be using .xinitrc :)
Ah well, at least you're up and running !
Deej
Offline