Launching a “screen” without additional permissions on WSL

I am trying to run a “screen” utility in the Windows subsystem for Linux on Windows 10 (version 1703, Build OS 15063.483).

It seems that I need additional permissions to run it (it works if I "sudo" it), but I do not understand why this is necessary.

What is the recommended setup method?

Is there a reason this is not set by default?

$ screen
Cannot make directory '/var/run/screen': Permission denied
+4
source share
1 answer

From the answer to SuperUser I found that you need to run

sudo /etc/init.d/screen-cleanup start

Then screenworks great for me.

+2
source

Source: https://habr.com/ru/post/1683055/


All Articles