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 06/09/2013, à 13:56

BussyGGPC

[RESOLU] Session bloquée

Hello, je suis sous Ubuntu 12.10 et je rencontre un problème, ma session principale (admn) est bloquée, quand je tente de me connecter, je tape le mdp, l'écran passe au noir et revient sur la page de connexion sans donner d'indications, pourtant le mot de passe est bon, si j'entre volontairement un mot de passe erroné, ubuntu me le signale.

Si je vais sur une autre session (non admin) et que je tente de télécharger un logiciel ou de modifier des paramètres qui demande des droits admins, je tape mon mot de passe et l'opération s'effectue sans problème, comment puis-je régler ce problème ?

Merci d'avance wink.

Dernière modification par BussyGGPC (Le 21/09/2013, à 11:28)

Hors ligne

#2 Le 07/09/2013, à 13:10

classdroogies

Re : [RESOLU] Session bloquée

Salut,

Regarde ici

Hors ligne

#3 Le 07/09/2013, à 13:19

Compte anonymisé

Re : [RESOLU] Session bloquée

Salut

Dans ton cas il ne doit pas s'agir d'un problème de place, vu que tu arrives à te connecter avec un autre user.
Tu peux tenter de supprimer les fichiers .Xauthority et .ICEautority :
A l'écran de connexion, tu ouvres une session console CTRL+ALT+F1 et la tu tapes :
sudo  rm  .Xauthority .ICEauthority

Puis tu te remets en graphique  CTRL+ALT+F7 et tu tentes de te reconnecter.

Si ça ne fonctionne toujours pas tu peux vérifier l'espace disque dispo en console :
df -h

@+

#4 Le 11/09/2013, à 18:40

BussyGGPC

Re : [RESOLU] Session bloquée

Hello, voici ce que me dit la console sur le fichier xgreeter :

Activating service name='org.a11y.atspi.Registry'
[+0,00s] DEBUG: unity-greeter.vala:441: Starting unity-greeter 12.10.4 UID=110 LANG=fr_FR.UTF-8
[+0,00s] DEBUG: unity-greeter.vala:444: Setting cursor
Successfully activated service 'org.a11y.atspi.Registry'
[+0,00s] DEBUG: unity-greeter.vala:458: Loading command line options
[+0,00s] DEBUG: unity-greeter.vala:486: Setting GTK+ settings

** (at-spi2-registryd:1883): WARNING **: Failed to register client: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files

** (at-spi2-registryd:1883): WARNING **: Unable to register client with session manager
[+0,03s] DEBUG: unity-greeter.vala:509: Creating Unity Greeter
[+0,03s] DEBUG: unity-greeter.vala:55: Creating background surface
[+0,03s] DEBUG: Connecting to display manager...
[+0,03s] DEBUG: Wrote 17 bytes to daemon
[+0,03s] DEBUG: Read 8 bytes from daemon
[+0,03s] DEBUG: Read 149 bytes from daemon
[+0,03s] DEBUG: Connected version=1.4.0 default-session=ubuntu show-manual-login=false hide-users=false has-guest-account=true show-remote-login=true
[+0,06s] DEBUG: menubar.vala:342: LANG=fr_FR.UTF-8 LANGUAGE=fr:en
[+0,06s] CRITICAL: dbusmenu_client_get_root: assertion `DBUSMENU_IS_CLIENT(client)' failed
[+0,06s] CRITICAL: dbusmenu_menuitem_get_children: assertion `DBUSMENU_IS_MENUITEM(mi)' failed
[+0,06s] DEBUG: indicator-session.c:390 setting a11y to "Système"
[+0,27s] DEBUG: indicator-session.c:425 setting icon to "system-shutdown-panel"
[+0,27s] DEBUG: menubar.vala:562: Adding indicator object 0xe331a8 at position 0
[+0,27s] DEBUG: Evaluating bitmask for '%H:%M'
[+0,27s] DEBUG: Checking against 1 possible times
[+0,39s] DEBUG: Guessing max time width: 36
[+0,39s] DEBUG: menubar.vala:562: Adding indicator object 0xe40788 at position 1
[+0,39s] WARNING: IndicatorObject class does not have an accessible description.
[+0,39s] WARNING: IndicatorObject class does not have an accessible description.
[+0,39s] DEBUG: menubar.vala:562: Adding indicator object 0xe30e98 at position 2
[+0,39s] DEBUG: menubar.vala:360: LANG=fr_FR.UTF-8 LANGUAGE=fr:en
[+0,39s] DEBUG: Loading users from org.freedesktop.Accounts
[+0,39s] DEBUG: Loading user /org/freedesktop/Accounts/User1002
[+0,41s] DEBUG: Loading user /org/freedesktop/Accounts/User1000
[+0,42s] DEBUG: Loading user /org/freedesktop/Accounts/User1001
[+0,43s] DEBUG: Loading sessions from org.freedesktop.DisplayManager
[+0,43s] DEBUG: user-list.vala:950: Adding/updating user bussy (Bussy)
[+0,44s] DEBUG: user-list.vala:950: Adding/updating user fauvette (Fauvette)
[+0,46s] DEBUG: user-list.vala:950: Adding/updating user lucia (Lucia)
[+0,53s] DEBUG: user-list.vala:932: Adding guest account entry
[+0,58s] DEBUG: Loaded session /usr/share/xsessions/ubuntu.desktop (Ubuntu, This session logs you into Ubuntu)
[+0,62s] DEBUG: Ignoring session /usr/share/xsessions/gnome.desktop
[+0,63s] DEBUG: Loaded session /usr/share/lightdm/remote-sessions/uccsconfigure.desktop (UCCS Configure, Setup a UCCS Account)
[+0,67s] DEBUG: Loaded session /usr/share/lightdm/remote-sessions/freerdp.desktop (FreeRDP, Full Screen RDP session)
[+0,67s] DEBUG: Starting authentication for user fauvette...
[+0,67s] DEBUG: Wrote 24 bytes to daemon
[+0,75s] DEBUG: Starting authentication for user fauvette...
[+0,75s] DEBUG: Wrote 24 bytes to daemon
[+0,75s] DEBUG: main-window.vala:176: Screen is 1920x1080 pixels
[+0,75s] DEBUG: main-window.vala:182: Monitor 0 is 1920x1080 pixels at 0,0
[+0,75s] DEBUG: unity-greeter.vala:512: Showing greeter
[+0,75s] DEBUG: unity-greeter.vala:201: Showing main window
[+0,76s] DEBUG: New style for time label
[+0,76s] DEBUG: Evaluating bitmask for '%H:%M'
[+0,76s] DEBUG: Checking against 1 possible times
[+0,76s] DEBUG: Guessing max time width: 36
[+0,77s] DEBUG: background.vala:470: Regenerating backgrounds
[+0,77s] DEBUG: background.vala:68: Making background /usr/share/backgrounds/warty-final-ubuntu.png at 1920x1080
[+0,77s] DEBUG: New style for time label
[+0,77s] DEBUG: Evaluating bitmask for '%H:%M'
[+0,77s] DEBUG: Checking against 1 possible times
[+0,77s] DEBUG: Guessing max time width: 36
[+0,77s] DEBUG: unity-greeter.vala:530: Starting main loop
[+0,77s] DEBUG: Read 8 bytes from daemon
[+0,77s] DEBUG: Read 38 bytes from daemon
[+0,77s] DEBUG: Ignoring prompt authentication with invalid sequence number 1
[+0,77s] DEBUG: Read 8 bytes from daemon
[+0,77s] DEBUG: Read 38 bytes from daemon
[+0,77s] DEBUG: Prompt user with 1 message(s)
[+0,80s] DEBUG: New style for time label
[+0,80s] DEBUG: Evaluating bitmask for '%H:%M'
[+0,80s] DEBUG: Checking against 1 possible times
[+0,80s] DEBUG: Guessing max time width: 36
[+0,84s] DEBUG: Setting keyboard layout to 'fr	latin9'
[+0,90s] MESSAGE: Couldn't find primary device
[+0,90s] DEBUG: icon_policy is: 0 (present==0, charge==1, never==2)
[+0,90s] DEBUG: count_batteries found 0 batteries (0 are charging/discharging)
[+0,90s] DEBUG: should_be_visible: no
[+0,90s] DEBUG: menubar.vala:570: Removing indicator object 0xe30db8
[+0,90s] WARNING: invalid cast from `GtkMenuItem' to `IndicatorMenuItem'
[+0,90s] WARNING: invalid cast from `GtkMenuItem' to `IndicatorMenuItem'
[+0,90s] WARNING: invalid cast from `GtkMenuItem' to `IndicatorMenuItem'
[+0,90s] WARNING: menubar.vala:582: Indicator object 0xe30db8 not in menubar
[+0,90s] DEBUG: Connected to Application Indicator Service.
[+0,90s] DEBUG: unity-greeter.vala:184: starting system-ready sound
** Message: applet now removed from the notification area
[+1,23s] DEBUG: background.vala:117: Render of background /usr/share/backgrounds/warty-final-ubuntu.png complete
[+1,25s] DEBUG: Request current apps
[+1,28s] DEBUG: notify visible signal received
[+1,28s] CRITICAL: ido_calendar_menu_item_get_calendar: assertion `IDO_IS_CALENDAR_MENU_ITEM (item)' failed
[+1,28s] CRITICAL: gtk_calendar_get_date: assertion `GTK_IS_CALENDAR (calendar)' failed
[+1,28s] CRITICAL: gtk_calendar_select_month: assertion `GTK_IS_CALENDAR (calendar)' failed
[+1,28s] CRITICAL: gtk_calendar_select_day: assertion `GTK_IS_CALENDAR (calendar)' failed
[+1,28s] DEBUG: Building new application entry: :1.18  with icon: nm-stage03-connecting01 at position 0
[+1,28s] DEBUG: menubar.vala:562: Adding indicator object 0x1075f00 at position 3
[+1,28s] DEBUG: New calendar item
[+1,28s] DEBUG: Changing calendar property: calendar-marks
[+1,28s] DEBUG: 	Marks: []
[+1,28s] DEBUG: indicator-sound: new_volume_slider_widget
[+1,29s] DEBUG: indicator-sound: new_voip_slider_widget
[+4,73s] DEBUG: Providing response to display manager
[+4,74s] DEBUG: Wrote 22 bytes to daemon
[+4,76s] DEBUG: Read 8 bytes from daemon
[+4,76s] DEBUG: Read 20 bytes from daemon
[+4,76s] DEBUG: Authentication complete for user fauvette with return code 0
[+4,76s] DEBUG: Starting session ubuntu
[+4,76s] DEBUG: Wrote 18 bytes to daemon
[+4,76s] DEBUG: Read 8 bytes from daemon
[+4,76s] DEBUG: Read 4 bytes from daemon

Hors ligne

#5 Le 11/09/2013, à 19:15

classdroogies

Re : [RESOLU] Session bloquée

Salut,

Même cas que dans la page du lien que j'ai donné.

Hors ligne

#6 Le 12/09/2013, à 16:51

BussyGGPC

Re : [RESOLU] Session bloquée

Hello, en reregardant la solution proposée sur l'autre topic, je m'aperçois que je me suis trompé sur où rentrer

sudo cat /var/log/lightdm/x-0-greeter.log

et il s'avère que quand je rentre cette commande dans un tty en me loguant sur l'utilisateur concerné, la console me répond qu'il n'existe pas de fichier de ce type. J'ai tenté de suivre le reste mais cela ne m'a pas plus avancé.

Hors ligne

#7 Le 12/09/2013, à 19:06

Compte anonymisé

Re : [RESOLU] Session bloquée

As-tu tenté les commandes du post #3 ?

#8 Le 12/09/2013, à 21:44

classdroogies

Re : [RESOLU] Session bloquée

Salut,


BussyGGPC a écrit :

et il s'avère que quand je rentre cette commande dans un tty en me loguant sur l'utilisateur concerné, la console me répond qu'il n'existe pas de fichier de ce type. J'ai tenté de suivre le reste mais cela ne m'a pas plus avancé..

Es-tu certain de bien avoir tapé le bon emplacement et le bon nom de fichier, tu peux utiliser la touche tab pour faciliter la saisie à l'aide de l'auto-complétion de mot.

Pour le reste tu as tentés de suivre....mais as tu fais les commandes données, qu'elles sont les résultats ?

Tu peux également tentés les commandes données par jeanjd63, plus radical, mais qui peux résoudre le problème.....

Hors ligne

#9 Le 13/09/2013, à 19:03

BussyGGPC

Re : [RESOLU] Session bloquée

Oui j'en suis sûr, et pour en être encore plus sûr j'ai lancé une autre session et me suis log sur l'utilisateur bloqué depuis un terminal non tty, j'ai obtenu ce résultat :

fauvette@Ordi:~$ login
login : fonctionnement impossible sans être réellement le superutilisateur
fauvette@Ordi:~$ sudo login
sudo: unable to resolve host Ordi
[sudo] password for fauvette:
Ordi login : bussy
Mot de passe :
Dernière connexion : vendredi 13 septembre 2013 à 18:54:04 CEST sur tty1
Welcome to Ubuntu 12.10 (GNU/Linux 3.5.0-40-generic x86_64)

* Documentation:  https://help.ubuntu.com/

11 packages can be updated.
0 updates are security updates.

New release '13.04' available.
Run 'do-release-upgrade' to upgrade to it.

