Software :: Way To Configure Screen / When Session Is Resumed It Inherits DISPLAY?

Jun 22, 2011

At work, we have a linux machine which is shared among the members of my team. Each of us runs an XServer on our desktop, which allows us to launch XClients (xterm, debuggers, etc) on the linux machine.We all are using X11 forwarding feature with SSH. I personally run all shell sessions behind screen because I like to be able to detach if needed. We've seen issues when the $DISPLAY variable gets crossed between different users. Let me outline a series of events:

1. user1 logs in and $DISPLAY = localhost:10.0
2. user1 launches a screen
3. user1 loses connection to linux machine (eg. desktop reboot)
4. user2 logs in and $DISPLAY = localhost:10.0
5. user1 logs in and $DISPLAY = localhost:11.0
6. user1 resumes screen from previous login, but in this screen $DISPLAY=localhost:10.0.
7. user1's X apps get displayed on user2's desktop!

I assume someone must of encountered this before. Are there any known solutions? Is there a way to configure screen, so that when a session is resumed it inherits the $DISPLAY?

View 1 Replies


ADVERTISEMENT

General :: SSH Shell - No Screen To Be Resumed

Sep 3, 2010

I occasionally use screen within linux. Every now and then my connection plays up and I lose access to the ssh shell, when I try to reattach myself to the screen instance this is what I get:
There is a screen on:
2690.pts-0.localhost (09/03/10 12:56:08) (Attached)
There is no screen to be resumed. What I could do in this case? I guess screen believes I'm still attached, while I'm not.

View 2 Replies View Related

Ubuntu :: Guest Session: How To Configure And Available From Login Screen

Jan 8, 2010

I like very much the Guest Session feature of Karmic, it comes very handy when someone needs to use your computer. However, it's only available if I'm already logged in, it won't show this option at login screen. Is there any way to make this possible? Also, I once tried the guest session and configured its appearance to my taste. The next time I entered, though, the default desktop reappeared. I know this happens because no setting is permanently stored for this session, so the only solution I can think of is to change the default configuration it is loaded from.

View 4 Replies View Related

General :: Ubuntu - Wmctrl Cannot Open Display When Session Initiated Via Ssh+screen

Sep 20, 2010

I'm using wmctrl on an Ubuntu machine to manage windows from a script, that I run inside a (gnu) screen.

If I start the screen session from the local machine, wmctrl works fine, including if I completely close the terminal window and issue the wmctrl commands when connecting to the screen remotely via ssh.
Conversely, if I connect remotely with ssh and start a screen, wmctrl doesn't work (returns "Cannot open display") even if I attach that screen session locally from the Ubuntu Terminal.

I guess there is some hidden screen parameter that doesn't get set in a way that allows accessing the display when it's launched remotely -- any ideas what it is and how to modify it from within a remote ssh-screen session so that that the script can access the windows?

View 1 Replies View Related

General :: Rhel5 - Cannot Configure Samsung Syncmaster 632nw Monitor To Display Full Screen At 1360X768

Dec 15, 2009

I am new to this forum. I am a both rhel5 and fedora user.I can not configure my Samsung syncmaster 632nw monitor to display full screen at 1360X768.There is huge blank space on left and right portion of the monitor.The maximun resolution is 1024*768 and minimum is 640*480.

I have tried many times to solve it using xorg.conf but still unable to do it.

Here is xorg.conf's content :

View 5 Replies View Related

General :: How To Display Console Messages In Ssh Session?

Mar 2, 2011

I have logged as e.g. user1 via ssh into my machine. Then I perform `su -` to switch to root user and I don't see debug messages which are normally displayed when I log as root via system console.How to display console messages in ssh session ?

View 1 Replies View Related

OpenSUSE Network :: Install And Configure My Vnc Session ?

Mar 4, 2011

I need some help install and configure my vnc session at my Opensuse.

Right now I have installed nx client which works fine and is listening on port 5901.

I also want vnc to use when I want to check exactly what is going on my work's computer (when I go home)

I am reading the tutorial here:

And I would like to ask you the following

1.

Code:

For VNC client connection remember to open ports 5901-> in the firewall. (1 port/Xsession.) nxserver is listening to 5901. How to configure vnc to listen to 5902.

2. The guide also refers that

Code:

Here we "Prestart" vnc sessions for specific users, therefore no login screen is presented. This uses more resources as the VNC Session is running even when no client is connected to the session watching it. But there in lies it's advantage, "watching a session" and "using a session" are not the same thing! This method is very usefull for starting long running programs before going home. Once home you can re-connect to the session and see how things are going.

View 3 Replies View Related

Fedora Networking :: NX On 10 - Shadow Session On Local Display?

Jan 3, 2009

Has anybody been able to get NX (Nomachine) running on Fedora 10 configured using a shadow session of the local desktop (X11-local). I am experiencing some kind or cookie creation error, perhaps privilege related?

FYI. Normal unix-kde sessions work fine (e.g. Giant on Box) and shadow sessions of an existing unix-kde session works fine too. A shadow session of the local display is a bust.

