You are not logged in.

#1 2011-01-22 09:49:47

toketin
Member
From: Belluno (Italy)
Registered: 2007-04-17
Posts: 326

[Solved]Startx without login manager

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

#2 2011-01-22 10:01:14

ryuslash
Member
Registered: 2010-10-11
Posts: 58
Website

Re: [Solved]Startx without login manager

and X doesn't report any errors?

Offline

#3 2011-01-22 10:04:39

toketin
Member
From: Belluno (Italy)
Registered: 2007-04-17
Posts: 326

Re: [Solved]Startx without login manager

mm I've to search into its log

Offline

#4 2011-01-22 12:06:29

barto
Member
From: Budapest, Hungary
Registered: 2009-10-22
Posts: 88

Re: [Solved]Startx without login manager

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

#5 2011-01-22 14:37:18

toketin
Member
From: Belluno (Italy)
Registered: 2007-04-17
Posts: 326

Re: [Solved]Startx without login manager

barto wrote:

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

#6 2011-01-22 15:17:47

pyther
Member
Registered: 2008-01-21
Posts: 1,395
Website

Re: [Solved]Startx without login manager

If this is solved mark it as such, please


Website - Blog - arch-home
Arch User since March 2005

Offline

#7 2011-01-22 15:19:38

whatshisname
Member
Registered: 2010-04-24
Posts: 163

Re: [Solved]Startx without login manager

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

#8 2011-01-22 18:27:06

toketin
Member
From: Belluno (Italy)
Registered: 2007-04-17
Posts: 326

Re: [Solved]Startx without login manager

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

Board footer

Powered by FluxBB