Opened 12 years ago

Closed 11 years ago

Last modified 10 years ago

#3570 closed enhancement (wontfix)

Configuring Xfce has lost somes nice info

Reported by: tnut Owned by: blfs-book@…
Priority: normal Milestone:
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc:

Description

Would it make sence to put back the contents of .xinitrc:

echo exec xfce4-session > ~/.xinitrc

with dbus

echo "exec dbus-launch --exit-with-session xfce4-session" > ~/.xinitrc

with Consolekit

echo "exec dbus-launch startxfce4 --with-ck-launch" > ~/.xinitrc

(if I'm right...)

Tanks a lot

Thierry

Change History (4)

comment:1 by bdubbs@…, 12 years ago

In the case of consolekit it doesn't make sense. Both startx and startxfce4 run xinit and that's a conflict.

It would be nicer to run startx, but I haven't been able to find out how to properly start xfce with startx, dbus, and consolekit.

comment:2 by Armin K, 11 years ago

I started xfce with "ck-launch-session dbus-launch --exit-with-session xfce4-session" ... It seemed to work tough, but I got some runtime errors (session not set or such)

I switched to startxfce4 instead of xfce4-session and it seemed to work very well.

comment:3 by bdubbs@…, 11 years ago

Resolution: wontfix
Status: newclosed

Looking at xfce4-session, it is setting XDG_DATA_DIRS and XDG_CONFIG_DIRS and running 'exec xinit /etc/xdg/xfce4/xinitrc'

The file /etc/xdg/xfce4/xinitrc exports several variables: XDG_MENU_PREFIX, DESKTOP_SESSION, GLADE_{CATALOG,PIXMAP,MODULE}_PATH, creates directories $HOME/.config, $HOME/.cache if needed, runs xdg-user-dirs-update, xrdb, xmodmap, nad finally starts xfce4-session.

On the other hand startx ends up running 'xinit "xterm" -- "/opt/xorg/bin/X" :0 -auth $HOME/.serverauth.$$'

xinit uses at .xinitrc.

The bottom line is that xfce4-session is much more robust.

comment:4 by bdubbs@…, 10 years ago

Milestone: current

Milestone current deleted

Note: See TracTickets for help on using tickets.