From owner-freebsd-xfce@FreeBSD.ORG Tue Oct 16 11:59:53 2012 Return-Path: Delivered-To: xfce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8EA4556B for ; Tue, 16 Oct 2012 11:59:53 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 434228FC14 for ; Tue, 16 Oct 2012 11:59:53 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id q9GBxqE1023386; Tue, 16 Oct 2012 05:59:52 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id q9GBxqsV023383; Tue, 16 Oct 2012 05:59:52 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Tue, 16 Oct 2012 05:59:52 -0600 (MDT) From: Warren Block To: Olivier Duchateau Subject: Re: restart and shutdown permissions In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Tue, 16 Oct 2012 05:59:52 -0600 (MDT) Cc: xfce@freebsd.org X-BeenThere: freebsd-xfce@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: XFCE for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Oct 2012 11:59:53 -0000 On Tue, 16 Oct 2012, Olivier Duchateau wrote: > 2012/10/16 Warren Block : >> On Mon, 15 Oct 2012, Olivier Duchateau wrote: >> >>> How do you launch your session ? With xinitrc file provides by >>> x11-wm/xfce4-session or with your own xinitrc. >> >> >> My own .xinitrc, which is just >> >> /usr/local/bin/startxfce4 >> >> >>> What's your login manager ? You must use login manager which supports >>> sysutils/consolekit. Like x11/slim, x11/gdm (there's an issue with >>> x11/xdm). >> >> >> None, just startx. Aha, that is why people are using ck-launch-session. >> Using that to run startxfce4, it works, and without sudo. > > Ok, you must add in your xinitrc file `ck-launch-session' before > xfce4-session (don't use startxfce4). > You can look at /usr/local/etc/xdg/xfce4/xinitrc file. It provides > this case (line 84 to 107). > > You can test with xinitrc file provided by x11-wm/xfce4-session, and > then adjust your own. Why should startxfce4 not be used?