[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Screen won't work after 'su non-root-user'



on Wed, May 19, 2004 at 01:33:43PM -0700, Sean O'Dell (sean@celsoft.com) wrote:
> If I ssh into a machine as root, then su to a non-root user, then try to run
> screen, I get this error:
> 
> ????????Cannot?open?your?terminal?'/dev/pts/0'?-?please?check.
> 
> I also get this error if I log into my local machine as root, then su to a
> non-root user and try to run screen.
> 
> However, if I either ssh into the remote machine, or log into the local
> machine, directly as the non-root user, screen works fine.
> 
> Both the local and remote machine are updated with the latest packages from
> Debian, both unstable and testing.
> 
> It's seems that, somehow, when I su to a non-root user, something changes
> that prevents screen from working.
> 
> Any ideas?

I've run into a number of issues with screen on remote sessions.

One of these is related to incorrect permissions on the PTY device
files.  No specific guidance, but check/Google for this.


Peace.

-- 
Karsten M. Self <kmself@ix.netcom.com>        http://kmself.home.netcom.com/
 What Part of "Gestalt" don't you understand?
    Work is the curse of the drinking class.
    - Oscar Wilde

Attachment: signature.asc
Description: Digital signature


Reply to: