Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[doch nicht solved] PC in XFCE4 als user herunterfahren
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
76062563
l33t
l33t


Joined: 16 Aug 2004
Posts: 637
Location: 127.0.0.1

PostPosted: Thu Feb 17, 2005 11:01 pm    Post subject: [doch nicht solved] PC in XFCE4 als user herunterfahren Reply with quote

Ist es möglich (wenn ja wie?) als normaler User den PC in XFCE4 herunterzufahren ohne sich vorher ausloggen zu müssen?
Ich kann nur die laufende Sitzung beenden, die Einträge Computer neu starten und Computer herunterfahren sind ausgegraut.
Falls das irgendwas zur Sache tut: Ich verwende gdm.
Desweiteren funktioniert Desktop sperren nicht, hat das auch etwas damit zu tun?

Gruß aus München,
Jonny
_________________
gentoo - compile your own world


Last edited by 76062563 on Sat Feb 26, 2005 10:38 pm; edited 2 times in total
Back to top
View user's profile Send private message
z4Rilla
Apprentice
Apprentice


Joined: 22 Dec 2003
Posts: 291
Location: EU

PostPosted: Thu Feb 17, 2005 11:35 pm    Post subject: Reply with quote

du brauchst app-admin/sudo
und dann in /etc/sudoers
Code:
user  ALL= NOPASSWD: /usr/libexec/xfsm-shutdown-helper


user durch deinen benutzer ersetzen ;)
Back to top
View user's profile Send private message
hiroki
Guru
Guru


Joined: 29 Jul 2003
Posts: 327
Location: @home in germany

PostPosted: Thu Feb 17, 2005 11:37 pm    Post subject: Reply with quote

uff.. also bei mir war das alles standardmäßig möglich. d.h. ich kann als normaler user herunterfahren, neu starten, sperren, etc.
und ich nutze auch GDM. ich würde jetzt entweder sagen, dass du irgendeine einstellung in irgendeiner config von XFCE4 hast, die das deaktiviert... [daher wäre ein nachschauen in ~/.xfce4 bzw. ~/.config/xfce4
oder aber es ist systemweit gesperrt. dann...keinen schimmer wo das dann eingetragen ist °°
sorry, kann leider nicht so viel helfen dabei.
Back to top
View user's profile Send private message
rokaef
Tux's lil' helper
Tux's lil' helper


Joined: 21 Nov 2004
Posts: 90
Location: Ilmenau (Germany)

PostPosted: Fri Feb 18, 2005 1:00 am    Post subject: Reply with quote

z4Rilla wrote:
du brauchst app-admin/sudo
und dann in /etc/sudoers
Code:
user  ALL= NOPASSWD: /usr/libexec/xfsm-shutdown-helper


user durch deinen benutzer ersetzen ;)

Danke, bei mir hats geklappt. :D
_________________
Everything must be available in abundance, then are we never alone.
Back to top
View user's profile Send private message
z4Rilla
Apprentice
Apprentice


Joined: 22 Dec 2003
Posts: 291
Location: EU

PostPosted: Fri Feb 18, 2005 1:46 am    Post subject: Reply with quote

zum sperren vom desktop muss glaube ich xscreensaver laufen und konfiguriert sein...
Back to top
View user's profile Send private message
chrib
Guru
Guru


Joined: 27 Sep 2003
Posts: 558
Location: Berlin, Germany

PostPosted: Fri Feb 18, 2005 6:49 am    Post subject: Reply with quote

z4Rilla wrote:
zum sperren vom desktop muss glaube ich xscreensaver laufen und konfiguriert sein...


Das musst Du nicht nur glauben, das ist so. :D
_________________
Der Mensch kämpft um zu überleben, und nicht, um zu Grunde zu gehen. - Paulo Coelho
It is the end of all hope. To lose the child, the faith. To end all the innocence. To be someone like me. - Nightwish - End of all hope
Back to top
View user's profile Send private message
z4Rilla
Apprentice
Apprentice


Joined: 22 Dec 2003
Posts: 291
Location: EU

PostPosted: Fri Feb 18, 2005 12:24 pm    Post subject: Reply with quote

ja das kam so ausm bauch raus :wink:
Back to top
View user's profile Send private message
76062563
l33t
l33t


Joined: 16 Aug 2004
Posts: 637
Location: 127.0.0.1

PostPosted: Fri Feb 18, 2005 10:22 pm    Post subject: Reply with quote

Funktioniert super, dankeschön!
_________________
gentoo - compile your own world
Back to top
View user's profile Send private message
76062563
l33t
l33t


Joined: 16 Aug 2004
Posts: 637
Location: 127.0.0.1

PostPosted: Sat Feb 26, 2005 10:40 pm    Post subject: Reply with quote

Seit heute habe ich das Problem dass ich zwar den Punkt "Computer herunterfahren" auswählen kann, ich komme allerdings zum Anmeldebildschrim von gdm. Erst wenn ich mich erneut einlogge und dann wieder "Computer herunterfahren" auswähle wird der PC tatsächlich heruntergefahren.
Hat jemand eine Idee woran das liegen könnte?
_________________
gentoo - compile your own world
Back to top
View user's profile Send private message
76062563
l33t
l33t


Joined: 16 Aug 2004
Posts: 637
Location: 127.0.0.1

PostPosted: Sat Mar 19, 2005 3:00 pm    Post subject: Reply with quote

76062563 wrote:
Seit heute habe ich das Problem dass ich zwar den Punkt "Computer herunterfahren" auswählen kann, ich komme allerdings zum Anmeldebildschrim von gdm. Erst wenn ich mich erneut einlogge und dann wieder "Computer herunterfahren" auswähle wird der PC tatsächlich heruntergefahren.
Hat jemand eine Idee woran das liegen könnte?


*bump*
_________________
gentoo - compile your own world
Back to top
View user's profile Send private message
MiC
Tux's lil' helper
Tux's lil' helper


Joined: 25 Feb 2004
Posts: 76

PostPosted: Wed Mar 30, 2005 3:42 pm    Post subject: Reply with quote

hallo

ich habe das selbe Problem wie Jonny! Weiß schon einer ne lösung?

MiC
Back to top
View user's profile Send private message
mc-max
Guru
Guru


Joined: 22 Feb 2005
Posts: 305
Location: Frankfurt

PostPosted: Wed Mar 30, 2005 6:38 pm    Post subject: Reply with quote

ich habe das auch manchmal, wenn es irgendwo noch eine root-session (zB. in der console) läuft. Unter gdm kann man aber auch unter "session" den PC runter fahren lassen, ohne sich nochmal anzumelden.
Back to top
View user's profile Send private message
76062563
l33t
l33t


Joined: 16 Aug 2004
Posts: 637
Location: 127.0.0.1

PostPosted: Wed Mar 30, 2005 6:47 pm    Post subject: Reply with quote

Ich habe das Problem nach wie vor... ich habe es allerdings halbwegs umgangen (gelöst kann man beim besten Willen nicht sagen) indem ich einen Screenshot vom "Shutdownbutton" gemacht hab und dieses Bild mit folgendem Shellscript im xfce4-panel verknüpft habe:
Code:
#!/bin/sh
xfce4-session-logout
sleep 15
sudo /sbin/halt

Das ist keine wirkliche Lösung und eine schöne erst recht nicht, aber ich krieg so meine Session gespeichert...
Die Auswahl ob man herunterfahren, rebooten oder sich ausloggen will ist hinfällig man muss nur irgendwas machen damit die Session gespeichert wird.

PS: ja ich weiß, das Script ist unter aller Sau
Back to top
View user's profile Send private message
Jocmoc
n00b
n00b


Joined: 30 Jun 2004
Posts: 54

PostPosted: Mon May 23, 2005 7:02 pm    Post subject: Reply with quote

man kann den Rechner nur sofort runterfahren, wenn absolut keine Root-Prozesse mehr am laufen sind!
- also immer hübsch alles zumachen was so unterm root läuft
zB: root-Terminal
ansonsten funktioniert das alles einwandfrei (jedenfalls bei mir!)
---danke---
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum