Starting the desktop environment doesn't work automatically

Stephan Schindel sts at tp1.rub.de
Fri Jan 11 14:51:47 UTC 2013


For 'su' to get working your user need to be a member of the group
'wheel':

> pw groupmod wheel -m USER

For shutdown/restart in Xfce read the post-installation instructions
(pkg_info -D /var/db/pkg/xfce4-session*):

> Install notice:
> To be able to shutdown or reboot your system, you'll have to add
> a .pkla file in /usr/local/etc/polkit-1/localauthority/50-local.d
> directory. Which looks like this (replace PUTYOURGROUPHERE by your
> group):
> 
> [Restart]
> Identity=unix-group:PUTYOURGROUPHERE
> Action=org.freedesktop.consolekit.system.restart
> ResultAny=yes
> ResultInactive=yes
> ResultActive=yes
> 
> [Shutdown]
> Identity=unix-group:PUTYOURGROUPHERE
> Action=org.freedesktop.consolekit.system.stop
> ResultAny=yes
> ResultInactive=yes
> ResultActive=yes
> 
> For those who have working suspend/resume:
> 
> [Suspend]
> Identity=unix-group:PUTYOURGROUPHERE
> Action=org.freedesktop.upower.suspend
> ResultAny=yes
> ResultInactive=yes
> ResultActive=yes	

Be sure to run your session as a consolekit-session, in startx:

> exec ck-launch-session dbus-launch startxfce4

Hope that helps you,
	Stephan


More information about the freebsd-questions mailing list