A friend of mine just showed me a neat built-in utility called screen that, long story short, allows you to create instances of the terminal.
I am running Windows 10 and trying to use this utility with Bash on Ubuntu on Windows, but since it was a built-in utility, I didn't expect any problems. After playing with it on a different computer, I went to start an instance on mine with screen -S hello and all I got back was
Cannot make directory '/var/run/screen': Permission denied
I googled the error and the first thing that came up was this site which said to try
sudo /etc/init.d/screen-cleanup start
which I did with little luck. Now with the same screen command all that happens is
[screen is terminating]
[11:44:25 ~]> _
with no other explanation. I made sure that there were no instances left running with screen -ls and got No Sockets found in /home/daniel/.screen.. I went back to google to then fix this issue but all of the questions / answers I found were for CentOS (which I'm not running, and just to be clear, cat /etc/issue returns Ubuntu 14.04.4 LTS \n \l). I did try some of their suggestions anyway, trying all of these:
sudo chmod 2775 /usr/bin/screen
sudo chmod 755 /usr/bin/screen
sudo chmod 777 /usr/bin/screen
sudo chmod u+s /usr/bin/screen
sudo chmod 755 /var/run/screen
as well as chmod 700 ~/.screen after creating and exporting a new SCREENDIR.
I'm not trying to use any special programs, not trying to ssh, just want to use screen natively on my bash/Ubuntu console.
Any help is appreciated!