You are not logged in.
Pages: 1
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
Offline
hi,
Normally you can switch between login shell using ALT+CTRL+FXX, where XX is a number from 1-12
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
Offline
Hi tgc,
hi,
Normally you can switch between login shell using ALT+CTRL+FXX, where XX is a number from 1-12
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.
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
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
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
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
hi,
you're all right
Offline
hi,
you're all right
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
Pages: 1