AGGIORNAMENTO - Rimuovere il mio dongle WiFi USB sembra curare il problema. Lo stesso vale per disabilitare la rete (ma non disabilitare la sola connessione wifi). E adesso?
AGGIORNAMENTO 2 - Il comando 'uptime' dice che ci sono 2 utenti connessi. Questo causerà sicuramente il comportamento che sto descrivendo. Ho intenzione di scavare e vedere se riesco a determinare chi è l'altro utente. Non importa, questo era dovuto solo al terminale che avevo aperto sul desktop.
Se accedo a qualsiasi account, scegliendo 'Chiudi' o riavvia mi porta alla schermata di benvenuto. Lo stesso accade nel saluto stesso: sono rimasto lì. Nessun altro utente ha effettuato l'accesso.
Se non eseguo l'accesso a un account dopo il riavvio, le opzioni di menu di riavvio e spegnimento nella schermata di benvenuto funzioneranno se le scelgo immediatamente dopo la visualizzazione della finestra di dialogo. Vedi un diagramma di avvio qui: https://www.dropbox.com/s/ufb7s6ykvlbkjxj/jarlath-EP35-DS3-precise-20130116-3.png
Se aspetto 5 secondi o eseguo l'accesso a un account utente, non funzioneranno. L'ho provato diverse volte. Visualizza un diagramma di avvio di questo (eseguito l'accesso come utente): https://www.dropbox.com/s/yx6jgoo2c7fy6pp/jarlath-EP35-DS3-precise-20130116-4.png
sudo -halt e sudo reboot funzionano entrambi come dovrebbero comunque.
Ho emesso tutti i processi da un account registrato (ps -A) e li ho lasciati qui: www.pastebin.com/e3WHtHYm
Suppongo che sia un aggiornamento, qualcosa di nuovo dal centro software (non probabile perché non ho installato nulla al momento) o un comando terminale che ho emesso sta causando questo. Ecco la mia .bash_history da prima dell'inizio del problema: pastebin.com/1DE5Tcd3
Il mio kernel è 3.2.0-35, ho provato anche l'avvio di kernel più vecchi:
- 3.2.0-32, 31, 30, 29, 26, 25, 24, 23, 22 -> Nessuna differenza
Come da suggerimenti nel bug https://bugs.launchpad.net/ubuntu/+source/gnome-session/+bug/838792 ho provato:
- Grepped my /etc/init.d per i servizi che usano su e rimosso 1 (ClamAV).
- Killed PulseAudio
Nessuno di questi ha aiutato. Qualche altro contesto di seguito;
jarlath@jarlath-EP35-DS3:~$ cat /etc/polkit-1/localauthority.conf.d/51-ubuntu-admin.conf
[Configuration]
AdminIdentities=unix-group:sudo;unix-group:admin
jarlath@jarlath-EP35-DS3:~$ groups
jarlath adm cdrom sudo dip plugdev lpadmin sambashare vboxusers movies
Da Logviewer, ecco l'output che viene generato nel momento in cui provo a chiudere dal menu utente:
auth.log
Feb 28 15:39:01 jarlath-EP35-DS3 CRON[15249]: pam_unix(cron:session): session opened for user root by (uid=0)
Feb 28 15:39:01 jarlath-EP35-DS3 CRON[15249]: pam_unix(cron:session): session closed for user root
Feb 28 15:39:16 jarlath-EP35-DS3 polkitd(authority=local): Unregistered Authentication Agent for unix-session:/org/freedesktop/ConsoleKit/Session6 (system bus name :1.114, object path /org/gnome/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
Feb 28 15:39:19 jarlath-EP35-DS3 lightdm: pam_unix(lightdm:session): session closed for user jarlath
Feb 28 15:39:22 jarlath-EP35-DS3 lightdm: pam_unix(lightdm:session): session opened for user lightdm by (uid=0)
Feb 28 15:39:22 jarlath-EP35-DS3 lightdm: pam_ck_connector(lightdm:session): nox11 mode, ignoring PAM_TTY :0
Feb 28 15:39:25 jarlath-EP35-DS3 lightdm: pam_succeed_if(lightdm:auth): requirement "user ingroup nopasswdlogin" not met by user "jarlath"
Feb 28 15:39:26 jarlath-EP35-DS3 dbus[580]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.184" (uid=104 pid=15385 comm="/usr/lib/indicator-datetime/indicator-datetime-ser") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination=":1.15" (uid=0 pid=1438 comm="/usr/sbin/console-kit-daemon --no-daemon ")
Feb 28 15:39:30 jarlath-EP35-DS3 lightdm: pam_unix(lightdm:session): session closed for user lightdm
Feb 28 15:39:30 jarlath-EP35-DS3 lightdm: pam_unix(lightdm:session): session opened for user jarlath by (uid=0)
Feb 28 15:39:30 jarlath-EP35-DS3 lightdm: pam_ck_connector(lightdm:session): nox11 mode, ignoring PAM_TTY :0
Feb 28 15:39:34 jarlath-EP35-DS3 polkitd(authority=local): Registered Authentication Agent for unix-session:/org/freedesktop/ConsoleKit/Session9 (system bus name :1.198 [/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1], object path /org/gnome/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
Feb 28 15:39:45 jarlath-EP35-DS3 dbus[580]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.208" (uid=1000 pid=15640 comm="/usr/lib/indicator-datetime/indicator-datetime-ser") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination=":1.15" (uid=0 pid=1438 comm="/usr/sbin/console-kit-daemon --no-daemon ")
syslog
Feb 28 15:39:01 jarlath-EP35-DS3 CRON[15250]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -cmin +$(/usr/lib/php5/maxlifetime) ! -execdir fuser -s {} 2>/dev/null \; -delete)
Feb 28 15:39:16 jarlath-EP35-DS3 gnome-session[3479]: WARNING: Unable to load desktop file '/usr/bin/everpad.desktop': No such file or directory
Feb 28 15:39:16 jarlath-EP35-DS3 gnome-session[3479]: EggSMClient-WARNING: Desktop file '/usr/share/applications/everpad.desktop' has malformed Icon key 'everpad.png'(should not include extension)
Feb 28 15:39:16 jarlath-EP35-DS3 gnome-session[3479]: WARNING: Unable to find desktop file 'Transmission BitTorrent Client.desktop': Valid key file could not be found in search dirs
Feb 28 15:39:16 jarlath-EP35-DS3 gnome-session[3479]: WARNING: Unable to find desktop file 'gnome-Transmission BitTorrent Client.desktop': Valid key file could not be found in search dirs
Feb 28 15:39:18 jarlath-EP35-DS3 gnome-session[3479]: WARNING: Unable to stop system: Authorization is required
Feb 28 15:39:20 jarlath-EP35-DS3 NetworkManager[1173]: <warn> error requesting auth for org.freedesktop.NetworkManager.sleep-wake: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.126': no such name
Feb 28 15:39:20 jarlath-EP35-DS3 NetworkManager[1173]: <warn> error requesting auth for org.freedesktop.NetworkManager.enable-disable-wifi: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.126': no such name
Feb 28 15:39:20 jarlath-EP35-DS3 NetworkManager[1173]: <warn> error requesting auth for org.freedesktop.NetworkManager.enable-disable-wwan: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.126': no such name
Feb 28 15:39:20 jarlath-EP35-DS3 NetworkManager[1173]: <warn> error requesting auth for org.freedesktop.NetworkManager.enable-disable-wimax: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.126': no such name
Feb 28 15:39:20 jarlath-EP35-DS3 NetworkManager[1173]: <warn> error requesting auth for org.freedesktop.NetworkManager.network-control: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.126': no such name
Feb 28 15:39:20 jarlath-EP35-DS3 NetworkManager[1173]: <warn> error requesting auth for org.freedesktop.NetworkManager.wifi.share.protected: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.126': no such name
Feb 28 15:39:20 jarlath-EP35-DS3 NetworkManager[1173]: <warn> error requesting auth for org.freedesktop.NetworkManager.wifi.share.open: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.126': no such name
Feb 28 15:39:20 jarlath-EP35-DS3 NetworkManager[1173]: <warn> error requesting auth for org.freedesktop.NetworkManager.settings.modify.system: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.126': no such name
Feb 28 15:39:20 jarlath-EP35-DS3 NetworkManager[1173]: <warn> error requesting auth for org.freedesktop.NetworkManager.settings.modify.own: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.126': no such name
Feb 28 15:39:20 jarlath-EP35-DS3 NetworkManager[1173]: <warn> error requesting auth for org.freedesktop.NetworkManager.settings.modify.hostname: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.126': no such name
Feb 28 15:39:21 jarlath-EP35-DS3 acpid: client 3292[0:0] has disconnected
Feb 28 15:39:21 jarlath-EP35-DS3 acpid: client 3292[0:0] has disconnected
Feb 28 15:39:21 jarlath-EP35-DS3 acpid: client connected from 15280[0:0]
Feb 28 15:39:21 jarlath-EP35-DS3 acpid: 1 client rule loaded
Feb 28 15:39:22 jarlath-EP35-DS3 acpid: client connected from 15280[0:0]
Feb 28 15:39:22 jarlath-EP35-DS3 acpid: 1 client rule loaded
Feb 28 15:39:26 jarlath-EP35-DS3 rtkit-daemon[2276]: Successfully made thread 15412 of process 15412 (n/a) owned by '104' high priority at nice level -11.
Feb 28 15:39:26 jarlath-EP35-DS3 rtkit-daemon[2276]: Supervising 7 threads of 2 processes of 2 users.
Feb 28 15:39:27 jarlath-EP35-DS3 rtkit-daemon[2276]: Successfully made thread 15416 of process 15412 (n/a) owned by '104' RT at priority 5.
Feb 28 15:39:27 jarlath-EP35-DS3 rtkit-daemon[2276]: Supervising 8 threads of 2 processes of 2 users.
Feb 28 15:39:27 jarlath-EP35-DS3 rtkit-daemon[2276]: Successfully made thread 15417 of process 15412 (n/a) owned by '104' RT at priority 5.
Feb 28 15:39:27 jarlath-EP35-DS3 rtkit-daemon[2276]: Supervising 9 threads of 2 processes of 2 users.
Feb 28 15:39:27 jarlath-EP35-DS3 rtkit-daemon[2276]: Successfully made thread 15418 of process 15412 (n/a) owned by '104' RT at priority 5.
Feb 28 15:39:27 jarlath-EP35-DS3 rtkit-daemon[2276]: Supervising 10 threads of 2 processes of 2 users.
Feb 28 15:39:27 jarlath-EP35-DS3 rtkit-daemon[2276]: Successfully made thread 15419 of process 15412 (n/a) owned by '104' RT at priority 5.
Feb 28 15:39:27 jarlath-EP35-DS3 rtkit-daemon[2276]: Supervising 11 threads of 2 processes of 2 users.
Feb 28 15:39:27 jarlath-EP35-DS3 rtkit-daemon[2276]: Successfully made thread 15420 of process 15412 (n/a) owned by '104' RT at priority 5.
Feb 28 15:39:27 jarlath-EP35-DS3 rtkit-daemon[2276]: Supervising 12 threads of 2 processes of 2 users.
Feb 28 15:39:31 jarlath-EP35-DS3 gnome-session[15446]: EggSMClient-WARNING: Desktop file '/home/jarlath/.config/autostart/everpad.desktop' has malformed Icon key 'everpad.png'(should not include extension)
Feb 28 15:39:36 jarlath-EP35-DS3 goa[15570]: goa-daemon version 3.4.0 starting [main.c:112, main()]
Feb 28 15:40:45 jarlath-EP35-DS3 dbus[580]: [system] Activating service name='org.freedesktop.PackageKit' (using servicehelper)
Feb 28 15:40:45 jarlath-EP35-DS3 AptDaemon: INFO: Initializing daemon
Feb 28 15:40:45 jarlath-EP35-DS3 AptDaemon.PackageKit: INFO: Initializing PackageKit compat layer
Feb 28 15:40:45 jarlath-EP35-DS3 dbus[580]: [system] Successfully activated service 'org.freedesktop.PackageKit'
Feb 28 15:40:45 jarlath-EP35-DS3 AptDaemon.PackageKit: INFO: Initializing PackageKit transaction
Feb 28 15:40:45 jarlath-EP35-DS3 AptDaemon.Worker: INFO: Simulating trans: /org/debian/apt/transaction/dcf18c7d7f2c412a82d3288c2df8c094
Feb 28 15:40:45 jarlath-EP35-DS3 AptDaemon.Worker: INFO: Processing transaction /org/debian/apt/transaction/dcf18c7d7f2c412a82d3288c2df8c094
Feb 28 15:40:46 jarlath-EP35-DS3 AptDaemon.PackageKit: INFO: Get updates()
Feb 28 15:40:46 jarlath-EP35-DS3 AptDaemon.Worker: INFO: Finished transaction /org/debian/apt/transaction/dcf18c7d7f2c412a82d3288c2df8c094
Soluzione: ho trovato una soluzione. Non lo sto usando come una risposta in quanto non identifica la causa principale, ma per gli altri che sono soddisfatti di una soluzione per se stessi dovrebbero provare questo consiglio da grendndelman.net
Crea un file chiamato /etc/polkit-1/localauthority/50-local.d/usershutdown.pkla (il nome deve terminare con .pkla) e inserisci quanto segue:
[Allow Shutdown]
Identity=unix-user:*
Action=org.freedesktop.consolekit.system.stop-multiple-users
ResultAny=yes
ResultInactive=yes
ResultActive=yes
[Allow Restart]
Identity=unix-user:*
Action=org.freedesktop.consolekit.system.restart-multiple-users
ResultAny=yes
ResultInactive=yes
ResultActive=yes