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
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
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
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
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
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
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
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
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
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
LEARN ABOUT DEBIAN
l2tpipsecvpn
L2tpIPsecVpn(1) General Commands Manual L2tpIPsecVpn(1)
NAME
L2tpIPsecVpn - L2tp over IPsec VPN Manager applet for the GNOME Desktop
SYNOPSIS
L2tpIPsecVpn [options]
DESCRIPTION
This GUI is not a network manager plugin. However, it provides a systray icon in the indicator applet from which a non privileged user can
establish and bring down L2TP over IPsec VPN connections.
From there the user can add, remove and edit vpn connections.
Editing allows configuring various options for IPsec, L2TP and PPP.
Among others, the user can configure eg. the gateway, the use of either PSK or a certificate for authentication, various L2TP options as
redial- timeout and attempts and of course all important PPP options. It also allows you to configure PPP for tunnel splitting because you
can add routes as you want.
When applying your settings, all necessary configuration files are written accordingly (ipsec.conf, xl2tp.conf, options.xl2tpd, opensc.conf
up and down scripts ...).
It relies on Openswan and xl2tp packages as the underlying protocol handlers.
You can also use certificates on your local machine or, if e.g. OpenSC is installed and configured, even on a smart card to handle PPP
authentication.
The GUI automatically detects when network interfaces are going up or down and can (if so configured) automatically establish or close VPN
connections.
OPTIONS
startConnectionEditor
Starts the connection editor dialog.
applySettings
Write configuration files according to the connection settings, must be started with root privileges, ie use gksudo as non root
user.
deleteAllConfFiles
Delete all configuration files, must be started with root privileges, ie use gksudo as non root user.
AUTHORS
Werner Jaeger
version 1.0.9 11 Oct 2012 L2tpIPsecVpn(1)