public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mauro Faccenda <faccenda@gmx.net>
To: gentoo-user@lists.gentoo.org
Cc: "Mark Shields" <laebshade@gmail.com>
Subject: Re: [gentoo-user] VNC over SSH (VNC session is non-local to SSH)
Date: Tue, 10 Oct 2006 14:10:50 -0300	[thread overview]
Message-ID: <200610101410.50766.faccenda@gmx.net> (raw)
In-Reply-To: <642958cc0610100946x6c263c88reb8dc79a2f71cf6e@mail.gmail.com>

On Tuesday 10 October 2006 13:46, Mark Shields wrote:
> I have a gentoo box setup as a router with 3 servers behind it (all 4
> servers are running gentoo).  Right now I simply have port 5901 to forward
> from the router to my vnc server so I can access it remotely.  I've looked
> on the gentoo forums and online but haven't been able to find any solid
> information on how to tunnel 5901 through ssh through the router to the vnc
> server.  Basically, client -> router -> vnc server port 5901, but over ssh.
> Any ideas?

if you want to connect to a vnc session on the ssh server:

ssh -L 5901:localhost:5901 user@host_of_ssh_server

then:

vncviewer localhost:1

if you want to connect to another box at the same network of the ssh server:

ssh -L 5901:ip_of_another_box:5901 user@host_of_ssh_serverr

then:

vncviewer localhost:1

got the idea?

hope it helps.

[]'s
	.m


-- 
gentoo-user@gentoo.org mailing list



  reply	other threads:[~2006-10-10 17:22 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-10 16:46 [gentoo-user] VNC over SSH (VNC session is non-local to SSH) Mark Shields
2006-10-10 17:10 ` Mauro Faccenda [this message]
2006-10-10 17:13 ` Richard Fish
2006-10-10 17:33   ` Mark Shields
2006-10-10 17:48     ` Richard Fish
2006-10-10 17:58       ` Mark Shields
     [not found]         ` <200610102001.43039.bo.andresen@zlin.dk>
2006-10-10 18:08           ` Mark Shields
2006-10-10 18:14         ` Richard Fish
2006-10-11  1:03 ` W.Kenworthy
  -- strict thread matches above, loose matches on Subject: below --
2006-10-10 19:27 Sieb, Glenn E (Glenn)
2006-10-10 21:43 ` Mick
2006-10-10 21:55   ` Mark Shields
2006-10-11  7:00     ` Mick

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200610101410.50766.faccenda@gmx.net \
    --to=faccenda@gmx.net \
    --cc=gentoo-user@lists.gentoo.org \
    --cc=laebshade@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox