Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Avvio di gdm non funziona
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
Johnnydsg
Tux's lil' helper
Tux's lil' helper


Joined: 13 Jan 2013
Posts: 116

PostPosted: Thu Mar 07, 2019 4:31 pm    Post subject: Avvio di gdm non funziona Reply with quote

Dopo tanto penare sono riuscito ad installare Gnome 3 con systemd, e come da guida ho
Code:
 systemctl enable gdm

Ma al boot non si avvia la solita interfaccia grafica per il login, anzi mi blocca il boot con la seguente

https://www.dropbox.com/s/7edps2eym2m4uts/IMG_2253.JPG?dl=0

Premendo
Code:
Ctrl D
riesco a fare il login con account utente e a far partire Gnome, con startx (precedentemente da guida avevo creato un file .xinitrc opportuno).
Back to top
View user's profile Send private message
fturco
Veteran
Veteran


Joined: 08 Dec 2010
Posts: 1181
Location: Italy

PostPosted: Thu Mar 07, 2019 5:21 pm    Post subject: Reply with quote

Secondo me il boot non è bloccato. Semplicemente è apparso un messaggio di warning proprio nel punto in cui dovresti inserire nome utente e password.

Per evitare questo problema potresti provare ad aggiungere i parametri quiet loglevel=3 al kernel. Se usi GRUB2 occorre modificare la variabile GRUB_CMDLINE_LINUX nel file /etc/default/grub, eseguire nuovamente il comando grub-mkconfig -o /boot/grub/grub.cfg e riavviare il sistema.

Ad ogni modo tutto ciò non serve a risolvere il problema con GDM, serve solo a rimuovere quel messaggio d'errore.
Back to top
View user's profile Send private message
Johnnydsg
Tux's lil' helper
Tux's lil' helper


Joined: 13 Jan 2013
Posts: 116

PostPosted: Thu Mar 07, 2019 8:24 pm    Post subject: Reply with quote

Ho lanciato
Code:
 systemctl status gdm.service
ed ho trovato alcuni errori che mi hanno condotto a fare una ricerca. La ricerca mi ha portato ad un post dove si consiglia:

    - Unmerge gdm
    - Remove the gdm user, the gdm group and any files in /var/lib/gdm
    - Merge gdm. This created a new gdm user with a different uid


non so come fare il secondo passo.
Back to top
View user's profile Send private message
fturco
Veteran
Veteran


Joined: 08 Dec 2010
Posts: 1181
Location: Italy

PostPosted: Thu Mar 07, 2019 8:48 pm    Post subject: Reply with quote

Ti suggerisco di mostrare anche a noi l'output del comando systemctl status gdm.service.

Ad ogni modo per eseguire il secondo passo della procedura che hai definito occorre semplicemente lanciare i seguenti comandi (da utente root):
Code:
userdel gdm
groupdel gdm
rm /var/lib/gdm -rf
Back to top
View user's profile Send private message
Johnnydsg
Tux's lil' helper
Tux's lil' helper


Joined: 13 Jan 2013
Posts: 116

PostPosted: Thu Mar 07, 2019 9:46 pm    Post subject: Reply with quote

Purtroppo non ha risolto il problema gdm.

Questo è il risultato di systemctl status gdm.service
Code:

gdm.service - GNOME Display Manager
   Loaded: loaded (/lib/systemd/system/gdm.service; enabled; vendor preset: disabled)
   Active: active (running) since Thu 2019-03-07 22:51:02 -00; 1min 13s ago
 Main PID: 5321 (gdm)
   CGroup: /system.slice/gdm.service
           └─5321 /usr/sbin/gdm

mar 07 22:51:57 tuxgentoo gdm-launch-environment][9217]: pam_systemd(gdm-launch-environment:session): Unknown parameter 'kill-session-processes=1', ignoring
mar 07 22:51:57 tuxgentoo gdm[5321]: Child process -9225 was already dead.
mar 07 22:51:57 tuxgentoo gdm[5321]: Child process 9217 was already dead.
mar 07 22:51:57 tuxgentoo gdm[5321]: Unable to kill session worker process
mar 07 22:51:57 tuxgentoo gdm-launch-environment][9229]: pam_systemd(gdm-launch-environment:session): Unknown parameter 'kill-session-processes=1', ignoring
mar 07 22:51:57 tuxgentoo gdm[5321]: Could not start command '/usr/libexec/gdm-session-worker': Too many open files
mar 07 22:51:57 tuxgentoo gdm[5321]: GLib: g_child_watch_add_full: assertion 'pid > 0' failed
mar 07 22:51:57 tuxgentoo gdm[5321]: Child process -9237 was already dead.
mar 07 22:51:57 tuxgentoo gdm[5321]: Child process 9229 was already dead.
mar 07 22:51:57 tuxgentoo gdm[5321]: Unable to kill session worker process
Back to top
View user's profile Send private message
fturco
Veteran
Veteran


Joined: 08 Dec 2010
Posts: 1181
Location: Italy

PostPosted: Thu Mar 07, 2019 10:23 pm    Post subject: Reply with quote

Esiste sul tuo sistema la directory /var/lib/gdm/.local/share/xorg? Al suo interno dovrebbero esserci i log di X11.
Hai impostato il profilo corretto per GNOME? Qual è l'output del comando eselect profile show?
Secondo un articolo che ho trovato il problema potrebbe derivare dal fatto che hai esaurito lo spazio su disco. Cosa dice df -h?
Al posto di GDM potresti provare ad utilizzare un altro display manager (ad esempio SDDM), almeno finché non riusciamo a risolvere il problema con GDM.
Back to top
View user's profile Send private message
Johnnydsg
Tux's lil' helper
Tux's lil' helper


Joined: 13 Jan 2013
Posts: 116

PostPosted: Fri Mar 08, 2019 1:05 pm    Post subject: Reply with quote

fturco wrote:
Esiste sul tuo sistema la directory /var/lib/gdm/.local/share/xorg? Al suo interno dovrebbero esserci i log di X11.

Il file non c'è
Quote:
Hai impostato il profilo corretto per GNOME? Qual è l'output del comando eselect profile show?

profilo selezionato: default/linux/amd64/17.0/desktop/gnome/systemd
Quote:
Secondo un articolo che ho trovato il problema potrebbe derivare dal fatto che hai esaurito lo spazio su disco. Cosa dice df -h?

occupazione del disco crica il 5%
Quote:
Al posto di GDM potresti provare ad utilizzare un altro display manager (ad esempio SDDM), almeno finché non riusciamo a risolvere il problema con GDM.

ci proverò.
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