You are not logged in.
Hi, i'm trying to startx X11 without any login using the wiki pages https://wiki.archlinux.org/index.php/St … .2Finittab and https://wiki.archlinux.org/index.php/Xinitrc i've followed all the instructions, this is the line i've added into /etc//inittab
x:45:once:/bin/su marco -l -c "/bin/bash --login -c /usr/bin/startx >/dev/null 2>&1
and this is my new .xinitrc
rl=$(runlevel | grep -o [0-6])
case $rl in
4) exec ck-launch-session dbus-launch --exit-with-session --sh-syntax startxfce4;;
5) exec dbus-launch ck-launch-session startkde;;
esac
the problem is that after the boot the system enters in rl 4 and tries to start the X session but nothing because it come back to the console where i have to log in. How can i solve it? Thanks
Last edited by toketin (2011-01-22 18:27:34)
Offline
and X doesn't report any errors?
Offline
mm I've to search into its log
Offline
You've left the double quotes from the very end of the inittab line.
Last edited by barto (2011-01-22 12:07:27)
“First principle, Clarice. Simplicity” – Dr. Hannibal Lecter
Offline
You've left the double quotes from the very end of the inittab line.
I've missed them here, in /etc/inittab the line is correct
Offline
I'm not familiar with what "-exit-with-session --sh-syntax" does but perhaps you could remove them and see if it works (it does for me and appears to work for your KDE session as well), then add them back one at a time until it fails again. Then investigate why either the one or the other is causing you problems.
Offline
I've solved using a single DE, without changing the rl in menu.lst but only in /etc/inittab and in .xinitrc i've the usual line i used before to start xfce, "exec dbus-launch ck-launch-session startxfce4"
Offline