Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 01/02/2010, à 23:11

mardi_gras

problème quand j'éteins le pc

salut!

je viens de me mettre à ubuntu (9.10)...
j'ai un petit souci lorsque j'éteins le pc. une fenêtre apparaît me disant ceci:

"
system policy prevents stopping the system when other users are logged in. une application tente d'effectuer une action qui nécessite des privilèges, il est nécessaire de s'authentifier

détail: org.freedesktop.consolekit.system.stop-multiple-users
"

il n'y a qu'un seul utilisateur crée sur le pc.

que puis-je faire pour résoudre ceci?

d'avance, merci!

Hors ligne

#2 Le 02/02/2010, à 11:16

marc_qui

Re : problème quand j'éteins le pc

salut,
https://bugs.launchpad.net/ubuntu/+source/consolekit/+bug/287723

Hors ligne

#3 Le 02/02/2010, à 22:23

pipou24

Re : problème quand j'éteins le pc

hmm ce rapport de bug n'aide pas trop. En plus il est censé etre résolu depuis Jaunty.
@mardi gras, comment eteint-tu le PC exactement ?
dans un terminal, la commande :

ps -ef

te listera tous les processus, postes ici ceux qui ne sont pas lancés par ton login

essaye aussi cette commande (elle est censée éteindre proprement l'ordi) :

/usr/lib/indicator-session/gtk-logout-helper --shutdown

pour voir si elle te retourne d'autres messages.


Non geek et fier de l'être. ㋡

Hors ligne

#4 Le 02/02/2010, à 22:45

mardi_gras

Re : problème quand j'éteins le pc

voilà ce que me donne la commande ps -ef

UID        PID  PPID  C STIME TTY          TIME CMD
root         1     0  0 21:33 ?        00:00:01 /sbin/init
root         2     0  0 21:33 ?        00:00:00 [kthreadd]
root         3     2  0 21:33 ?        00:00:00 [migration/0]
root         4     2  0 21:33 ?        00:00:00 [ksoftirqd/0]
root         5     2  0 21:33 ?        00:00:00 [watchdog/0]
root         6     2  0 21:33 ?        00:00:00 [migration/1]
root         7     2  0 21:33 ?        00:00:00 [ksoftirqd/1]
root         8     2  0 21:33 ?        00:00:00 [watchdog/1]
root         9     2  0 21:33 ?        00:00:00 [events/0]
root        10     2  0 21:33 ?        00:00:00 [events/1]
root        11     2  0 21:33 ?        00:00:00 [cpuset]
root        12     2  0 21:33 ?        00:00:00 [khelper]
root        13     2  0 21:33 ?        00:00:00 [netns]
root        14     2  0 21:33 ?        00:00:00 [async/mgr]
root        15     2  0 21:33 ?        00:00:00 [kintegrityd/0]
root        16     2  0 21:33 ?        00:00:00 [kintegrityd/1]
root        17     2  0 21:33 ?        00:00:00 [kblockd/0]
root        18     2  0 21:33 ?        00:00:00 [kblockd/1]
root        19     2  0 21:33 ?        00:00:00 [kacpid]
root        20     2  0 21:33 ?        00:00:00 [kacpi_notify]
root        21     2  0 21:33 ?        00:00:00 [kacpi_hotplug]
root        22     2  0 21:33 ?        00:00:00 [ata/0]
root        23     2  0 21:33 ?        00:00:00 [ata/1]
root        24     2  0 21:33 ?        00:00:00 [ata_aux]
root        25     2  0 21:33 ?        00:00:00 [ksuspend_usbd]
root        26     2  0 21:33 ?        00:00:00 [khubd]
root        27     2  0 21:33 ?        00:00:00 [kseriod]
root        28     2  0 21:33 ?        00:00:00 [kmmcd]
root        29     2  0 21:33 ?        00:00:00 [bluetooth]
root        30     2  0 21:33 ?        00:00:00 [khungtaskd]
root        31     2  0 21:33 ?        00:00:00 [pdflush]
root        32     2  0 21:33 ?        00:00:00 [pdflush]
root        33     2  0 21:33 ?        00:00:00 [kswapd0]
root        34     2  0 21:33 ?        00:00:00 [aio/0]
root        35     2  0 21:33 ?        00:00:00 [aio/1]
root        36     2  0 21:33 ?        00:00:00 [ecryptfs-kthrea]
root        37     2  0 21:33 ?        00:00:00 [crypto/0]
root        38     2  0 21:33 ?        00:00:00 [crypto/1]
root        41     2  0 21:33 ?        00:00:00 [pciehpd]
root        43     2  0 21:33 ?        00:00:00 [scsi_eh_0]
root        44     2  0 21:33 ?        00:00:00 [scsi_eh_1]
root        46     2  0 21:33 ?        00:00:00 [kstriped]
root        47     2  0 21:33 ?        00:00:00 [kmpathd/0]
root        48     2  0 21:33 ?        00:00:00 [kmpathd/1]
root        49     2  0 21:33 ?        00:00:00 [kmpath_handlerd]
root        50     2  0 21:33 ?        00:00:00 [ksnapd]
root        51     2  0 21:33 ?        00:00:00 [kondemand/0]
root        52     2  0 21:33 ?        00:00:00 [kondemand/1]
root        53     2  0 21:33 ?        00:00:00 [kconservative/0]
root        54     2  0 21:33 ?        00:00:00 [kconservative/1]
root        55     2  0 21:33 ?        00:00:00 [krfcommd]
root       145     2  0 21:33 ?        00:00:00 [scsi_eh_2]
root       146     2  0 21:33 ?        00:00:00 [scsi_eh_3]
root       246     2  0 21:33 ?        00:00:00 [khpsbpkt]
root       333     2  0 21:33 ?        00:00:00 [scsi_eh_4]
root       334     2  0 21:33 ?        00:00:00 [usb-storage]
root       367     2  0 21:33 ?        00:00:00 [knodemgrd_0]
root       457     2  0 21:33 ?        00:00:00 [kjournald2]
root       500     1  0 21:34 ?        00:00:00 mountall --daemon --tmptime=0
root       515     1  0 21:34 ?        00:00:00 upstart-udev-bridge --daemon
root       517     1  0 21:34 ?        00:00:00 udevd --daemon
root       790     2  0 21:34 ?        00:00:00 [kpsmoused]
root       911     2  0 21:34 ?        00:00:00 [hd-audio0]
root       963     2  0 21:34 ?        00:00:00 [phy1]
root      1005     2  0 21:34 ?        00:00:00 [kjournald2]
root      1019     1  0 21:34 ?        00:00:00 dd bs=1 if=/proc/kmsg of=/var/ru
syslog    1021     1  0 21:34 ?        00:00:00 rsyslogd -c4
102       1037     1  0 21:34 ?        00:00:01 dbus-daemon --system --fork
root      1045     1  0 21:34 ?        00:00:00 NetworkManager
avahi     1048     1  0 21:34 ?        00:00:00 avahi-daemon: registering [jfl-d
avahi     1049  1048  0 21:34 ?        00:00:00 avahi-daemon: chroot helper
107       1050     1  0 21:34 ?        00:00:00 hald --daemon=yes
root      1063     1  0 21:34 ?        00:00:00 /usr/sbin/modem-manager
root      1066     1  0 21:34 ?        00:00:00 /usr/sbin/console-kit-daemon
root      1129  1050  0 21:34 ?        00:00:00 hald-runner
root      1207   517  0 21:34 ?        00:00:00 udevd --daemon
root      1216   517  0 21:34 ?        00:00:00 udevd --daemon
root      1248  1129  0 21:34 ?        00:00:00 /usr/lib/hal/hald-addon-rfkill-k
root      1250  1129  0 21:34 ?        00:00:00 /usr/lib/hal/hald-addon-leds
root      1264     1  0 21:34 ?        00:00:00 /sbin/wpa_supplicant -u -s
root      1268  1045  0 21:34 ?        00:00:00 /sbin/dhclient -d -sf /usr/lib/N
root      1288     1  0 21:34 tty4     00:00:00 /sbin/getty -8 38400 tty4
root      1291     1  0 21:34 tty5     00:00:00 /sbin/getty -8 38400 tty5
root      1301     1  0 21:34 tty2     00:00:00 /sbin/getty -8 38400 tty2
root      1303  1129  0 21:34 ?        00:00:00 hald-addon-storage: polling /dev
root      1304     1  0 21:34 tty3     00:00:00 /sbin/getty -8 38400 tty3
root      1306  1129  0 21:34 ?        00:00:00 hald-addon-storage: polling /dev
root      1308  1129  0 21:34 ?        00:00:00 hald-addon-storage: polling /dev
root      1309     1  0 21:34 tty6     00:00:00 /sbin/getty -8 38400 tty6
root      1310  1129  0 21:34 ?        00:00:00 hald-addon-storage: polling /dev
root      1311     1  0 21:34 ?        00:00:00 acpid -c /etc/acpi/events -s /va
root      1317  1129  0 21:34 ?        00:00:00 hald-addon-storage: polling /dev
root      1325  1129  0 21:34 ?        00:00:00 /usr/lib/hal/hald-addon-cpufreq
107       1326  1129  0 21:34 ?        00:00:00 hald-addon-acpi: listening on ac
daemon    1328     1  0 21:34 ?        00:00:00 atd
root      1329     1  0 21:34 ?        00:00:00 cron
lp        1345     1  0 21:34 ?        00:00:00 /usr/bin/tprintdaemon 0
root      1371  1129  0 21:34 ?        00:00:00 hald-addon-input: Listening on /
root      1540     1  0 21:34 ?        00:00:00 /usr/sbin/cupsd -C /etc/cups/cup
root      1756     1  0 21:34 tty1     00:00:00 /sbin/getty -8 38400 tty1
root      1758     2  0 21:34 ?        00:00:00 [saa7133[0]]
root      1796     1  0 21:34 ?        00:00:00 gdm-binary
ntp       1939     1  0 21:34 ?        00:00:00 /usr/sbin/ntpd -p /var/run/ntpd.
root      2029     1  0 21:34 ?        00:00:00 /usr/lib/devicekit-power/devkit-

root      2213     1  0 21:34 ?        00:00:00 /usr/lib/policykit-1/polkitd
root      2226     1  0 21:34 ?        00:00:00 /usr/lib/devicekit-disks/devkit-
root      2227  2226  0 21:34 ?        00:00:00 devkit-disks-daemon: polling /de

root      2724     1  0 21:35 ?        00:00:00 /usr/bin/python /usr/sbin/aptd
root      3331  1796  0 21:36 ?        00:00:00 /usr/lib/gdm/gdm-simple-slave --
root      3332  3331  5 21:36 tty7     00:00:05 /usr/bin/X :0 -br -verbose -auth
gdm       3378     1  0 21:36 ?        00:00:00 /usr/bin/dbus-launch --exit-with
root      3410  3331  0 21:36 ?        00:00:00 /usr/lib/gdm/gdm-session-worker

mythtv    4332     1  0 21:38 ?        00:00:00 /bin/su -c /usr/bin/mythbackend
mythtv    4347  4332  0 21:38 ?        00:00:00 sh -c /usr/bin/mythbackend --log
mythtv    4348  4347  4 21:38 ?        00:00:00 /usr/bin/mythbackend --logfile /


je pense que le bug vient de mythtv.
je l'ai installé puis désinstallé. d'ailleurs, même après avoir désinstallé, j'ai toujours MYTHTV FRONTEND dans applications> son et vidéo et MYTHTV BACKEND SETUP dans Système>administration

Hors ligne

#5 Le 02/02/2010, à 22:50

pipou24

Re : problème quand j'éteins le pc

Je ne sais pas. Tu peut juste tuer les processus mythtv et eteindre pour voir.
Moi, c'est cette ligne que je trouve bizarre :

gdm       3378     1  0 21:36 ?        00:00:00 /usr/bin/dbus-launch --exit-with

je n'ai pas ca ...


Non geek et fier de l'être. ㋡

Hors ligne

#6 Le 02/02/2010, à 22:56

mardi_gras

Re : problème quand j'éteins le pc

à la commande

/usr/lib/indicator-session/gtk-logout-helper --shutdown

j'ai exactement la même fenêtre me demandant l'entrer mon mot de passe.

par ailleurs, je viens de trouver ceci:
http://ubuntuforums.org/showthread.php?t=1299948

j'y jette un oeil.

qu'en penses-tu?

d'avance, merci!

Hors ligne

#7 Le 02/02/2010, à 23:11

pipou24

Re : problème quand j'éteins le pc

Tu as raison. Si tu est seul a te servir de ton poste, la manipulation décrite est sans risque. Sinon, il faut juste s'assurer qu'un autre utilisateur n'est pas loggué pour ne pas lui faire perdre ses documents en cours d'edition.
Par contre, c'est a mon avis bien un bug de mythtv. Ou au moins il devrait y avoir une option pour stopper mythtv.


Non geek et fier de l'être. ㋡

Hors ligne