You are not logged in.
Pages: 1
Hi, I am new to AL.
I have installed and all is pretty good.
I have xfce installed, which I run from console, (startxfce4).
I have tried to get xfce to start on boot up, but I am getting a hitch.
(It seems xfce unlike KDE &Gnome doesn't have a display manager)
----
So far, I have tried modifying my /etc/inittab
Initially I commented "boot to console" (id:3) and uncommented "boot to X11" (id:5)
I then tried uncommenting gdm and kdm, but to no avail.
I also tried writing the bash xinitrc file
https://wiki.archlinux.org/index.php/Xf … _boot_time
I then tried following this guide
https://wiki.archlinux.org/index.php/Start_X_at_Boot
-------------------------
Change:
id:3:initdefault:
[...]
x:5:respawn:/usr/bin/xdm -nodaemon
to:
id:5:initdefault:
[...]
x:5:once:/bin/su - -- PREFERRED_USER -l -c '/usr/bin/startx </dev/null >/dev/null 2>&1'
--------------------
None of these changes is having the desired effect.
As I said above, it seems xfce has deprecated their display manager and uses a different modus operandi.
Anybody able to help here?
Is there something I need to add to the rc.conf daemons?
thanks
Last edited by marcusww (2012-05-22 01:01:35)
Offline
You need to uncomment the appropiate line for the login manager, which you have previously installed (slim or lxdm work fine with xfce).
Last edited by z0id (2012-05-21 23:55:02)
/usr/bin/drinking
Offline
You can put "startxfce4" on /etc/rc.local, but in your case, I suggest to use a display manager.
XFCE doesn't have a native one, but it works pretty well with GDM or LXDM. Both are on default repositories and can be installed with:
pacman -S gdmor
pacman -S lxdmThen add gdm or lxdm on DAEMONS line of your rc.conf.
Last edited by rvdli (2012-05-21 23:56:15)
Offline
Thanks guys...that was pretty painless!
In the login screen, I had to choose "xfce session" over "default' in the desktop dropdown menu to get it working.
1 minor issue..
Although I downloaded lxdm, and activated it in daemons, the end of my inittab file is pretty scrappy
with no xdm entry, and an uncommented entry for slim ....does it matter?
Cheers
Offline
Welcome Marcus,
I'd recommend this wiki page on starting X at boot. If there is no need for a display manager (which there rarely is) the I'd suggest the first method in which you boot into runlevel 3 ("console") and have starx run from your bashrc. It seems that there are post after post in this forum about display managers causing all sorts of trouble every day. The bashrc method keeps it simple and keeps you in control.
I'm not bashing (no pun intended) display managers, but many users seem to install them without thinking if there is any reason to use one in the first place. If you have reason for one, go for it, but if not, why take on the hassle?
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Cheers Trilby,
I think your method sounds best.
Anyhow, I have implemented it, and it works fine.
Thanks also to void and rvdli....
However, I will use the method suggested by Trilby!
Offline
Good to hear you adopted the bloat-free option.
Please remember to mark your thread as [Solved].
Offline
Pages: 1