Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am running Ubuntu 14.04 64bit on my Dell XPS 13 laptop, and up until now I was able to start nautilus via terminal or by using ALT+F2 and typing gksu nautilus through Dash. Only now, supposedly after I upgraded the system via update manager where unity package got updated, I cannot do it anymore. When trying to launch it via ALT+F2 I can see a cogwheel moving instead of a cursor, and if I do it with terminal gksu nautilus it shows me this

gksu nautilus
** (gksu:6420): CRITICAL **: fcntl error
** (gksu:6420): WARNING **: Lock taken by pid: -1. Exiting.

if I launch it with sudo command, everything works as expected.

The question is, is it a bug (which means I will report it immediately), or is it a known issue and there is a workaround I can try already?


share|improve this question
gksu has been depreciated, see… for a discussion. I am not sure where that leaves you. You can try filing a bug report, but I suspect it will be closed as "won't fix" – bodhi.zazen Apr 29 '14 at 21:02

Try to do rm ~/.gksu.lock it's safe to remove that file, it will be recreated when you be successful at doing gksu again.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.