Ssh, su+screen: Cannot open your terminal /dev/pts/0 please check

From Andreida
Revision as of 11:50, 16 February 2016 by Andreas (talk | contribs) (Created page with "su+screen: “Cannot open your terminal ‘/dev/pts/0′ – please check.” from [http://debianaddict.com/2013/03/08/gnu-screen-cannot-open-terminal-when-you-su-to-a-user/]...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

su+screen: “Cannot open your terminal ‘/dev/pts/0′ – please check.”

from [1]

before su:

chown user `tty`
su user

reason: screen works only on "your" tty.