2

screen is a Linux tool for managing multiple shell windows. Upon running it in a headless version of Elementary I received the following error:

(watson)huey@terminus:~$ screen

Cannot make directory '/var/run/screen': Permission denied

How can I resolve this?

  • Just wondering, why do you run a headless version of elementary? What purpose does this setup serve? – embik Jul 4 '15 at 19:09
  • I run it in on a Chromebook for access to more capabilities. – Huey Jul 4 '15 at 23:09
4

It appears to be a bug primarily affecting server installs and other headless versions of Ubuntu.

It can be fixed with sudo /etc/init.d/screen-cleanup start.

According to the bug description:

I believe this is because /etc/rcS.d/S70screen-cleanup is running via upstart much earlier than it expects to have run, and is failing to correctly clean up that directory.

| improve this answer | |
  • sudo /etc/init.d/screen-cleanup start Don't have effect to me. – user17590 Mar 8 '19 at 20:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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