Nieuws:

Welkom, Gast. Alsjeblieft inloggen of registreren.
Heb je de activerings-mail niet ontvangen?

Auteur Topic: Synaptic laadt niet meer  (gelezen 1668 keer)

Offline hadez

  • Lid
Synaptic laadt niet meer
« Gepost op: 2012/04/10, 11:33:11 »
Hoi,

Ik heb gister ubuntu 12.04 geïnstalleerd (fully aware of the consequences ... ) en daarbij komt niet standaard de Synaptic Package Manager. Deze heb ik via de software center gister geïnstalleerd, hij deed het gister ook, maar ineens was hij kapot. Als ik hem via menu start, dan moet ik nog wel het rootwachtwoord ingeven, maar vervolgens gebeurt er niets. Via de terminal krijg ik de volgende error:

martin@martin-ThinkPad-E520:~$ sudo synaptic
[sudo] password for martin:
Invalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 key
(synaptic:29850): Gtk-WARNING **: cannot open display: :0

Hoe kan ik dit oplossen? Zou graag in Synaptic willen om een paar packages te downgraden om bijvoorbeeld dropbox te installeren.

Alvast bedankt!

Hadez

Re: Synaptic laadt niet meer
« Reactie #1 Gepost op: 2012/04/11, 00:01:14 »
Ik kwam dit tegen, gezien de laatste regel lijkt mij dit de oplossing.
It looks like the GUI had created a lock file in the /tmp directory during one of the previous startups. Do this:

su -

ls /tmp/.X0-lock
rm /tmp/.X0-lock


You will be back in your normal user account. Run the startx command.

Note that the name of /tmp/.X0-lock has a zero, not a capital "O".


Van http://www.linuxquestions.org/questions/linux-software-2/ubuntu-blank-screen-on-startup-398168/ laatste post.
In der Beschränkung zeigt sich der Meister.

Offline hadez

  • Lid
Re: Synaptic laadt niet meer
« Reactie #2 Gepost op: 2012/04/11, 13:19:13 »
Dank voor je antwoord. Helaas heeft het niet geholpen:

martin@martin-ThinkPad-E520:~$ ls /tmp/.X0-lock
/tmp/.X0-lock
martin@martin-ThinkPad-E520:~$ sudo rm /tmp/.X0-lock
[sudo] password for martin:
martin@martin-ThinkPad-E520:~$ sudo synaptic
Invalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 key
(synaptic:3512): Gtk-WARNING **: cannot open display: :0
martin@martin-ThinkPad-E520:~$ ls /tmp/.X0-lock
ls: cannot access /tmp/.X0-lock: No such file or directory

Offline hadez

  • Lid
Re: Synaptic laadt niet meer
« Reactie #3 Gepost op: 2012/04/11, 13:22:17 »
Apparently, opnieuw inloggen helpt ook. Problem solved!

Bedankt voor je hulp!