[Top][All Lists]

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

[screen-devel] [bug #42142] screen <command> with STY set to outside scr

From: Luke Dashjr
Subject: [screen-devel] [bug #42142] screen <command> with STY set to outside screen session does not behave as expected
Date: Fri, 18 Apr 2014 13:50:04 +0000
User-agent: Mozilla/5.0 (X11; Linux i686 (x86_64)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.116 Safari/537.36


                 Summary: screen <command> with STY set to outside screen
session does not behave as expected
                 Project: GNU Screen
            Submitted by: lukedashjr
            Submitted on: Fri 18 Apr 2014 13:50:00 GMT
                Category: Program Logic
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                 Release: None
           Fixed Release: None
         Planned Release: None
           Work Required: None



I run my X session in screen, so that I can later attach to it inside the X
session itself. However, this sets the STY environment variable, so when I go
to use screen inside a terminal, it just quietly exits (or opens a new window
in my X screen?), with no indication in my terminal what actually happened.

Expected behaviour is that it realises it's not inside the X screen, and
behaves the same way as if STY was not set: create a new screen session with
the application.

Also, I observed that inside a screen session, if you change users (eg, with
su or sudo) and STY remains set, screen fails with an error:
    /root/.screen/3192.X: No such file or directory


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]