From owner-freebsd-questions@FreeBSD.ORG Mon Jan 14 16:55:09 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 45708945 for ; Mon, 14 Jan 2013 16:55:09 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) Received: from nm11-vm0.bullet.mail.ird.yahoo.com (nm11-vm0.bullet.mail.ird.yahoo.com [77.238.189.218]) by mx1.freebsd.org (Postfix) with ESMTP id E3B9869D for ; Mon, 14 Jan 2013 16:55:07 +0000 (UTC) Received: from [77.238.189.53] by nm11.bullet.mail.ird.yahoo.com with NNFMP; 14 Jan 2013 16:54:55 -0000 Received: from [217.146.189.66] by tm6.bullet.mail.ird.yahoo.com with NNFMP; 14 Jan 2013 16:54:55 -0000 Received: from [127.0.0.1] by smtp146.mail.ird.yahoo.com with NNFMP; 14 Jan 2013 16:54:55 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s1024; t=1358182495; bh=qmo4/B6wKA8MIFCvCmHgRQeQyJ8/D0BPE/AZXK51OKg=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Content-Type:Subject:Date:To:MIME-Version:Content-Transfer-Encoding:From:Message-ID:User-Agent; b=CmDq9c3UKgKy48qYmIbQvIDP5ENY6uyeXLSiKlNU+jK9v0MjKDbS6Nk1QHQubqGD7LhYtSsWt4qpk57LbdMR9W1jYAD0zT9ebJ9zpH96RwVw2/Kxk/msEEJMAJs5uhijpG2xuh4dX93FVTHHqdPqZnu5Wku6PM1/d+6XlHgWS7k= X-Yahoo-Newman-Id: 693107.49293.bm@smtp146.mail.ird.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: mEZ3qUkVM1nNqYcoN6bOPx3fN0LNrqq8Q2C15oBymPqJoxY RvJPhpPH0aUGo8KsD8kKAU6NKVSsTNNoi7TKTcEnYfAFiCdwjB02h9nEzuDS TjxHtV9mrqtil6kNGwKvLgnn5qcIsC61HdPoIHyDMxZKM7Oghi86W4F_6E4_ _6gq.ttMK0dWz4UWgf_BWZ0XJnQ_d.xl_Xxd_T47B98m6AmqIKkFrLA4NHZW QGrjHPrQCdnWOD0sAV2QTp_2tSe.15V979iPPrTZjXeec2QIxUrs8JD8LjbZ 8H54UAVUH8P7VXNIoYNodhPdV6q_ifzHuNqN8aBJMGsSfBRJVY7v0CqqBB4d seEd41Ai7A0pOckAKvGF6ScBntJ1a3f22QyGKhw3HBkXu.OLBtxxqOHA8vZ1 Cc5ON0EGwxsNt1TdRpu_1TmRBxFye0TJHSKoed9y1RB58X7iw3yFTkE3r_kP pccprzIguSDRhB3YRJMUUrf1gOfOEPY2l1aUhA7fgSYcmJDTZKhq.SAb.tFf vJiZ5qmCrQmrPPivA6l6WvjQ.dVHV.uKCWiDOR9O6LGrf77S90LGzeFmYvg- - X-Yahoo-SMTP: BeMCPs2swBABTJ3kAeEiC_hE0mz8jRexLddJfD8pI2j32fOacjBmXg-- Received: from freebsd (ralf.mardorf@85.182.24.255 with login) by smtp146.mail.ird.yahoo.com with SMTP; 14 Jan 2013 08:54:55 -0800 PST Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Subject: Re: Starting the desktop environment doesn't work automatically Date: Mon, 14 Jan 2013 17:54:55 +0100 To: "FreeBSD Questions" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Ralf Mardorf" Message-ID: User-Agent: Opera Mail/11.61 (FreeBSD) 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: Mon, 14 Jan 2013 16:55:09 -0000 In reply to: http://lists.freebsd.org/pipermail/freebsd-questions/2013-January/248117.html Thank you, to enable "su", I run # pw user mod rocketmouse -G wheel Restart is enabled by $ cat ~/.xinitrc # /usr/local/bin/startxfce4 exec startxfce4 --with-ck-launch # cat /usr/local/etc/polkit-1/localauthority/50-local.d/power.pkla #To be able to shutdown or reboot rocketmouseyour 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:rocketmouse Action=org.freedesktop.consolekit.system.restart ResultAny=yes ResultInactive=yes ResultActive=yes [Shutdown] Identity=unix-group:rocketmouse Action=org.freedesktop.consolekit.system.stop ResultAny=yes ResultInactive=yes ResultActive=yes [Suspend] Identity=unix-group:rocketmouse Action=org.freedesktop.upower.suspend ResultAny=yes ResultInactive=yes ResultActive=yes :D I suspect I randomly copied "rocketmouse" to the comments, that reminds me of another question I've got. If I make mcedit the default editor, could this cause serious issues, perhaps if upgrading the kernel and world? I don't like vi and similar editors. For the DE I usually use gedit and similar editors. Regards, Ralf -- FreeBSD 9.1-RELEASE amd64