I've been using a VPS to host a web application that uses several support applications that I need to run in the background. To do this, I normally use screen and/or tmux.
However, when I logged in to this new VPS and typed 'screen', it seemed to start and then terminated. "No matter," I thought, "I'll use tmux because I am a clever user!" Alas, tmux also failed, but with a more helpful error: "create session failed: : Permission denied".
Now, I've been working around the problem by using sudo tmux, but it's really not a safe alternative. If someone knows why I can't do this, could they please help?
waverider: I am completely unable to *start* the screen session, so I never have the opportunity to leave it or restore it. Also, I get "permission denied" without restoring a session--just `tmux` gives me that error.
screen -ls says there are no sockets found in /var/run/screen/S-, which is to be expected since I haven't been able to start screen, ever.
Problem persists today, and it's kind of strange. Any more thoughts? This is the first time I've ever had any problems with screen, so I have to wonder what in the setup caused this bug.
waverider: `screen` results in `[screen is terminating]` after a brief flicker on the screen. `tmux` results in a displacement of my cursor and the message `create session failed: : Permission denied`.