Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jan 2013 15:44:02 +0100
From:      Stephan Schindel <sts@tp1.rub.de>
To:        freebsd-questions@freebsd.org
Subject:   Re: Starting the desktop environment doesn't work automatically
Message-ID:  <20130111154402.09f41329@freebsd>
In-Reply-To: <1357913834.3856.33.camel@q>
References:  <1357911822.3856.31.camel@q> <1357913834.3856.33.camel@q>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130111154402.09f41329>