bugGNU Screen - Bugs: bug #24717, Strange screen behavior across...

 
 

bug #24717: Strange screen behavior across different VNC sessions

Submitted by:  Tynan Fitzpatrick <tynan>
Submitted on:  Fri 31 Oct 2008 09:26:41 PM UTC  
 
Category: User InterfaceSeverity: 3 - Normal
Priority: 5 - NormalStatus: Invalid
Privacy: PublicAssigned to: None
Open/Closed: ClosedRelease: None
Fixed Release: NonePlanned Release: None
Work Required: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 31 Oct 2008 09:42:45 PM UTC, comment #1:

This is an artifact of how the X Window system works, and is not solvable on screen's end.

X clients use the $DISPLAY environment variable to determine what server to connect to. It's not possible for screen to reach in and change the $DISPLAY setting for child shell processes; nor is it even obvious what screen should do for default $DISPLAY settings when it is reattached from another location (especially if it's still attached to other displays).

You will need to manually adjust the value of $DISPLAY in whatever shells/programs are running within screen, and use screen's "setenv" command to change the default value for new shells.

Micah Cowan <micahcowan>
Fri 31 Oct 2008 09:26:41 PM UTC, original submission:

I typically use a couple VNC sessions on my desktop. However, I ran into something unexpected when I attempted the following procedure:

1. With two VNC sessions running, start xterm and run screen in one of them.
2. Detach from the screen session.
3. Go to the other VNC session, start an xterm and attach to the screen session.
4. Do something in the screen session that draws in the X display - say, xmessage "Hello"
5. The window will appear in the first VNC session - which is not where screen is currently running.

This also probably occurs between the primary X display and a VNC session, but I haven't hooked a monitor up to my computer to test this.

I'll try and take a look at the source sometime soon, but I can't really guarantee that I'll be able to work on it in an effective or timely manner.

Tynan Fitzpatrick <tynan>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by micahcowan (Posted a comment)
  • -unavailable- added by tynan (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 31 Oct 2008 09:42:45 PM UTCmicahcowanStatusNone=>Invalid
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1