bussy@Ordi:~$ sudo cat /var/log/lightdm/x-0-greeter.log
sudo: unable to resolve host Ordi
[sudo] password for bussy:
[+0,00s] DEBUG: unity-greeter.vala:441: Starting unity-greeter 12.10.4 UID=110 LANG=fr_FR.UTF-8
[+0,00s] DEBUG: unity-greeter.vala:444: Setting cursor
[+0,00s] DEBUG: unity-greeter.vala:458: Loading command line options
[+0,00s] DEBUG: unity-greeter.vala:486: Setting GTK+ settings
[+0,05s] DEBUG: unity-greeter.vala:509: Creating Unity Greeter
[+0,05s] DEBUG: unity-greeter.vala:55: Creating background surface
[+0,05s] DEBUG: Connecting to display manager...
[+0,05s] DEBUG: Wrote 17 bytes to daemon
[+0,05s] DEBUG: Read 8 bytes from daemon
[+0,05s] DEBUG: Read 149 bytes from daemon
[+0,05s] DEBUG: Connected version=1.4.0 default-session=ubuntu show-manual-login=false hide-users=false has-guest-account=true show-remote-login=true
[+0,08s] DEBUG: menubar.vala:342: LANG=fr_FR.UTF-8 LANGUAGE=fr:en
[+0,08s] CRITICAL: dbusmenu_client_get_root: assertion `DBUSMENU_IS_CLIENT(client)' failed
[+0,08s] CRITICAL: dbusmenu_menuitem_get_children: assertion `DBUSMENU_IS_MENUITEM(mi)' failed
[+0,08s] DEBUG: indicator-session.c:390 setting a11y to "Système"
[+0,08s] DEBUG: indicator-session.c:425 setting icon to "system-shutdown-panel"
[+0,08s] DEBUG: menubar.vala:562: Adding indicator object 0x1b76168 at position 0
[+0,08s] DEBUG: Evaluating bitmask for '%H:%M'
[+0,08s] DEBUG: Checking against 1 possible times
[+0,09s] DEBUG: Guessing max time width: 36
[+0,09s] DEBUG: menubar.vala:562: Adding indicator object 0x1b82768 at position 1
[+0,09s] WARNING: IndicatorObject class does not have an accessible description.
[+0,09s] WARNING: IndicatorObject class does not have an accessible description.
[+0,09s] DEBUG: menubar.vala:562: Adding indicator object 0x1b73658 at position 2
[+0,09s] DEBUG: menubar.vala:360: LANG=fr_FR.UTF-8 LANGUAGE=fr:en
[+0,10s] DEBUG: Loading users from org.freedesktop.Accounts
[+0,10s] DEBUG: Loading user /org/freedesktop/Accounts/User1002
[+0,11s] DEBUG: Loading user /org/freedesktop/Accounts/User1000
[+0,13s] DEBUG: Loading user /org/freedesktop/Accounts/User1001
[+0,15s] DEBUG: Loading sessions from org.freedesktop.DisplayManager
[+0,15s] DEBUG: user-list.vala:950: Adding/updating user bussy (Bussy)
[+0,15s] DEBUG: user-list.vala:950: Adding/updating user fauvette (Fauvette)
[+0,15s] DEBUG: user-list.vala:950: Adding/updating user lucia (Lucia)
[+0,23s] DEBUG: user-list.vala:932: Adding guest account entry
[+0,27s] DEBUG: Loaded session /usr/share/xsessions/ubuntu.desktop (Ubuntu, This session logs you into Ubuntu)
[+0,27s] DEBUG: Ignoring session /usr/share/xsessions/gnome.desktop
[+0,27s] DEBUG: Loaded session /usr/share/lightdm/remote-sessions/uccsconfigure.desktop (UCCS Configure, Setup a UCCS Account)
[+0,27s] DEBUG: Loaded session /usr/share/lightdm/remote-sessions/freerdp.desktop (FreeRDP, Full Screen RDP session)
[+0,27s] DEBUG: Starting authentication for user lucia...
[+0,27s] DEBUG: Wrote 21 bytes to daemon
[+0,38s] DEBUG: Starting authentication for user lucia...
[+0,38s] DEBUG: Wrote 21 bytes to daemon
[+0,38s] DEBUG: main-window.vala:176: Screen is 1920x1080 pixels
[+0,38s] DEBUG: main-window.vala:182: Monitor 0 is 1920x1080 pixels at 0,0
[+0,38s] DEBUG: unity-greeter.vala:512: Showing greeter
[+0,38s] DEBUG: unity-greeter.vala:201: Showing main window
[+0,39s] DEBUG: New style for time label
[+0,40s] DEBUG: Evaluating bitmask for '%H:%M'
[+0,40s] DEBUG: Checking against 1 possible times
[+0,40s] DEBUG: Guessing max time width: 36
[+0,40s] DEBUG: background.vala:470: Regenerating backgrounds
[+0,40s] DEBUG: background.vala:68: Making background /usr/share/backgrounds/warty-final-ubuntu.png at 1920x1080
[+0,40s] DEBUG: New style for time label
[+0,40s] DEBUG: Evaluating bitmask for '%H:%M'
[+0,40s] DEBUG: Checking against 1 possible times
[+0,40s] DEBUG: Guessing max time width: 36
[+0,41s] DEBUG: unity-greeter.vala:530: Starting main loop
[+0,41s] DEBUG: Read 8 bytes from daemon
[+0,41s] DEBUG: Read 35 bytes from daemon
[+0,41s] DEBUG: Ignoring prompt authentication with invalid sequence number 1
[+0,41s] DEBUG: Read 8 bytes from daemon
[+0,41s] DEBUG: Read 35 bytes from daemon
[+0,41s] DEBUG: Prompt user with 1 message(s)
[+0,42s] DEBUG: Setting keyboard layout to 'fr'
[+0,45s] DEBUG: background.vala:68: Making background /usr/share/backgrounds/H_by_Manuel_Sagredo.jpg at 1920x1080
[+0,46s] DEBUG: Connected to Application Indicator Service.
[+0,47s] DEBUG: New style for time label
[+0,47s] DEBUG: Evaluating bitmask for '%H:%M'
[+0,47s] DEBUG: Checking against 1 possible times
[+0,47s] DEBUG: Guessing max time width: 36
[+0,53s] MESSAGE: Couldn't find primary device
[+0,53s] DEBUG: icon_policy is: 0 (present==0, charge==1, never==2)
[+0,53s] DEBUG: count_batteries found 0 batteries (0 are charging/discharging)
[+0,53s] DEBUG: should_be_visible: no
[+0,53s] DEBUG: menubar.vala:570: Removing indicator object 0x1b73578
[+0,53s] WARNING: invalid cast from `GtkMenuItem' to `IndicatorMenuItem'
[+0,53s] WARNING: invalid cast from `GtkMenuItem' to `IndicatorMenuItem'
[+0,53s] WARNING: invalid cast from `GtkMenuItem' to `IndicatorMenuItem'
[+0,53s] WARNING: menubar.vala:582: Indicator object 0x1b73578 not in menubar
[+0,53s] DEBUG: Request current apps
[+0,54s] DEBUG: unity-greeter.vala:184: starting system-ready sound
** Message: applet now removed from the notification area
[+0,74s] DEBUG: background.vala:117: Render of background /usr/share/backgrounds/warty-final-ubuntu.png complete
[+0,76s] DEBUG: Building new application entry: :1.19  with icon: nm-device-wired at position 0
[+0,76s] DEBUG: menubar.vala:562: Adding indicator object 0x1dc35c0 at position 3
[+0,77s] DEBUG: notify visible signal received
[+0,77s] CRITICAL: ido_calendar_menu_item_get_calendar: assertion `IDO_IS_CALENDAR_MENU_ITEM (item)' failed
[+0,77s] CRITICAL: gtk_calendar_get_date: assertion `GTK_IS_CALENDAR (calendar)' failed
[+0,77s] CRITICAL: gtk_calendar_select_month: assertion `GTK_IS_CALENDAR (calendar)' failed
[+0,77s] CRITICAL: gtk_calendar_select_day: assertion `GTK_IS_CALENDAR (calendar)' failed
[+0,77s] DEBUG: New calendar item
[+0,77s] DEBUG: Changing calendar property: calendar-marks
[+0,77s] DEBUG:     Marks: []
[+0,82s] DEBUG: indicator-sound: new_volume_slider_widget
[+0,82s] DEBUG: indicator-sound: new_voip_slider_widget
[+0,84s] DEBUG: background.vala:117: Render of background /usr/share/backgrounds/H_by_Manuel_Sagredo.jpg complete
[+1,50s] DEBUG: Wrote 8 bytes to daemon
[+1,55s] DEBUG: Starting authentication for user lucia...
[+1,55s] DEBUG: Wrote 21 bytes to daemon
[+1,59s] DEBUG: Read 8 bytes from daemon
[+1,59s] DEBUG: Read 35 bytes from daemon
[+1,59s] DEBUG: Prompt user with 1 message(s)
[+362,28s] DEBUG: Starting authentication for user fauvette...
[+362,28s] DEBUG: Wrote 24 bytes to daemon
[+362,30s] DEBUG: Read 8 bytes from daemon
[+362,30s] DEBUG: Read 38 bytes from daemon
[+362,30s] DEBUG: Prompt user with 1 message(s)
[+362,64s] DEBUG: Setting keyboard layout to 'fr    latin9'
[+364,74s] DEBUG: Providing response to display manager
[+364,74s] DEBUG: Wrote 22 bytes to daemon
[+364,79s] DEBUG: Read 8 bytes from daemon
[+364,79s] DEBUG: Read 20 bytes from daemon
[+364,79s] DEBUG: Authentication complete for user fauvette with return code 0
[+364,79s] DEBUG: Starting session ubuntu
[+364,79s] DEBUG: Wrote 18 bytes to daemon
[+364,79s] DEBUG: Read 8 bytes from daemon
[+364,79s] DEBUG: Read 4 bytes from daemon
** Message: PID 5304 (we are 5304) sent signal 15, shutting down...

