You are not logged in.

#1 2010-11-03 11:33:53

innn
Member
Registered: 2010-10-12
Posts: 96

Start X at Boot[SOLVED]

i am using the method described in "Start X at Boot" wiki, the section : "/etc/inittab" meaning i have

id:5:initdefault:

[...]

x:5:once:/bin/su PREFERED_USER -l -c '/usr/bin/startx >/dev/null 2>&1'

whenever i have to kill x , logout from IceWM or change to another tty (1) with ctrl+alt+F1  i cannot get a virtual console. what's happening? does that method of starting X imply some incompatibility with logging out of WM? If so would there be another way to get straight into X at login without  these inconveniences or i should simply install a display manager?

Last edited by innn (2010-11-05 06:54:01)

Offline

#2 2010-11-03 11:58:01

Cyrusm
Member
From: Bozeman, MT
Registered: 2007-11-15
Posts: 1,053

Re: Start X at Boot[SOLVED]

You could try inserting this into your .bashrc

# Start GUI on login
if [[ -z "$DISPLAY" ]] && [[ $(tty) = /dev/tty1 ]] ; then
    exec startx
fi

Hofstadter's Law:
           It always takes longer than you expect, even when you take into account Hofstadter's Law.

Offline

#3 2010-11-03 12:14:44

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Start X at Boot[SOLVED]

Maybe this is a problem with the video drivers.

Offline

#4 2010-11-05 06:53:45

innn
Member
Registered: 2010-10-12
Posts: 96

Re: Start X at Boot[SOLVED]

it seems to work now i suspect something to do with my xinitrc . i had there 1 line "rox -p default ; exec icewm-session" i gave up rox management of desktop icons and went with idesk having now in icewm only "exec icewm-session". i no longer have the problem.

Offline

Board footer

Powered by FluxBB