gnu screen does not work in classic?

Nick Moffitt nick.moffitt at
Tue Jan 3 00:46:54 UTC 2017

Dan Kegel:
> I tried to use 'screen' as usual to start a long-running job
> inside classic, but it failed because /proc/self/fd/0 was
> owned by root:

As a workaround, you can use /usr/bin/script from the bsdutils package
to give you a fresh pty that screen won't get upset about.  Something
like this should do the trick:

    script -c 'screen -RAD' /dev/null

Nick Moffitt

More information about the Snapcraft mailing list