Bug 55042

Summary: unable to run screen as non root user, from gnome desktop
Product: [Retired] Red Hat Linux Reporter: Randall Wheeler <rswheeler>
Component: screenAssignee: Phil Copeland <copeland>
Status: CLOSED NOTABUG QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1   
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-12-07 22:26:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Randall Wheeler 2001-10-24 19:43:20 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)

Description of problem:
when trying to run the screen utility as a user other then root the 
following error occures:

"Cannot open your terminal '/dev/pty/0' - please check"

for example type:
su - someuser
screen



Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. open terminal from gnome desktop
2. su - non-root-user
3. screen
	

Actual Results:  error messsage: "Cannot open your terminal '/dev/pty/0' - 
please check"


Expected Results:  a screen session for the requested user.

Additional info:

Comment 1 Phil Copeland 2002-04-15 20:26:13 UTC
when you su - <user>
the controlling tty's ownership is not changed. This is correct behaviour for su

you will need to ssh <user>@localhost or similar for the ownership of the tty to
change correctly
this is not a screen bug rather this is expected tty behaviour.

Phil
=--=