Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 use PuTTY to connect with my VPS server that runs on Debian 7.0 When I try open screen by

screen -S {screenName}

after enter there's just info [screen is terminating].

It happens on all accounts apart from root.

share|improve this question
What happens if you do not use the -S screenName option? If your preferred screen name includes blanks, did you set it in quotes? – Dubu Jul 25 '13 at 9:54
I don't have a definitive idea, but I'd suspect a problem with permissions: either screen fails to create a (Unix-domain) socket (which is a filesystem object, among other things) or it fails to create a pseudoterminal (PTY) -- check the access rights on the /dev/ptmx device (and check if /dev/pts is mounted at all) -- it should be root:root 0666. – kostix Jul 25 '13 at 10:18
(A followup) on a randomly picked Wheezy systems I have in the vicinity, screen creates its sockets under the /run/screen/S-<username> directory: for instance, while being logged as kostix in a host jukebox, I have this socket created by screen: /run/screen/S-kostix/5523.pts-0.jukebox – kostix Jul 25 '13 at 10:23
And you could also try to install tmux (it's a supposedly better screen) and try it to see if it may be it would print a more sensible error message should it fail to start. – kostix Jul 25 '13 at 10:25

Could you check that you don't have a line about /dev/pts in your /etc/fstab file like

devpts      /dev/pts    devpts  defaults    0   0

that would override the one from /etc/mtab like

devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0

If so, try commenting the one from /etc/fstab, this could help. In any case, the mount command should show you the correct rights for /dev/pts, like

devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
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.