Advertisement

04.02.2008 at 09:03AM PDT, ID: 23289803
[x]
Attachment Details

Tunnel VNC through SSH - error "cannot listen to port: 5901 "

Asked by blokeman in VNC Remote Access Software, Linux Administration, SSH / Telnet Software

Tags: Opensource, SSH, ssh tunneling

I am trying to VNC to a remote Suse Linux box, and tunnel the VNC session through SSH.

SSH works fine on it's own.

Here is what I have tried:
ssh -L 5901:remoteserver:5901 me@remoteserver
Password:
channel_setup_fwd_listener: cannot listen to port: 5901
Could not request local forwarding.
Last login: Wed Apr  2 23:16:24 2008 from my-ip-address
me@remoteserver:~>

I checked the open ports on the remote server with nmap and 5901 is there:
5901/tcp  open  vnc-1

There is no software firewall running on the server or my pc.
How can I get this VNC setup working?
Start Free Trial
[+][-]04.02.2008 at 10:01AM PDT, ID: 21265037

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]04.03.2008 at 03:32AM PDT, ID: 21271056

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]04.04.2008 at 03:49AM PDT, ID: 21280296

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.04.2008 at 04:06AM PDT, ID: 21280366

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.04.2008 at 04:44AM PDT, ID: 21280583

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.04.2008 at 04:51AM PDT, ID: 21280639

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.04.2008 at 05:21AM PDT, ID: 21280846

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: VNC Remote Access Software, Linux Administration, SSH / Telnet Software
Tags: Opensource, SSH, ssh tunneling
Sign Up Now!
Solution Provided By: blokeman
Participating Experts: 2
Solution Grade: A
 
 
[+][-]04.04.2008 at 06:50AM PDT, ID: 21281614

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.09.2008 at 05:09PM PDT, ID: 21320380

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628