(nm-applet:5304): libappindicator-WARNING **: Unable to send signal for NewStatus: La connexion est fermée
bussy@Ordi:~$ ls -l ~/.Xauthority
ls: impossible d'accéder à /home/bussy/.Xauthority: Aucun fichier ou dossier de ce type

Hors ligne

#10 Le 14/09/2013, à 13:24

classdroogies

Re : [RESOLU] Session bloquée

Ce qui prouve que le fichier x-0-greeter.log existe....

Je vois que tu as un problème de résolution d'hôte :

sudo: unable to resolve host Ordi

Tu dois avoir une erreur dans le fichier :

/etc/hosts

Voir si cette ligne existe :

127.0.0.1           Ordi

Hors ligne

#11 Le 14/09/2013, à 17:47

BussyGGPC

Re : [RESOLU] Session bloquée

Oui, je parlais du fichier .Xauthority qui n'existait pas. Et je n'ai pas cette ligne, je n'ai que ça :

bussy@Ordi:~$ cat /etc/hosts
127.0.0.1	localhost
127.0.1.1	bussy-p6-2040fr

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

Dernière modification par BussyGGPC (Le 14/09/2013, à 17:48)

Hors ligne

#12 Le 14/09/2013, à 18:17

Compte anonymisé

Re : [RESOLU] Session bloquée

