LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-17-2015, 05:04 AM   #1
redhatwannabe
Member
 
Registered: Dec 2008
Posts: 66

Rep: Reputation: 15
How To Export Display When VPN With VPN Address Bind To 127.0.0.1?


Dear all,

I'm trying to connect to Linux Server with OS RHEL 7.1 from a windows 7 laptop


I've checked from the redhat server that X11 is enabed
/etc/ssh/sshd_config
Code:
X11Forwarding yes
my ipconfig yields the following result:

Code:
C:\Users\wojciech>ipconfig /all | find "IPv4"
   IPv4 Address. . . . . . . . . . . : 10.60.100.217(Preferred)
   IPv4 Address. . . . . . . . . . . : 10.200.0.20(Preferred)
   IPv4 Address. . . . . . . . . . . : 192.168.84.116(Preferred)
   IPv4 Address. . . . . . . . . . . : 192.168.56.1(Preferred)
   IPv4 Address. . . . . . . . . . . : 192.168.244.1(Preferred)
   IPv4 Address. . . . . . . . . . . : 192.168.157.1(Preferred)
I've done a netstat -a

Code:
C:\Users\wojciech>netstat -n

Active Connections

  Proto  Local Address          Foreign Address        State
  TCP    10.60.100.217:51125     216.58.213.227:443     ESTABLISHED
  TCP    10.60.100.217:51130     173.194.113.100:443    ESTABLISHED
  TCP    10.60.100.217:51133     80.157.150.237:80      ESTABLISHED
  TCP    10.60.100.217:51134     80.157.150.237:80      ESTABLISHED
  TCP    10.60.100.217:51135     80.157.150.237:80      ESTABLISHED
  TCP    10.60.100.217:51136     80.157.150.237:80      ESTABLISHED
....
TCP    10.200.0.20:50497      192.168.8.40:22        ESTABLISHED
  TCP    10.200.0.20:50794      192.168.8.40:22        ESTABLISHED
  TCP    10.200.0.20:50834      192.168.8.40:22        ESTABLISHED
  TCP    127.0.0.1:6000         127.0.0.1:50140        ESTABLISHED
The redhat server ip is 192.168.8.40

based on the 7 answers found in http://stackoverflow.com/questions/4...ver-over-a-vpn,
Quote:
If there's no VPNIP:6000 it may be binding only to your localIP or even 127.0.0.1. That will probably not work over the VPN.
How should I make the graphical display on the redhat server to appear on my laptop?

no matter what DISPLAY I export it still fails,

thanks in advance!
 
Old 11-17-2015, 06:32 AM   #2
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 8,110

Rep: Reputation: 2268Reputation: 2268Reputation: 2268Reputation: 2268Reputation: 2268Reputation: 2268Reputation: 2268Reputation: 2268Reputation: 2268Reputation: 2268Reputation: 2268
would be nice to explain a bit better:
1. your client is a windows 7 laptop (from which you want to connect to your server)
2. your server is a RHEL 7.1.
3. where is this file located? /etc/ssh/sshd_config (I assume on server side)
4. how did you start your X server on windows?
5. how did you connect to your RH server?
6. what do you want to start (and how)
7. where and how did you set the variable DISPLAY?
 
Old 11-17-2015, 09:14 AM   #3
redhatwannabe
Member
 
Registered: Dec 2008
Posts: 66

Original Poster
Rep: Reputation: 15
Hi I've found the solution at http://blog.markusbordihn.de/2009/04...and-xming.html thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Resolve VPN client hostnames using Bind Jodel Linux - Server 5 10-28-2012 06:50 PM
[SOLVED] Windows7 VPN clients behind Debian Gateway can not connect to Draytek VPN neopandid Linux - Server 3 09-01-2012 12:34 AM
VPN server to VPN server IP Address auto route cheesewizz Linux - Networking 0 06-26-2012 08:01 PM
[SOLVED] mpd error: Failed to bind to '127.0.0.1:6600': Cannot assign requested address 273 Linux - Software 7 06-11-2012 11:17 PM
vpn-vpn Bridge between two networks (1x Debian Server, 1x Cisco RVS4000) qawse Linux - Networking 2 01-14-2011 02:16 AM


All times are GMT -5. The time now is 01:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration