Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi,
I have been trying to setup VNC(through putty)in my dedicated server(located in a remote location). Currently the vncserver works, but I'm not able to connect to it using vncviewer. When connecting from the local machine it gives the following message
vncviewer: unable to open display ""
When connecting remotely from a windows machine I get the following
Error : failed to connect. connection timed out.
Could anyone help me to fix this problem ASAP. I need it to be up and
running with VNC soon.
if you are using putty to create a ssh connection to your remote linux server I assume you are using windows as the client. Its easy enough to tunnel the VNC traffic over ssh. In putty click on tunnels and have an entry in the table where the source port of 5900 tunnels to 127.0.0.1:5900 You may want to creat another entry for 5901 -> 127.0.0.1:5901 When you have saved this config, opened it up you can then tunnel the VNC connection (127.0.0.1:0 or 127.0.0.1:1 depending on your vncserver config) and you will have VNC over a secure ssh connection. If you want to be able to view the :0 display I can help configure xorg.conf so you can see and control the desktop that is currently running on the server. I use this a lot to control my home machine over ssh from work.
Hope this helps,
woppa
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.