Sponsored Content
Operating Systems Solaris How do I keep an X session alive when my VPN/ssh disconnects so I can reconnect later? Post 303028449 by John_sp on Tuesday 8th of January 2019 10:08:34 AM
Old 01-08-2019
How do I keep an X session alive when my VPN/ssh disconnects so I can reconnect later?

Hi,


Sorry if this question has been asked before, however, I have tried looking in the forum (and google in general) and I haven't found an answer, so I thought I'd ask here.



I am trying to use a GUI application in Solaris 10. Normally I connect with a VPN then SSH and use Xming to launch my application.
The problem is that whenever my VPN disconnects, the software closes and interrupts the things it was doing.
For command line applications I use "screen" to keep a session opened when the VPN connection fails, so there is no problem, but I haven't found anything equivalent for an X session.
I even tried forwarding the X session to "screen" (export DISPLAY=localhost:N.0 ) but either I'm doing something wrong or this doesn't work...

I know using Citrix will solve this with proper configuration, unfortunately for the time being I can't use it on this server.



is there any software equivalent to "screen" for X sessions that I can use in Solaris 10? if not, Is there any alternative way of doing this?


Thanks!
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Keep alive packet for control session in ftp data transfer

I'm new to UNIX. We are using SunOS5.9. In order to maintain the control session active during large file tranfers in ftp, i like to send keep alive packets for every 10 seconds.I like to know the steps to be done to achieve this. Please help me guys.Thanks in advance. (0 Replies)
Discussion started by: rpr
0 Replies

2. Solaris

How to reconnect to a disconnected remote ssh session

hi all How to reconnect to a disconnected remote ssh session on solaris 10 is there any way (4 Replies)
Discussion started by: h@foorsa.biz
4 Replies

3. Shell Programming and Scripting

could not send commands SSH session with Net::SSH::Expect

I am using Net::SSH::Expect to connect to the device(iLO) with SSH. After the $ssh->login() I'm able to view the prompt, but not able to send any coommands. With the putty I can connect to the device and execute the commands without any issues. Here is the sample script my $ssh =... (0 Replies)
Discussion started by: hansini
0 Replies

4. Ubuntu

SSH droping connections over a VPN

Hello friends, I'm connection to an external network using a VPN configured over an Ubuntu. The problem is that whenever I get connected to a remote computer using my VPN as router, after a while, sometimes short, sometimes long, sometimes immediately, the connection gets lost and I've to... (1 Reply)
Discussion started by: lzcool
1 Replies

5. HP-UX

ssh session getting hung (smilar to hpux telnet session is getting hung after about 15 minutes)

Our network administrators implemented some sort of check to kill idle sessions and now burden is on us to run some sort of keep alive. Client based keep alive doesn't do a very good job. I have same issue with ssh. Does solution 2 provided above apply for ssh sessions also? (1 Reply)
Discussion started by: yoda9691
1 Replies

6. UNIX for Dummies Questions & Answers

SSH session

I ran a job using SSH and then used screen command followed by space bar. Then I ran the job. But after some hours, the internet connection was lost.This had happened to me before. I used to run the whole job again. Today I came across the fact that I could restart the jobs without having to do it... (2 Replies)
Discussion started by: nellierd
2 Replies

7. UNIX for Advanced & Expert Users

Need Password-Less ssh with RSA-VPN

We have RSA SecureID softtoken key generator on my Windows machine. It generates new keys every 1 minute. Any HPUX server (be it ServerD or ServerP) requires my ID and the randomly generated RSA SecureID softtoken key from my Windows to login. I login to ServerD. Then I run a script... (0 Replies)
Discussion started by: mohtashims
0 Replies

8. IP Networking

VPN ssh access over RDP port?

Guys, Can I use an open RDP port to gain ssh access to my Linux server running the other side of our firewall? I work from home on the odd occasion, we only have RDP port 3389 available once logged into the VPN. I would rather ssh into my workstation without the need for a desktop display. ... (3 Replies)
Discussion started by: general_lee
3 Replies

9. SCO

Telnet session disconnects abruptly

I have inherited and SCO OpenServer Release 6 server. The clients connect using telnet to get to a proprietary database application for Service tickets. The issue I am currently having is that the connection just stops abruptly and you can see "telnet session terminated" on the terminal emulation... (22 Replies)
Discussion started by: sean6605
22 Replies
DCOP(1) 																   DCOP(1)

NAME
dcop - Console DCOP client SYNOPSIS
dcop [--pipe] [--user user] [--all-users] [--session session] [--all-sessions] [--list-sessions] [--no-user-time] [application [object [function [arguments]]]] DESCRIPTION
Console DCOP client OPTIONS
--pipe Call DCOP for each line read from stdin. This is roughly equivalent to calling while read line ; do dcop $line ; done but because no new dcop instance has to be started for each line this is generally much faster, especially for the slower GNU dynamic linkers. --user user Connect to the given user's DCOP server. This option will ignore the values of the environment vars $DCOPSERVER and $ICEAUTHORITY, even if they are set. If the user has more than one open session, you must also use one of the --list-sessions, --session or --all-sessions command-line options. --all-users Send the same DCOP call to all users with a running DCOP server. Only failed calls to existing DCOP servers will generate an error message. If no DCOP server is available at all, no error will be generated. --session session Send to the given KDE session. This option can only be used in combination with the --user option. --all-sessions Send to all sessions found. Only works with the --user and --all-users options. --list-sessions List all active KDE sessions for a user or all users. --no-user-time Don't update the user activity timestamp in the called application (for use in scripts running in the background). ENVIRONMENT
DCOPSERVER ICEAUTHORITY SEE ALSO
dcopclient(1) dcopref(1) dcopfind(1) kdcop(1) Inside KDE, you can enter help:/kdcop in Konqueror to see the User Manual for kdcop graphical dcop tool. March 7, 2003 DCOP(1)
All times are GMT -4. The time now is 01:34 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy