9 Responses to “How to work around screen “Cannot open your terminal ‘/dev/pts/1’ – please check.””

  1. matthiassays:
    Google Chrome 18.0.1025.151 Google Chrome 18.0.1025.151 GNU/Linux x64 GNU/Linux x64
    Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.151 Safari/535.19

    you can work around it using ssh. just put the public key of your user or root into the target user .ssh
    you would probably want to use a ssh agent script so you only need to auth your private key once over multiple shells and dont have to fiddle with ssh-agent manually.

    then you can just use ssh in replacement for su. so you ssh user@localhost
    then you can easily use screen cause ssh opens another pty that really belongs to the according user.

    View CommentView Comment
    • adminsays:
      Epiphany 2.30.6 Epiphany 2.30.6 Debian GNU/Linux x64 Debian GNU/Linux x64
      Mozilla/5.0 (X11; U; Linux x86_64; bg-bg) AppleWebKit/531.2+ (KHTML, like Gecko) Version/5.0 Safari/531.2+ Debian/squeeze (2.30.6-1) Epiphany/2.30.6

      hi Matthias,

      thx for suggestion 🙂

      Best see you
      Georgi

      View CommentView Comment
  2. Helgesays:
    Google Chrome 23.0.1271.95 Google Chrome 23.0.1271.95 GNU/Linux x64 GNU/Linux x64
    Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.95 Safari/537.11

    It’s a nice guide, but I would strongly advice against using this method on multi-user systems.
    Making your tty/pty/pts world-read-writable opens up a gaping security hole, giving everyone raw access to your console.
    Maybe it would be secure enough if you use ACLs, and only allow specific users, but I would rather prefer doing “script /dev/null” before calling screen.

    View CommentView Comment
  3. Arnoldo Penzelsays:
    Firefox 3.5.3 Firefox 3.5.3 Windows 7 Windows 7
    Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3

    I make my best beats on my Maschine.

    View CommentView Comment
  4. Jouni "rautamiekka" Järvinensays:
    Firefox 30.0 Firefox 30.0 Windows 7 x64 Edition Windows 7 x64 Edition
    Mozilla/5.0 (Windows NT 6.1; WOW64; rv:30.0) Gecko/20100101 Firefox/30.0

    So what to do instead of changing the /dev/pts/ perms ? This kind of stupidity should be fixed already.

    View CommentView Comment
  5. Conmannsays:
    Firefox 30.0 Firefox 30.0 Windows 7 x64 Edition Windows 7 x64 Edition
    Mozilla/5.0 (Windows NT 6.1; WOW64; rv:30.0) Gecko/20100101 Firefox/30.0

    One can just ssh instead of doing 'su -'. This way screen will work out of the box.

    View CommentView Comment

Leave a Reply

CommentLuv badge