LinuxQuestions.org
Visit Jeremy's Blog.
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 10-06-2004, 09:47 AM   #1
clergykid
LQ Newbie
 
Registered: Feb 2003
Location: Canada
Distribution: Debian
Posts: 24

Rep: Reputation: 15
PPTP and remote X apps


Hi all,

Here's my situation. I am trying to make a VPN connection to my workplace via PPTP client on Linux. Right now I have the PPTP client working; that is, I am able to successfully make a connection to the VPN server at work, and device ppp0 is up and running correctly. I also added a route following the instructions on the PPTP howto, and can ping and telnet/ssh the machines in my workplace LAN.

So I thought everything was good and so I tried to launch X apps, such as gvim and xclock. I perform the following:

xhost + server.work.domain
telnet server.work.domain
setenv DISPLAY mycomputer:0

where server.work.domain is the address of the machine I wish to run the X apps from and mycomputer is the IP address assigned to me by the VPN server.

I then type 'xclock' and NOTHING pops up!! Strangely though, I don't get any error messages either (ie. no "Can't open display") or any error messages of that sort. It seems as though everything is working except I don't see the clock on my screen!

Trying to debug the issue, I try the exact same procedure on my Windows machine. In WinXP I successfully connect to the workplace LAN using VPN, and start Exceed as my X server. I telnet to server.work.domain through DOS prompt, set the display accordingly, and run 'xclock'. Instantly Exceed asks if I want to allow the incoming X client request, I click 'OK" and it works!! So X apps run fine in Windows but not Linux, argh......frustrating!!

Does anyone have any ideas?? I don't know if it could be a router issue as well, as both computers at home are behind a DLink router. However, I did not change any router settings, so WinXP bascially works out of the box and Linux for some reason won't display my remote X apps, even though it seems as though it's working.

Thanks for the help!
 
Old 10-06-2004, 09:56 AM   #2
clergykid
LQ Newbie
 
Registered: Feb 2003
Location: Canada
Distribution: Debian
Posts: 24

Original Poster
Rep: Reputation: 15
Oh yeah I should mention that I use Debian, using XFCE4 as windows manager.

And despite the fact everything works in WinXP, I would really like to get things working in Debian because that's the computer sitting on my desk. My WinXP machine is being used as a PVR box and is connected to my TV
 
Old 10-09-2004, 10:46 PM   #3
clergykid
LQ Newbie
 
Registered: Feb 2003
Location: Canada
Distribution: Debian
Posts: 24

Original Poster
Rep: Reputation: 15
I solved this problem!!! It turned out to be the MTU issue with ppp0. For all those people who encounter the bizzare problem that I had, try setting your MTU for ppp0 lower, to say like 400. My default of 1496 didn't work, giving me headaches until I turned the MTU down, and everything WORKED! You can do this temporarily by doing 'ifconfig mtu xxx ppp0'.

Thank you to Vincent Zweije (author of "Remote X apps mini How-To") for his insight into the problem, it was he who suggested lowering my MTU value. I give him all the credit
 
  


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
PPTP VPN remote connection from home powah Linux - Networking 0 05-02-2005 09:10 PM
Remote X apps cliff76 Linux - Newbie 7 03-24-2005 12:31 PM
how to keep alive a pptp connection being timed-out by remote router? mfcarroll Linux - Networking 1 02-17-2005 08:03 AM
Remote X apps clergykid Linux - Newbie 2 10-09-2004 10:47 PM
focus in remote x apps bhu73 *BSD 1 05-08-2002 10:41 AM


All times are GMT -5. The time now is 11:18 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