V4mpire
17/05/2016, 15h07
for those experiencing the same issue, it could be the same as mine where it's not adding gid=5 to the modes of devpts, to get screen workign do the following:
mount | grep /dev/pts
this could show a result like this: devpts on /dev/pts type devpts (rw,relatime,seclabel,gid=5,mode=600,ptmxmode=000)
if yours is missing gid=5 then you can fix with the following:
mount /dev/pts -o remount,gid=5
and then in /etc/fstab under options for devpts change it to gid=5,mode=600
this should allow you to use screen without issues on a non-root account and should remain working upon reboot of your server, if I have done anything slightly wrong, feel free to correct me
mount | grep /dev/pts
this could show a result like this: devpts on /dev/pts type devpts (rw,relatime,seclabel,gid=5,mode=600,ptmxmode=000)
if yours is missing gid=5 then you can fix with the following:
mount /dev/pts -o remount,gid=5
and then in /etc/fstab under options for devpts change it to gid=5,mode=600
this should allow you to use screen without issues on a non-root account and should remain working upon reboot of your server, if I have done anything slightly wrong, feel free to correct me