Here's the error log:

Code:
NX> 203 NXSSH running with pid: 4076
NX> 285 Enabling check on switch command
NX> 285 Enabling skip of SSH config files
NX> 285 Setting the preferred NX options

[Code]....

View 14 Replies View Related

General :: Display The Source Machine During A Remote X Session In The Title Bar?

Aug 8, 2011

In the past, when I open a gvim session on a remote machine, the title bar of gvim would show the machine name in brackets. I am not sure if this was done by the remote gvim itself, or the local window manager. In the past I have used gnome2, although I am currently using unity (and finding it rather frustrating). Is there some setting I can change to always force remote windows to display the source machine?

View 1 Replies View Related

Ubuntu :: Configure Unity To Restore Apps From Previous Session?

May 3, 2011

how to configure unity to restore apps from my previous session?

View 1 Replies View Related

Slackware :: Configure Tightvnc Server Installation To Use Already Running X Session?

Jun 6, 2011

I want to configure my tightvnc server installation to use my already running X session (on current :0 screen), but as i understand its not really and its working only at another screen. How can I configure to use it on my current screen?

View 2 Replies View Related

Ubuntu Security :: Display A List Of All The Files Changed During Current Session?

Jan 25, 2011

is there a way to display a list of all the files changed during current session?

View 4 Replies View Related

SUSE :: Failing To Load The Gnome Session - GTK Warning - Cannot Open Display

Apr 27, 2010

I am using SLES 10 SP3(x86_64). I was trying to install gtk/wxwidget through yast.

After that i rebooted my system, now system is failing to load in GUI mode.

If i can give the log of last few lines are as follows

Then it asks for login, only shell is available for me. How to login to gui mode..

I tried using the command gnome-session it gives error (gnome-session: 4101): Gtk-Warning **: cannot open display:

Also i tried using init 5, but again it prompts the my servername.

View 1 Replies View Related

Fedora :: Configure FC11 To Grant Full Control To The TigerVNC Session?

Aug 29, 2009

How do you configure FC11 to grant full control to the tigerVNC session. I cannot do any software updates, update vsftp through the GUI and add different software.

There are probably more things.

I can do this from the local console but I want to run two systems headless and use my three monitors on a single system that I manage them from.

View 1 Replies View Related

Ubuntu :: Minimize Nxclient Remote Fullscreen Session Causes Blank Local Display?

Jun 9, 2011

I'm running nxfree to log into my remote xubuntu PC from my local xubuntu laptop since the X protocol was broken.Has been working fine. Recently upgraded from Lucid 32bit to Maverick 64bit Xubuntu.Now when I run nxclient in fullscreen mode, if I minimize the window (or just log out) my local display does not return.I'm left with just the background colour. The windows are still there but not visible. For example I can:* randomly right-click and a menu pertaining to the invisible window appears;* press alt-tab and cycle through the windows but activating one does not display it (it remains invisible);* press ALT-F and bring up the current active (but invisible) application file menu;Basically I press ALT-F and ALT-TAB and close everything and then log out and log back in to restore the windows/panels.

View 3 Replies View Related

OpenSUSE Hardware :: Max Screen Resolution - Screen Goes Blank When Click On The Display Icon In System Settings

Jan 11, 2011

i have just put a Geforce 7300 GT graphic card into my machine the problem is the max resolution I can get is 1024x768 at 60 hz the screen is a benq fp71g+. also the screen goes blank when i click on the display icon in system settings. i know that the screen can be run at 1280x1024 so I don?t know where the problem is.

View 3 Replies View Related

Slackware :: Configure Display To Get The Best Performance?

Jul 23, 2011

what is the configuration file responsible for the X system !!! i did not have /etc/X11/xorg.conf file and the X server was pretty good and i can open it through "startx" command.i created xorg.config by "xorgsetup" program but i could not feel any change. i wanna reconfigure my display driver to be sure it's functioning at maximum performance.

View 8 Replies View Related

Red Hat / Fedora :: Display Only In The Middle Of Screen - Set On Full Screen?

Feb 23, 2010

we have installed centos in our organisation on vitual box.it gives display only in the middle of screen.i want to set it on full screen. when i select full screen option the back black screen become full but the display is same. how can i adjust it on full screen?

View 2 Replies View Related

Ubuntu :: Manually Configure Display Adapter?

Sep 19, 2010

In 8.04 i used this command to manually configure my graphics adapter.sudo displayconfig-gtk

I would like to do the same thing in 9.10 and 10.04. How do i do it?it is a unichrome pro in and older everex stepnote.

View 7 Replies View Related

General :: Cannot Configure Three Monitor Display Ubuntu?

Jun 17, 2010

