Linux - NewbieThis 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!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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:
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.
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
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