You are not logged in.

#1 2012-05-21 23:40:19

marcusww
Member
Registered: 2012-05-17
Posts: 3

[SOLVED]Xfce startup

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

#2 2012-05-21 23:54:09

z0id
Member
From: Romania
Registered: 2010-02-02
Posts: 122

Re: [SOLVED]Xfce startup

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

#3 2012-05-21 23:54:35

rvdli
Member
Registered: 2011-08-25
Posts: 27

Re: [SOLVED]Xfce startup

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 gdm

or

pacman -S lxdm

Then add gdm or lxdm on DAEMONS line of your rc.conf.

Last edited by rvdli (2012-05-21 23:56:15)

Offline

#4 2012-05-22 00:17:13

marcusww
Member
Registered: 2012-05-17
Posts: 3

Re: [SOLVED]Xfce startup

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

#5 2012-05-22 00:18:18

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,557
Website

Re: [SOLVED]Xfce startup

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

#6 2012-05-22 00:39:54

marcusww
Member
Registered: 2012-05-17
Posts: 3

Re: [SOLVED]Xfce startup

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

#7 2012-05-22 00:56:54

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED]Xfce startup

Good to hear you adopted the bloat-free option.

Please remember to mark your thread as [Solved].


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB