Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gnome 2.10 & menu logout
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
ProT-0-TypE
Veteran
Veteran


Joined: 20 Dec 2003
Posts: 1624
Location: Cagliari

PostPosted: Tue Jun 07, 2005 12:32 am    Post subject: Gnome 2.10 & menu logout Reply with quote

Altro problemino con gnome 2.10!

Nelle precedenti versioni, se selezionavo dal menu sessioni la "conferma", mi appariva nel menu di logout la possibilità di termianre la sessione, riavviare o spegnere il pc. Con la 2.10 non ci sono riuscito.
Qualcuno di voi ce l'ha fatta??

(non uso gdm, ma ho uno scriptino che mi logga automaticamente)
_________________
[Vuoi guadagnare navigando?]
Back to top
View user's profile Send private message
Ic3M4n
Advocate
Advocate


Joined: 02 Nov 2004
Posts: 3489
Location: Bergamo.

PostPosted: Tue Jun 07, 2005 1:00 am    Post subject: Reply with quote

Code:
applicazioni -> strumenti di sistema -> editor della configurazione -> apps -> gnome-session -> options -> logout prompt
Back to top
View user's profile Send private message
ProT-0-TypE
Veteran
Veteran


Joined: 20 Dec 2003
Posts: 1624
Location: Cagliari

PostPosted: Tue Jun 07, 2005 1:10 am    Post subject: Reply with quote

già selezionato, ma non funziona :-D
_________________
[Vuoi guadagnare navigando?]
Back to top
View user's profile Send private message
Ic3M4n
Advocate
Advocate


Joined: 02 Nov 2004
Posts: 3489
Location: Bergamo.

PostPosted: Tue Jun 07, 2005 1:14 am    Post subject: Reply with quote

ed allora mi spiace ma non lo so. io ho semplicemente abilitato quello e va alla grande.
Back to top
View user's profile Send private message
ProT-0-TypE
Veteran
Veteran


Joined: 20 Dec 2003
Posts: 1624
Location: Cagliari

PostPosted: Tue Jun 07, 2005 6:44 am    Post subject: Reply with quote

con gnome 2.10? usi qualche login manager?
_________________
[Vuoi guadagnare navigando?]
Back to top
View user's profile Send private message
Ic3M4n
Advocate
Advocate


Joined: 02 Nov 2004
Posts: 3489
Location: Bergamo.

PostPosted: Tue Jun 07, 2005 8:51 am    Post subject: Reply with quote

sul portatile uso gdm. perciò ho detto una stupidata...
se mi loggo da console non mi da la possibilità del riavvio o dello shutdown. credo che dipenda dal fatto che normalmente un utente non può riavviare il pc o spegnrerlo (halt e shutdown sono solo x root) mentre il menu di gdm consente il tutto. gnome potrebbe fare un controllo sul fatto che gdm sia o meno attivo...
Back to top
View user's profile Send private message
ProT-0-TypE
Veteran
Veteran


Joined: 20 Dec 2003
Posts: 1624
Location: Cagliari

PostPosted: Tue Jun 07, 2005 8:59 am    Post subject: Reply with quote

fino al 2.8 non avevo problemi..

e ovviamente ho settato il tutto per poter riavviare anche da utente normale..
_________________
[Vuoi guadagnare navigando?]
Back to top
View user's profile Send private message
Cazzantonio
Bodhisattva
Bodhisattva


Joined: 20 Mar 2004
Posts: 4514
Location: Somewere around the world

PostPosted: Tue Jun 07, 2005 9:10 am    Post subject: Reply with quote

Ic3M4n wrote:
se mi loggo da console non mi da la possibilità del riavvio o dello shutdown.

prova a lanciare visudo e ad aggiungere questo:
Code:
%users ALL= PASSWD: /sbin/halt
%users ALL= PASSWD: /sbin/reboot

:wink:

poi magari con un paio di alias nel .bashrc
Code:
alias halt='sudo /sbin/halt'
alias reboot='sudo /sbin/reboot'

rendi più veloce la procedura...
puoi anche sostituire "PASSWS" con "NOPASSWD" per eliminare l'autenticazione (comoda imho perché almeno ci pensi 2 secondi prima di riavviare...)
_________________
Any mans death diminishes me, because I am involved in Mankinde; and therefore never send to know for whom the bell tolls; It tolls for thee.
-John Donne
Back to top
View user's profile Send private message
Ic3M4n
Advocate
Advocate


Joined: 02 Nov 2004
Posts: 3489
Location: Bergamo.

PostPosted: Tue Jun 07, 2005 9:16 am    Post subject: Reply with quote

@Cazzantonio: grazie per le info ma avevo già risolto un po di tempo fa.

scusa ma mi sono espresso male, intendevo che di default gentoo come credo molte altre distro che non hanno un utilizzo prettamente desktop non consentano il riavvio da utente se non esplicitamente acconsentito dall'amministratore, mentre nel caso dell'utilizzo di gdm, come credo altri login grafici, visto che già loro lo consentono è stato messo direttamente nella schermata i chiusura della sessione. anche perchè altrimenti la cosa sarebbe abb. stupida, bisognerebbe riavviare il server X per poi dare un comando di shutdown.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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