Tu es sûr de ne pas avoir de fichier .Xauthority ?

Tu te connectes en console avec l'ident de l'utilisateur concerné et tu tapes la commande :
ls  -la  .Xauthority  .ICEauthority

#13 Le 14/09/2013, à 19:01

classdroogies

Re : [RESOLU] Session bloquée

BussyGGPC a écrit :

Hello, en reregardant la solution proposée sur l'autre topic, je m'aperçois que je me suis trompé sur où rentrer

    sudo cat /var/log/lightdm/x-0-greeter.log

et il s'avère que quand je rentre cette commande dans un tty en me loguant sur l'utilisateur concerné, la console me répond qu'il n'existe pas de fichier de ce type. J'ai tenté de suivre le reste mais cela ne m'a pas plus avancé.

BussyGGPC a écrit :

Oui, je parlais du fichier .Xauthority qui n'existait pas.

J'ai mal compris alors...

Il semble que le nom de machine soit Ordi, il faut donc ajouter la ligne dans le fichier hosts :

127.0.0.1           Ordi

Puis tu redémarres, et et tu essayes de te connecter sur bussy.

Hors ligne

#14 Le 15/09/2013, à 19:42

BussyGGPC

Re : [RESOLU] Session bloquée

Pardon, je me suis mal expliqué, je voulais dire que j'avais effectivement une réponse sur le fichier x-o-greeter.log mais que les commandes suivantes me répondaient que .Xauthority et .ICEauthority n'existaient pas.
J'ai donc ajouté la ligne que tu m'as donnée mais le problème n'est pas réglé, la console m'indique toujours que le fichier .Xauthority n'existe pas.

bussy@Ordi:~$ sudo cat /var/log/lightdm/x-0-greeter.log
[sudo] password for bussy: 
Sorry, try again.
[sudo] password for bussy: 
Activating service name='org.a11y.atspi.Registry'
[+0,00s] DEBUG: unity-greeter.vala:441: Starting unity-greeter 12.10.4 UID=110 LANG=fr_FR.UTF-8
[+0,00s] DEBUG: unity-greeter.vala:444: Setting cursor
Successfully activated service 'org.a11y.atspi.Registry'

** (at-spi2-registryd:1896): WARNING **: Failed to register client: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files

** (at-spi2-registryd:1896): WARNING **: Unable to register client with session manager
[+0,03s] DEBUG: unity-greeter.vala:458: Loading command line options
[+0,03s] DEBUG: unity-greeter.vala:486: Setting GTK+ settings
[+0,08s] DEBUG: unity-greeter.vala:509: Creating Unity Greeter
[+0,08s] DEBUG: unity-greeter.vala:55: Creating background surface
[+0,08s] DEBUG: Connecting to display manager...
[+0,08s] DEBUG: Wrote 17 bytes to daemon
[+0,08s] DEBUG: Read 8 bytes from daemon
[+0,08s] DEBUG: Read 149 bytes from daemon
[+0,08s] DEBUG: Connected version=1.4.0 default-session=ubuntu show-manual-login=false hide-users=false has-guest-account=true show-remote-login=true
[+0,11s] DEBUG: menubar.vala:342: LANG=fr_FR.UTF-8 LANGUAGE=fr:en
[+0,11s] CRITICAL: dbusmenu_client_get_root: assertion `DBUSMENU_IS_CLIENT(client)' failed
[+0,11s] CRITICAL: dbusmenu_menuitem_get_children: assertion `DBUSMENU_IS_MENUITEM(mi)' failed
[+0,11s] DEBUG: indicator-session.c:390 setting a11y to "Système"
[+0,33s] DEBUG: indicator-session.c:425 setting icon to "system-shutdown-panel"
[+0,33s] DEBUG: menubar.vala:562: Adding indicator object 0x14ea158 at position 0
[+0,33s] DEBUG: Evaluating bitmask for '%H:%M'
[+0,33s] DEBUG: Checking against 1 possible times
[+0,53s] DEBUG: Guessing max time width: 36
[+0,53s] DEBUG: menubar.vala:562: Adding indicator object 0x14f7758 at position 1
[+0,53s] WARNING: IndicatorObject class does not have an accessible description.
[+0,53s] WARNING: IndicatorObject class does not have an accessible description.
[+0,53s] DEBUG: menubar.vala:562: Adding indicator object 0x14e7718 at position 2
[+0,53s] DEBUG: menubar.vala:360: LANG=fr_FR.UTF-8 LANGUAGE=fr:en
[+0,54s] DEBUG: Loading users from org.freedesktop.Accounts
[+0,54s] DEBUG: Loading user /org/freedesktop/Accounts/User1002
[+0,55s] DEBUG: Loading user /org/freedesktop/Accounts/User1000
[+0,56s] DEBUG: Loading user /org/freedesktop/Accounts/User1001
[+0,57s] DEBUG: Loading sessions from org.freedesktop.DisplayManager
[+0,57s] DEBUG: user-list.vala:950: Adding/updating user bussy (Bussy)
[+0,58s] DEBUG: user-list.vala:950: Adding/updating user fauvette (Fauvette)
[+0,58s] DEBUG: user-list.vala:950: Adding/updating user lucia (Lucia)
[+0,65s] DEBUG: user-list.vala:932: Adding guest account entry
[+0,81s] DEBUG: Loaded session /usr/share/xsessions/ubuntu.desktop (Ubuntu, This session logs you into Ubuntu)
[+0,87s] DEBUG: Ignoring session /usr/share/xsessions/gnome.desktop
[+0,88s] DEBUG: Loaded session /usr/share/lightdm/remote-sessions/uccsconfigure.desktop (UCCS Configure, Setup a UCCS Account)
[+0,93s] DEBUG: Loaded session /usr/share/lightdm/remote-sessions/freerdp.desktop (FreeRDP, Full Screen RDP session)
[+0,93s] DEBUG: Starting authentication for user fauvette...
[+0,93s] DEBUG: Wrote 24 bytes to daemon
[+1,03s] DEBUG: Starting authentication for user fauvette...
[+1,03s] DEBUG: Wrote 24 bytes to daemon
[+1,03s] DEBUG: main-window.vala:176: Screen is 1920x1080 pixels
[+1,03s] DEBUG: main-window.vala:182: Monitor 0 is 1920x1080 pixels at 0,0
[+1,03s] DEBUG: unity-greeter.vala:512: Showing greeter
[+1,03s] DEBUG: unity-greeter.vala:201: Showing main window
[+1,04s] DEBUG: New style for time label
[+1,04s] DEBUG: Evaluating bitmask for '%H:%M'
[+1,04s] DEBUG: Checking against 1 possible times
[+1,04s] DEBUG: Guessing max time width: 36
[+1,04s] DEBUG: background.vala:470: Regenerating backgrounds
[+1,04s] DEBUG: background.vala:68: Making background /usr/share/backgrounds/warty-final-ubuntu.png at 1920x1080
[+1,04s] DEBUG: New style for time label
[+1,04s] DEBUG: Evaluating bitmask for '%H:%M'
[+1,04s] DEBUG: Checking against 1 possible times
[+1,04s] DEBUG: Guessing max time width: 36
[+1,05s] DEBUG: unity-greeter.vala:530: Starting main loop
[+1,05s] DEBUG: Read 8 bytes from daemon
[+1,05s] DEBUG: Read 38 bytes from daemon
[+1,05s] DEBUG: Ignoring prompt authentication with invalid sequence number 1
[+1,05s] DEBUG: Read 8 bytes from daemon
[+1,05s] DEBUG: Read 38 bytes from daemon
[+1,05s] DEBUG: Prompt user with 1 message(s)
[+1,08s] DEBUG: New style for time label
[+1,08s] DEBUG: Evaluating bitmask for '%H:%M'
[+1,08s] DEBUG: Checking against 1 possible times
[+1,08s] DEBUG: Guessing max time width: 36
[+1,11s] DEBUG: Setting keyboard layout to 'fr	latin9'
[+1,20s] MESSAGE: Couldn't find primary device
[+1,20s] DEBUG: icon_policy is: 0 (present==0, charge==1, never==2)
[+1,20s] DEBUG: count_batteries found 0 batteries (0 are charging/discharging)
[+1,20s] DEBUG: should_be_visible: no
[+1,20s] DEBUG: menubar.vala:570: Removing indicator object 0x14e7638
[+1,20s] WARNING: invalid cast from `GtkMenuItem' to `IndicatorMenuItem'
[+1,20s] WARNING: invalid cast from `GtkMenuItem' to `IndicatorMenuItem'
[+1,20s] WARNING: invalid cast from `GtkMenuItem' to `IndicatorMenuItem'
[+1,20s] WARNING: menubar.vala:582: Indicator object 0x14e7638 not in menubar
[+1,23s] DEBUG: Connected to Application Indicator Service.
[+1,24s] DEBUG: Request current apps
[+1,24s] DEBUG: unity-greeter.vala:184: starting system-ready sound
[+1,58s] DEBUG: background.vala:117: Render of background /usr/share/backgrounds/warty-final-ubuntu.png complete
[+1,65s] DEBUG: indicator-sound: new_volume_slider_widget
[+1,65s] DEBUG: indicator-sound: new_voip_slider_widget
[+1,65s] DEBUG: notify visible signal received
[+1,65s] CRITICAL: ido_calendar_menu_item_get_calendar: assertion `IDO_IS_CALENDAR_MENU_ITEM (item)' failed
[+1,65s] CRITICAL: gtk_calendar_get_date: assertion `GTK_IS_CALENDAR (calendar)' failed
[+1,65s] CRITICAL: gtk_calendar_select_month: assertion `GTK_IS_CALENDAR (calendar)' failed
[+1,65s] CRITICAL: gtk_calendar_select_day: assertion `GTK_IS_CALENDAR (calendar)' failed
[+1,68s] DEBUG: New calendar item
[+1,68s] DEBUG: Changing calendar property: calendar-marks
[+1,68s] DEBUG: 	Marks: []
** Message: applet now removed from the notification area
[+2,25s] DEBUG: Building new application entry: :1.19  with icon: nm-device-wired at position 0
[+2,25s] DEBUG: menubar.vala:562: Adding indicator object 0x1409980 at position 3
[+9,81s] DEBUG: Providing response to display manager
[+9,81s] DEBUG: Wrote 22 bytes to daemon
[+9,86s] DEBUG: Read 8 bytes from daemon
[+9,86s] DEBUG: Read 20 bytes from daemon
[+9,86s] DEBUG: Authentication complete for user fauvette with return code 0
[+9,86s] DEBUG: Starting session ubuntu
[+9,86s] DEBUG: Wrote 18 bytes to daemon
[+9,86s] DEBUG: Read 8 bytes from daemon
[+9,86s] DEBUG: Read 4 bytes from daemon
bussy@Ordi:~$ ls -l ~/.Xauthority
ls: impossible d'accéder à /home/bussy/.Xauthority: Aucun fichier ou dossier de ce type

