Unable to init server: Could not connect: Connection refused

Added by Alain Latour over 3 years ago

J'ai suivi les instructions de « Installation de Linux & AMC sous Windows 10 » de José Ouin,
Tout s'est bien passé jusqu'au moment où j'ai voulu lancer AMC.

J'ai eu le message suivant:

alatour@LatourSurfacePro7:~$ export DISPLAY=:0
alatour@LatourSurfacePro7:~$ auto-multiple-choice
Unable to init server: Could not connect: Connection refused

(AMC-gui.pl:27202): Gtk-WARNING **: 11:51:34.881: cannot open display: :0

Je ne suis pas expert Unix, loin de là...
J'ai repris le tout à trois reprises, avec le même résultat.

Cependant, un truc m'interpelle. Au moment de l'ajout du dépôt AMC Stable:

alatour@LatourSurfacePro7:~$ sudo add-apt-repository ppa:alexis.bienvenue/amc-stable
[sudo] password for alatour:
"Auto Multiple Choice" related packages - stable version; see http://www.auto-multiple-choice.net/
More info: https://launchpad.net/~alexis.bienvenue/+archive/ubuntu/amc-stable
Press [ENTER] to continue or Ctrl-c to cancel adding it.

Ign :1 http://ppa.launchpad.net/alexis.bienvenue/amc-stable/ubuntu focal InRelease
Réception de :2 http://security.ubuntu.com/ubuntu focal-security InRelease [107 kB]
Atteint :3 http://archive.ubuntu.com/ubuntu focal InRelease
Atteint :4 http://ppa.launchpad.net/alexis.bienvenue/test/ubuntu focal InRelease
Réception de :5 http://archive.ubuntu.com/ubuntu focal-updates InRelease [111 kB]
Err :6 http://ppa.launchpad.net/alexis.bienvenue/amc-stable/ubuntu focal Release
404 Not Found [IP : 91.189.95.83 80]
Réception de :7 http://archive.ubuntu.com/ubuntu focal-backports InRelease [98,3 kB]
Réception de :8 http://archive.ubuntu.com/ubuntu focal/main Translation-fr [500 kB]
Réception de :9 http://archive.ubuntu.com/ubuntu focal/restricted Translation-fr [5 580 B]
Réception de :10 http://archive.ubuntu.com/ubuntu focal/universe Translation-fr [3 497 kB]
Réception de :11 http://archive.ubuntu.com/ubuntu focal/multiverse Translation-fr [97,8 kB]
Lecture des listes de paquets... Fait
E: Le dépôt http://ppa.launchpad.net/alexis.bienvenue/amc-stable/ubuntu focal Release n'a pas de fichier Release.
N: Les mises à jour depuis un tel dépôt ne peuvent s'effectuer de manière sécurisée, et sont donc désactivées par défaut.
N: Voir les pages de manuel d'apt-secure(8) pour la création des dépôts et les détails de configuration d'un utilisateur.

Sur internet on me parle de xhost, xauth, de l'option -display, mais cela ne m'éclaire pas.

Merci à l'avance


Replies (3)

RE: Unable to init server: Could not connect: Connection refused - Added by Frédéric Bréal over 3 years ago

essayez de reprendre l'installation mais en remplaçant le ppa par test (au lieu de amc-stable)

RE: Unable to init server: Could not connect: Connection refused - Added by Alain Latour over 3 years ago

Malheureusement, le problème persiste...

(1-3/3)