Looking for a newb-type step by step process for configuring ubuntu to 1) recognize both the onboard video card as well as the PCI graphics card and 2) how to set up three displays with separate desktops (able to mouse-over from screen to screen). So far the 20+ hours searching online has yielded excessively complex instructions, inappropriate instructions, or ancient posts. Is this config even possible? Again, I am learning so the instructions need to be very deliberate. PNY GeForce FX 5200 PCI 256 MB 2 Port VGA + S-Video Graphics Card VCGFX522PEB and an onboard display apdapter (Intel P4 Chipset 845GV).

View 1 Replies View Related

General :: Run A Second Command In Same Screen Session?

May 5, 2011

I'm starting the first command in screen like this: screen -d -m -S testen -t lalala watch df -h Now I have a screen session running in background and I can reconnect at a later time. But how can I run a second command (in a new window) in the same screen session?

View 1 Replies View Related

Software :: Using 'at' To Open A 'screen' Session?

Mar 8, 2011

when I type:

Code:

After the command has run (verified with atq) I cannot attach to screen using "screen -r" and ps shows screen is not running:

Code:

why the 'at' command can't start screen in the background for me to attach to later?

Noticed screen is actually returning "Must be connected to a terminal." to logs. Does 'at' not provide a terminal?

View 5 Replies View Related

General :: Get An "cannot Open Display" Error Foe Gnome-session?

Dec 13, 2010

When I open startx it works fine bur I get an "cannot open display" error foe gnome-session. I already tried export DISPLAY=:0. ANY suggestions?

View 4 Replies View Related

Ubuntu :: Configure SSH To Display A Warning Banner At Login

Aug 27, 2010

configure SSH to display a warning banner at login

View 1 Replies View Related

Ubuntu :: Unable To Configure Display / Can't Choose 1600x900 On Either One?

Oct 7, 2010

Karmic 9.10 latest updates
Nvidia GeForce 6150 LE
Nvidia driver 185.18.36

Monitor Acer P205H - 1600x900 native

I can't configure the monitor. and the display.

I've tried with both the built in display configure and the Nvidia one. Can't choose 1600x900 on either one.

I either can't see all the display on the monitor, or it takes on some weird panning mode and looks like the display is about 2500x1500 or something.

Here's the xorg.conf file. Clearly it does not see the new monitor and the modes are wrong. These settings are for the previous monitor. How Can I fix this so that my display works properly? Thanks.

Windy

Code:
# xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
code....

View 1 Replies View Related

CentOS 5 Hardware :: Configure HP LD220 Pole Display ?

Jun 2, 2011

How to configure Pole display on CentOS?

View 1 Replies View Related

General :: Way To Automatically Unlock Screen For VNC Session

Sep 17, 2010

I'm connecting via ssh to an Ubuntu server that has a physical display attached.I'd like the physical display of the server to remain locked while I'm connected remotely.Is this possible? How? Also, is there a way to automatically unlock the screen for the VNC session, which is made from localhost via an ssh tunnel?

View 1 Replies View Related

Programming :: Screen Listing Of Windows In A Session?

May 21, 2011

I need a way to have screen (or dbus, whatever) to spit out a list of windows (title and number) that are active in a screen session.I'm writing a wrapper for common work tasks. Part of the functionality will check if a certain window exists, and if so let me know. The idea here is to prevent accessing the same machine twice. (although, and override option would probably be needed, just in case, but I digress...) I've searched through the screen man page and don't see anything that'll work. I'm not beyond forking screen and ending up with a custom version. However, I'd like to avoid that if I can.

Edit: I'd like to see something like "screen -S screen_name -window-list" or similar.

View 6 Replies View Related

Software :: Set Xterm Title To Gnu Screen Session Name?

May 5, 2009

I usually have several xterms open, with each one running a different gnu screen session. It would be useful if--at a glance--I could see the session name in the xterm title bar. That way I would be able to quickly tell which screen sessions are running in which xterms. This would be very useful when alt-tabbing.

I know that there are termcap, terminfo, and termcapinfo commands available, but I don't know how to use these. I also know that there's an $STY environment variable that stores the session name. Also, I do not want to lose my current "hardstatus alwayslastline" bar. It seems like this should be independent from the xterm title, anyways.

View 5 Replies View Related

Software :: Use 'screen' To Restore A Gnome-session?

Oct 24, 2010

This is regarding the 'screen' utility. I use an utility called 'HummingBird Exceed' to get the XSession of a linux client on my windows desktop (basically it uses XDMCP). But the pain is that at the end of the day, when I close Exceed, the session gets destroyed. I did lot of searching on the web to know how the save and restore session in Exceed, but failed. However, I found that 'screen' is the utility which keeps the session intact even when you logout. So, I did the following:

a. Logged into the machine using Putty (terminal emulator).

b. Started 'screen'.

c. Issued the command: /usr/bin/gnome-session

I got the XSession on the Exceed and started working. I opened three or four gnome-terminals. But when I logout of exceed(and detach from the screen), the screen displayed a message saying that 'Connection to XServer was lost". Hence I could not restore to this session when I reattached to the screen. how do I use 'screen' so that when I attach to the screen on which I had started gnome-session, it attempts to connect to the Xserver and open the session as it was before detaching?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved