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/01/2023, à 17:38

jppierme

GNOME sur un serveur Ubuntu 22.04 OVH

Bonjour j'ai installé Ubuntu sur un serveur OVH dédié

J'ai installé GNOME mais je n'arrive à "entrer" via vnc

Quand je lance le service
sudo service lightdm start

J'ai comme réponse
Job for lightdm.service failed because the control process exited with error code.
See "systemctl status lightdm.service" and "journalctl -xeu lightdm.service" for details.

Je cherche sur le web mais je n'ai pas de réponse.

Merci à vous

Jean-Pascal

Hors ligne

#2 Le 07/01/2023, à 12:14

noje

Re : GNOME sur un serveur Ubuntu 22.04 OVH

Tu peux déjà taper ce qui est demandé dans le code de retour du lancement, et nous préciser ce qui ce passe, si la ligne de retour est en vert cela indique un soucis, quelques chose de cassé (manquant).

systemctl status lightdm

Donne aussi le retour complet de cette commande qui peut indiquer ce qui ne vas pas…

lightdm --test-mode --debug

- LTS 18.04 & 22.04 - jwm - cwm - zsh

Les seules vraies erreurs sont celles que nous commettons à répétition.
Les autres sont des occasions d'apprentissage. (Dalaï Lama)

Hors ligne

#3 Le 07/01/2023, à 20:17

jppierme

Re : GNOME sur un serveur Ubuntu 22.04 OVH

Bonjour et merci beaucoup pour votre aide.

Après systemctl status lightdm

lightdm.service - Light Display Manager
     Loaded: loaded (/lib/systemd/system/lightdm.service; static)
     Active: inactive (dead)
       Docs: man:lightdm(1)

Et avec le lightdm --test-mode --debug

[+0.00s] DEBUG: Logging to /home/jpp/.cache/lightdm/log/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.30.0, UID=1001 PID=27104
[+0.00s] DEBUG: Loading configuration dirs from /var/lib/snapd/desktop/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-disable-guest.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-disable-log-backup.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-greeter-wrapper.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-guest-wrapper.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-unity-greeter.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-xserver-command.conf
[+0.00s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /usr/share/gnome/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
[+0.00s] DEBUG: Running in user mode
[+0.00s] DEBUG: Registered seat module local
[+0.00s] DEBUG: Registered seat module xremote
[+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.00s] DEBUG: _g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ?gio-vfs?
[+0.01s] DEBUG: Monitoring logind for seats
[+0.01s] DEBUG: New seat added from logind: seat0
[+0.01s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.01s] DEBUG: Seat seat0 has property CanMultiSession=no
[+0.01s] DEBUG: Seat seat0: Starting
[+0.01s] DEBUG: Seat seat0: Creating greeter session
[+0.02s] DEBUG: Loading users from org.freedesktop.Accounts
[+0.02s] DEBUG: User /org/freedesktop/Accounts/User1000 added
[+0.03s] DEBUG: User /org/freedesktop/Accounts/User1001 added
[+0.03s] DEBUG: Seat seat0: Creating display server of type x
[+0.03s] DEBUG: Seat seat0: Starting local X display
[+0.03s] DEBUG: XServer 0: Logging to /home/jpp/.cache/lightdm/log/x-0.log
[+0.03s] DEBUG: XServer 0: Writing X server authority to /home/jpp/.cache/lightdm/run/root/:0
[+0.13s] DEBUG: XServer 0: Launching X Server
[+0.13s] DEBUG: Launching process 27109: /usr/bin/X -core :0 -seat seat0 -auth /home/jpp/.cache/lightdm/run/root/:0 -nolisten tcp
[+0.13s] DEBUG: XServer 0: Waiting for ready signal from X server :0
[+0.13s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.13s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.13s] DEBUG: Process 27109 exited with return value 1
[+0.13s] DEBUG: XServer 0: X server stopped
[+0.13s] DEBUG: XServer 0: Removing X server authority /home/jpp/.cache/lightdm/run/root/:0
[+0.13s] DEBUG: Seat seat0: Display server stopped
[+0.13s] DEBUG: Seat seat0: Stopping session
[+0.13s] DEBUG: Seat seat0: Session stopped
[+0.13s] DEBUG: Seat seat0: Stopping display server, no sessions require it
[+0.13s] DEBUG: Seat seat0: Stopping; greeter display server failed to start
[+0.13s] DEBUG: Seat seat0: Stopping
[+0.13s] DEBUG: Seat seat0: Stopped
[+0.13s] DEBUG: Required seat has stopped
[+0.13s] DEBUG: Stopping display manager
[+0.13s] DEBUG: Display manager stopped
[+0.13s] DEBUG: Stopping daemon
[+0.13s] DEBUG: Exiting with return value 1

Merci à vous

Jean-Pascal

Hors ligne

#4 Le 07/01/2023, à 20:34

xubu1957

Re : GNOME sur un serveur Ubuntu 22.04 OVH

Bonjour,

Pour ajouter toi-même les balises code à ton message #3 :

  • Cliquer sur  le lien « Modifier » en bas à droite du message

  • Sélectionner le texte

  • Cliquer sur le <> de l'éditeur de message

moko138 a écrit :

1) Les balises-code sont les < > (crochets bleus) de la barre de mise en forme.
Balisesmoko138.jpg
_ _ _

3) /!\  Si vous avez plusieurs retours à donner, séparez-les bien (toujours pour la lisibilité) :

comme
cela.

Comme demandé dans le premier message du tutoriel Retour utilisable de commande

lightdm.service - Light Display Manager
     Loaded: loaded (/lib/systemd/system/lightdm.service; static)
     Active: inactive (dead)
       Docs: man:lightdm(1)

Et avec le lightdm --test-mode --debug

[+0.00s] DEBUG: Logging to /home/jpp/.cache/lightdm/log/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.30.0, UID=1001 PID=27104
[+0.00s] DEBUG: Loading configuration dirs from /var/lib/snapd/desktop/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-disable-guest.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-disable-log-backup.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-greeter-wrapper.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-guest-wrapper.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-unity-greeter.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-xserver-command.conf
[+0.00s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /usr/share/gnome/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
[+0.00s] DEBUG: Running in user mode
[+0.00s] DEBUG: Registered seat module local
[+0.00s] DEBUG: Registered seat module xremote
[+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.00s] DEBUG: _g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ?gio-vfs?
[+0.01s] DEBUG: Monitoring logind for seats
[+0.01s] DEBUG: New seat added from logind: seat0
[+0.01s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.01s] DEBUG: Seat seat0 has property CanMultiSession=no
[+0.01s] DEBUG: Seat seat0: Starting
[+0.01s] DEBUG: Seat seat0: Creating greeter session
[+0.02s] DEBUG: Loading users from org.freedesktop.Accounts
[+0.02s] DEBUG: User /org/freedesktop/Accounts/User1000 added
[+0.03s] DEBUG: User /org/freedesktop/Accounts/User1001 added
[+0.03s] DEBUG: Seat seat0: Creating display server of type x
[+0.03s] DEBUG: Seat seat0: Starting local X display
[+0.03s] DEBUG: XServer 0: Logging to /home/jpp/.cache/lightdm/log/x-0.log
[+0.03s] DEBUG: XServer 0: Writing X server authority to /home/jpp/.cache/lightdm/run/root/:0
[+0.13s] DEBUG: XServer 0: Launching X Server
[+0.13s] DEBUG: Launching process 27109: /usr/bin/X -core :0 -seat seat0 -auth /home/jpp/.cache/lightdm/run/root/:0 -nolisten tcp
[+0.13s] DEBUG: XServer 0: Waiting for ready signal from X server :0
[+0.13s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.13s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.13s] DEBUG: Process 27109 exited with return value 1
[+0.13s] DEBUG: XServer 0: X server stopped
[+0.13s] DEBUG: XServer 0: Removing X server authority /home/jpp/.cache/lightdm/run/root/:0
[+0.13s] DEBUG: Seat seat0: Display server stopped
[+0.13s] DEBUG: Seat seat0: Stopping session
[+0.13s] DEBUG: Seat seat0: Session stopped
[+0.13s] DEBUG: Seat seat0: Stopping display server, no sessions require it
[+0.13s] DEBUG: Seat seat0: Stopping; greeter display server failed to start
[+0.13s] DEBUG: Seat seat0: Stopping
[+0.13s] DEBUG: Seat seat0: Stopped
[+0.13s] DEBUG: Required seat has stopped
[+0.13s] DEBUG: Stopping display manager
[+0.13s] DEBUG: Display manager stopped
[+0.13s] DEBUG: Stopping daemon
[+0.13s] DEBUG: Exiting with return value 1

Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

Hors ligne

#5 Le 07/01/2023, à 20:50

nany

Re : GNOME sur un serveur Ubuntu 22.04 OVH

Bonjour et bonne année,




Dites les gens, pour GNOME, ne faudrait-il pas plutôt tenter de lancer GDM ?

Hors ligne

#6 Le 08/01/2023, à 07:02

noje

Re : GNOME sur un serveur Ubuntu 22.04 OVH

Pour faire un résumé de tes retours de commandes :

Retour de lightdm :

lightdm.service - Light Display Manager
     Loaded: loaded (/lib/systemd/system/lightdm.service; static)
     Active: inactive (dead)
       Docs: man:lightdm(1)

Le service lightdm ne fonctionne pas sur la machine, dans l'état.


Retour de le lightdm --test-mode --debug :

[+0.13s] DEBUG: XServer 0: Launching X Server
[+0.13s] DEBUG: Launching process 27109: /usr/bin/X -core :0 -seat seat0 -auth /home/jpp/.cache/lightdm/run/root/:0 -nolisten tcp
[+0.13s] DEBUG: XServer 0: Waiting for ready signal from X server :0
[+0.13s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.13s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.13s] DEBUG: Process 27109 exited with return value 1
[+0.13s] DEBUG: XServer 0: X server stopped

Xorg ne se lance pas, ce qui n’est déjà pas bon pour lightdm qui est censé l'utiliser.
Une sortie avec un code 1 = erreur, dans la foulé il est arrêté.


Puisque Xorg n'est pas, lancer dans la suite logique lightdm ne se lance pas :
Un code 1 encore présent dans la dernière ligne du message.

[+0.13s] DEBUG: Stopping display manager
[+0.13s] DEBUG: Display manager stopped
[+0.13s] DEBUG: Stopping daemon
[+0.13s] DEBUG: Exiting with return value 1

Un serveur est souvent dans un mode de fonctionnement particulier en ce qui concerne la couche graphique, et spécifiquement en ce qui concerne les droits.
Je laisse voir une personne qui a plus d’expérience sur le sujet et donc j’arrête là.

Dernière modification par noje (Le 08/01/2023, à 07:04)


- LTS 18.04 & 22.04 - jwm - cwm - zsh

Les seules vraies erreurs sont celles que nous commettons à répétition.
Les autres sont des occasions d'apprentissage. (Dalaï Lama)

Hors ligne

#7 Le 08/01/2023, à 10:30

jppierme

Re : GNOME sur un serveur Ubuntu 22.04 OVH

Merci beaucoup déjà de l'aide.

Je comprends qu'il vaut mieux que je monte un serveur Ubuntu en Desktop.

JPP

Hors ligne

#8 Le 08/01/2023, à 10:49

Compte supprimé

Re : GNOME sur un serveur Ubuntu 22.04 OVH

Bonjour,
Cela dépend quand même de ce que tu veux faire avec. Quel est ton objectif ?