LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 06-30-2004, 06:16 PM   #1
mystic crunk
LQ Newbie
 
Registered: Jun 2004
Posts: 1

Rep: Reputation: 0
Installing RealVNC on a dedicated server


Hi all,
I am a newbie to running a server and really need some help installing RealVNC on there so I can manage it easier. I am also a newbie to linux so ssh is just to confusing right now. Any help would be greatly appreciated.
Thanks
Dan Crunk
 
Old 06-30-2004, 09:46 PM   #2
deloptes
Member
 
Registered: Feb 2004
Location: AT
Distribution: debian etch and SUSE 10.2
Posts: 123

Rep: Reputation: 15
spent more time reading and testing

I am using vnc with ssh tunnel like this

1) I'll call
my system - sys1
the firewall - fw1
the destination machine where vncserver runs in this example it is linux machine - ma1
login name - USERNAME
local port to connect to the vnc server - XXXX
the ssh port 22 is default hense the option -p22 is obsolate

2)
so

login from sys1 to fw1 and forward vnc ports from ma1 to sys1

Code:
sys1# ssh -L XXXX:ma1:5901 -p22 USERNAME@fw1
login to ma1

Code:
fw1# ssh  -p22 USERNAME@ma1
there i start up a server like this because it's linux machine
on windows the server whould be running

:1 means display 1 if it is not free use :2 or what ever you want
it's better to check out the ports, case if somebody else is running a vncserver before you started yours 5901 is very likely buzy so you should start up the vncserver see what port are now open and forward them instead 5901

[CODEma1# vncserver :1[/CODE]

after a few seconds it says there is a new X on display 1

so now a open another terminal and write there
Code:
xvncviewer localhost:XXXX
voila

that's it
it wouldn't be fun if it was easier

in the last step I usually add some other options depending on speed and load on the server so that the refresh rate of the graphics is not that slow

the advantage is the everything is encrypted and the right linux way

regards
 
  


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
Dedicated Server Distros (SME server and Censornet) Sugga Linux - General 2 09-22-2005 04:15 AM
installing Apache and RealVNC in Fedora 2 dummyagain Linux - Software 1 10-04-2004 04:28 AM
RealVNC on sid, can't connect to server started by xinetd andymadigan Debian 1 08-05-2004 06:32 PM
Dedicated server RealVNC install psychodreams Red Hat 0 04-03-2004 10:15 AM
Installing a Half Life Dedicated Server Bill Hope Linux - Newbie 12 09-24-2003 11:50 PM


All times are GMT -5. The time now is 08:11 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration