You are not logged in.

#1 2004-05-10 13:29:21

arch_newb
Member
From: Canada
Registered: 2004-04-27
Posts: 24

X at boot problems

Hi,

I have installed XFCE4 and have it running well. I then read the following wiki FAQ:
http://wiki.archlinux.org/index.php/Sta … 0at%20boot
and changed my inittab file from id:3:initdefault: to id:5:initdefault:.
Now when I boot I get a plain X window session (not XFCE4) which does not allow me to open any command windows (at least not with the mouse) so I can't change the inittab file back.

I'd like to know how I can change the inittab file back in the plain X session (either open a command tool with some keyboard commands because there are no windows menus or stop X from booting during boot)
and how I can get XFCE4 to start at boot.

Thanks for your help
arch_newb   big_smile  smile

Offline

#2 2004-05-10 17:30:01

tgc
Member
From: DK
Registered: 2004-03-09
Posts: 96

Re: X at boot problems

hi,

Normally you can switch between login shell using ALT+CTRL+FXX, where XX is a number from 1-12 smile
Then just login and start your favorite console editor, i'll recommend nano.

To start XFCE4 i have a ".Xclient" file which contains this:

#!/bin/bash

if [ -e "$HOME/.Xclients-$HOSTNAME$DISPLAY" ]; then
    exec $HOME/.Xclients-$HOSTNAME$DISPLAY
else
    exec $HOME/.Xclients-default
fi

And a file called ".Xclients-default"

exec startxfce4

and that's it smile

Offline

#3 2004-05-10 18:46:44

arch_newb
Member
From: Canada
Registered: 2004-04-27
Posts: 24

Re: X at boot problems

Hi tgc,

tgc wrote:

hi,

Normally you can switch between login shell using ALT+CTRL+FXX, where XX is a number from 1-12 smile
Then just login and start your favorite console editor, i'll recommend nano.

Thanks for this info. I seem to recall reading something about this in the installation docs.  I'm not sure I know when exactly to hit ALT+CTRL+FXX but I will experiment and figure it out.

tgc wrote:

To start XFCE4 i have a ".Xclient" file which contains this:

#!/bin/bash

if [ -e "$HOME/.Xclients-$HOSTNAME$DISPLAY" ]; then
    exec $HOME/.Xclients-$HOSTNAME$DISPLAY
else
    exec $HOME/.Xclients-default
fi

And a file called ".Xclients-default"

exec startxfce4

and that's it smile

Does this code start XFCE4 on boot?

Could U explain this part of the code to me please

if [ -e "$HOME/.Xclients-$HOSTNAME$DISPLAY" ]; then
    exec $HOME/.Xclients-$HOSTNAME$DISPLAY

I have my .Xclient file that contains

 exec startxfce4 

which works great when I type "startxfce4".
I'm not sure what ".Xclients-$HOSTNAME$DISPLAY" refers to. Do I need to create this file?

Thanks for ur help.
I really appreciate it.
arch_newb

Offline

#4 2004-05-10 19:56:38

tgc
Member
From: DK
Registered: 2004-03-09
Posts: 96

Re: X at boot problems

hi,

I'm not sure I know when exactly to hit ALT+CTRL+FXX but I will experiment and figure it out.

No hurry, you can do it when X is started.

That code does start XFCE4 on boot, but actually i don't think you need having 2 separete files as I do, it's possible a leftover from a previous distro, and to be honest i don't know why there are 2 at all.

I hope it helps

Offline

#5 2004-05-10 20:12:28

arch_newb
Member
From: Canada
Registered: 2004-04-27
Posts: 24

Re: X at boot problems

tgc wrote:

hi,

I'm not sure I know when exactly to hit ALT+CTRL+FXX but I will experiment and figure it out.

No hurry, you can do it when X is started.

That code does start XFCE4 on boot, but actually i don't think you need having 2 separete files as I do, it's possible a leftover from a previous distro, and to be honest i don't know why there are 2 at all.

I hope it helps

It definietly helps.
So from what I understand U mean just have

 #!/bin/bash
exec $HOME/.Xclients-default

in .Xclient.
If thats the case I suppose U could just have the

#!/bin/bash
exec startxfce4

in .Xclient and dispense with .Xclients-default entirely.

If I'm wrong please let me know.
Thanks again
arch_newb

Offline

#6 2004-05-10 20:17:09

tgc
Member
From: DK
Registered: 2004-03-09
Posts: 96

Re: X at boot problems

hi,

you're all right smile

Offline

#7 2004-05-11 03:03:16

arch_newb
Member
From: Canada
Registered: 2004-04-27
Posts: 24

Re: X at boot problems

tgc wrote:

hi,

you're all right smile

Hi tgc,
I have tried the script as the my previous posting described but  it did not start XFCE4 when I logged in. Any ideas?
Cheers
Peter

Offline

Board footer

Powered by FluxBB