Hors ligne

#15 Le 15/09/2013, à 20:24

classdroogies

Re : [RESOLU] Session bloquée

Bizarre que tu n'ai pas ces fichiers....

On va tenter autre chose.

Dans un autre TTY, tu te logue avec bussy, puis :

On stop le gestionnaire de connexion :

sudo service lightdm stop

On lance le serveur X :

startx

Dis-nous ce qui ce passe, et donne le(s) message(s) d'erreur(s) le cas échéant....

Au fait avant que le problème n'apparaisse, tu as fait des manip particulières, des mises à jours, une installation de paquets ?

Hors ligne

#16 Le 20/09/2013, à 18:45

BussyGGPC

Re : [RESOLU] Session bloquée

Alors, avant que ce problème n'apparaisse il ne me semble pas avoir fait de manips particulières, je crois avoir changé de driver de carte graphique mais je suis quasiment sûr qu'il y'avait déjà eu un reboot avant.

Quand je tente de relancer X voici ce que j'obtiens :

xauth: timeout in locking authority file in /home/bussy/.Xauthority

puis le tty spamme "no protocol specified"
puis :

xinit: giving up
xinit: unable to connect to x server:resource temporary unavailable
waiting for x server to shutdown
server terminated successfully(o). closing log file
xinit: servor error

Puis le tty1 devient noir et ne répond plus, au début je n'avais d'ailleurs pas eu le temps de tout écrire et suis passé sur tty2 qui a fonctionné puis s'est aussi bloqué et le phénomène s'est manifesté jusqu'ua tty4 quand j'ai fini d'écrire. A savoir qu'à cause de ça je n'ai pas forcémment tout noté dans l'ordre exact.

Hors ligne

#17 Le 20/09/2013, à 19:41

classdroogies

Re : [RESOLU] Session bloquée

Donne le retour, après t’être logué avec bussy, de :

ls -l /home/

Hors ligne

#18 Le 20/09/2013, à 20:25

BussyGGPC

Re : [RESOLU] Session bloquée

J'obtiens ça :

bussy@Ordi:~$ ls -l /home/
total 12
dr-x------  3 bussy    bussy    4096 août  25 16:12 bussy
drwxr-xr-x 25 fauvette fauvette 4096 sept. 20 20:22 fauvette
drwxr-xr-x 28 lucia    lucia    4096 sept. 20 18:25 lucia

Hors ligne

#19 Le 20/09/2013, à 20:59

classdroogies

Re : [RESOLU] Session bloquée

Tu as un problème de droit sur le dossier perso de bussy :

chmod 755 /home/bussy

Puis tu essaye de te loguer sur la session graphique.

Hors ligne

#20 Le 21/09/2013, à 10:49

BussyGGPC

Re : [RESOLU] Session bloquée

Ca marche wink, merci. Par contre j'ai perdu tous mes documents/réglages etc... Mais ce n'est pas grave, je n'avais rien d'important.
D'ailleurs j'en profite, sur Ubuntu il est impossible d'éteindre ou de redémarrer l'ordinateur si une session est encore ouverte, y'a t'il un moyen de désactiver ça voire même d'afficher un simple message demandant si l'on veut vraiment quitter ?

Hors ligne

#21 Le 21/09/2013, à 11:23

classdroogies

Re : [RESOLU] Session bloquée

BussyGGPC a écrit :

Par contre j'ai perdu tous mes documents/réglages etc..

T'as fait une fausse manip ?

Reste plus qu'a mettre [Résolu] dans le titre smile

Pour la fermeture des comptes auto cherches sur le fofo (il me semble avoir vu passer un topic similaire), sinon poste un nouveau sujet.

Hors ligne

#22 Le 21/09/2013, à 11:27

BussyGGPC

Re : [RESOLU] Session bloquée

Ok, merci wink.

Hors ligne