You are not logged in.

#1 2011-02-20 07:41:44

freddie
Member
Registered: 2010-10-02
Posts: 34
Website

Xfce shutdown and reboot disabled with startxfce4

Hello.
I try to fix twinview with my nvidia xorg.conf .And run over this kind of issue.

From the beginning with xfce i only have a logout button no shutdown and reboot.(i can live with that)

I start with startxfce4.

In my xinitrc from wiki    exec ck-launch-session startxfce4  and i have dbus in /etc/rc.conf

But when i start with startx instead all the buttons are there. I can live with that to smile .

An explaination why startx working and startxfce4 not ?? Can it be a bug somewhere?

Last edited by freddie (2011-02-20 10:01:23)

Offline

#2 2011-02-20 09:59:28

Lockheed
Member
Registered: 2010-03-16
Posts: 1,521

Re: Xfce shutdown and reboot disabled with startxfce4

I installed Arch with XFCE and started fazing out parts of the later for Compiz and Gnomenu. Before, I had XFCE logoff menu with all the buttons like shutdown, restart, hibernate, sleep. Now, it is gone and I don't know what commands run them so when I want to restart, I have to type 'reboot' in the terminal.
What are those commands, or how to get this XFCE menu back?

Offline

#3 2011-02-20 10:33:20

alez
Member
Registered: 2009-03-09
Posts: 74

Re: Xfce shutdown and reboot disabled with startxfce4

Did you try exec ck-launch-session dbus-launch startxfce4 ? From the dephts of the forum i got my xinitrc working like that, but don't ask me to where it I found it big_smile
In the wiki, the instructions for xfce4.8 are to put an even longer line


Linux makes you a better person

Offline

#4 2011-02-20 10:57:12

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Xfce shutdown and reboot disabled with startxfce4

Offline

#5 2011-02-20 11:25:19

Spider.007
Member
Registered: 2004-06-20
Posts: 1,175

Re: Xfce shutdown and reboot disabled with startxfce4

Adding your user to the power group should also help

Offline

#6 2011-02-20 11:30:37

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: Xfce shutdown and reboot disabled with startxfce4

Threads merged.


ᶘ ᵒᴥᵒᶅ

Offline

#7 2011-02-20 12:34:50

freddie
Member
Registered: 2010-10-02
Posts: 34
Website

Re: Xfce shutdown and reboot disabled with startxfce4

lockheed  you could always shutdown like this from wiki, thats what i do.

https://wiki.archlinux.org/index.php/Al … o_Shutdown

I have all suggestions from from this thread. And i not use any display manager.
That was more of a surprice that i got shutdown, restart, hibernate, sleep with startx instead of startxfce4. I dont know if more xfce users can do this.
And for me i dont need to have shutdown, restart, hibernate, sleep in the panel.More curious why startx works and startxfce4 not like i say in my first post.

Last edited by freddie (2011-02-20 12:36:17)

Offline

#8 2011-02-20 12:38:26

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Xfce shutdown and reboot disabled with startxfce4

@freddie
You can check what startx does and compare to what startxfce4 does. Check 'less /usr/bin/startx'.

Offline

#9 2011-02-20 14:22:30

Lockheed
Member
Registered: 2010-03-16
Posts: 1,521

Re: Xfce shutdown and reboot disabled with startxfce4

No, it doesn't. I already have all these in place.

freddie wrote:

lockheed  you could always shutdown like this from wiki, thats what i do.

Are these the same commands that are invoked by regular xfce menu I lost?

Offline

#10 2011-02-20 15:57:43

freddie
Member
Registered: 2010-10-02
Posts: 34
Website

Re: Xfce shutdown and reboot disabled with startxfce4

I dont know if the commands are the same in xfce but i use the sudo way from wiki.

Offline

#11 2012-01-19 14:45:59

woohoo
Member
From: Canada
Registered: 2012-01-19
Posts: 3

Re: Xfce shutdown and reboot disabled with startxfce4

The shutdown and restart buttons will get re-enabled if you add your users to the "power" group like this (suppose that "donald" is your user):

# gpasswd -a donald power

and you gotta do the same for root as well:

# gpasswd -a root power


--
"..I've got a strong urge to fly,
but I got nowhere to fly to..."
Pink Floyd, The Wall, Nobody Home

Offline

#12 2012-01-19 14:53:22

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Xfce shutdown and reboot disabled with startxfce4

woohoo, welcome to the forums :-)

I do appreciate you trying to help, but there's no need to bump an old thread adding info that's already in the wiki: https://wiki.archlinux.org/index.php/Xf … ithin_Xfce

Offline

Board footer

Powered by FluxBB