Hi, I'm using Linux Mint 14 and have faced the following problem recently:

after removing and installing some of the software (torchat and LibreOffice to be exact) and rebooting I found myself not being able to log into my system.

first thing I noticed was simply a console line offering to enter my login and password, after that it greeted me with

bash: /usr/lib/git-core/git-sh-prompt: No such file or directory

all my attempts to run startx resulted in nothing but a black screen with an active mouse arrow

briefly serfing the net I've found that installing mdm could be a possible solution, however, after I did that, I've started logging into this very black screen immediately, skipping any time in console

so the only way to get to shell is to drop there using the recovery mode

when I try to launch startx there I get the following message

Fatal server error: Could not create lock file in /tmp/.tX0-lock
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
xauth: error in locking authority file /root/.Xauthority

also I can't remove or install anything using this shell due to blocking issues with /var/lib/dpkg/lock and being unable to write anything in /var/cache/apt/

I'd appreciate any suggestions about working this mess out. Thanks in advance

asked 06 May '14, 16:55

agvares's gravatar image

agvares
1112
accept rate: 0%




You may have a locked .Xauthority, it will appear as a second .xauthority, either preceded by a ~ or followed by a .loc in roots $HOME directory. By all means remove it if it's there but I wouldn't startX under root, use a less authoritative (and therefor less potentially destructive) user to test changes in the system.

link

answered 22 May '14, 13:18

dijetlo's gravatar image

dijetlo
1
accept rate: 0%

edited 22 May '14, 13:19

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×5

Asked: 06 May '14, 16:55

Seen: 3,188 times

Last updated: 22 May '14, 13:19

powered by OSQA