From owner-freebsd-questions@FreeBSD.ORG Fri Jan 11 14:51:47 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 8457E376 for ; Fri, 11 Jan 2013 14:51:47 +0000 (UTC) (envelope-from sts@tp1.rub.de) Received: from mx6.rz.ruhr-uni-bochum.de (mi.ruhr-uni-bochum.de [134.147.64.30]) by mx1.freebsd.org (Postfix) with SMTP id F3791EAD for ; Fri, 11 Jan 2013 14:51:46 +0000 (UTC) X-Queued: (qmail 22915 invoked by alias); 11 Jan 2013 14:45:05 -0000 X-Queued: (qmail 22889 invoked by uid 108); 11 Jan 2013 14:45:05 -0000 X-Qmailscanner: from 134.147.240.78 by mx6.rz.ruhr-uni-bochum.de (envelope-from , uid 102) with qmail-scanner-2.01 (sophie: 3.05/3.37/4.83. Clear:RC:1(134.147.240.78):. Processed in 0.045777 secs); 11 Jan 2013 14:45:05 -0000 Received: from neo.tp1.ruhr-uni-bochum.de (134.147.240.78) by mx6.rz.ruhr-uni-bochum.de with SMTP; 11 Jan 2013 14:45:04 -0000 Received: from freebsd (ip-178-201-64-135.unitymediagroup.de [178.201.64.135]) (authenticated bits=0) by neo.tp1.ruhr-uni-bochum.de (8.14.4/8.14.4) with ESMTP id r0BEj3Vw001460 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Fri, 11 Jan 2013 15:45:04 +0100 Date: Fri, 11 Jan 2013 15:44:02 +0100 From: Stephan Schindel 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> X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.6; amd64-portbld-freebsd9.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jan 2013 14:51:47 -0000 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