View Full Version : VNC Installtion threw SSH - HELP PLEASE
GujuLvr
2006-04-19, 09:50 PM CDT
okey i m new to linux i dontknow really know much about it.. so i have dediecated server running somewhere in USA lol.. i have SSH access to it. i am trying to install VNC server so i could remove into it. I am useing putty to login for SSH . okey did this steaps.. i only could do steap one.. i get confuse at steap two it says.. edit the name but how can i edit it. and if i do how do i save it?
I m talkin about this one.
http://fedoranews.org/tchung/vnc/01.shtml
and hope you understood what i m trying to say. forgive me for my bed explantion.
jhetrick62
2006-04-19, 10:08 PM CDT
FIRST, you have to have vnc working on your box without needing to connect through ssh. If you have that working, then you set tunneling in PUTTY. See this screenshot.
Set source port to 5900 with Desitnation to 127.0.0.1:5900. This forwards localport 5900 on your Windoze machine through your ssh tunnel to your FC machine.
Log on through ssh w/ putty after saving this configuration. Then open VNC client (I use tightvnc client on windoze myself) and enter 127.0.0.1::5900 as the server and it will work. I just got off of mine a few minutes ago.
BUT, if you can't get VNC to work first without going through ssh, this may not work. In other words, when I'm inside my local network at home, I don't have to go through ssh, I can just vnc to the 192.168.0.48::5900 directly and it works. I don't run SELinux as I have no other open ports to the outside world other than ssh login.
I also did not use vnc through the vncserver as you did, I used vnc through xinetd and set it up through this link, so it is different that yours. http://forums.fedoraforum.org/showthread.php?p=448977
But if yours works, this method to ssh tunnel should work.
Goodluck,
Jeff
GujuLvr
2006-04-19, 10:19 PM CDT
i m tryint go install VNC on my Dedeciated server threw SSH tunnel ( thats only access i have to connect) and no.. its doesnt have installed in it.. i had to install it.. i did the installtion but i m cant connect.
jhetrick62
2006-04-19, 10:21 PM CDT
??, you want to install vnc and you are doing it from remote access through ssh on putty?
GujuLvr
2006-04-19, 10:23 PM CDT
yeap thats what i m tryint to do.. becuase thats only way i could connect to my dediecated server
jhetrick62
2006-04-19, 10:25 PM CDT
I see, I don't keep a sudo file on my machine, so to do this first step, I would issue "su -" and enter root password. Then you have to know how to use vi to edit files over command line. If you don't know how to use vi, you must google "manual vi editor" and you will get instructions.
Jeff
GujuLvr
2006-04-19, 10:34 PM CDT
lol i m newww to linux i dontknow anythina about.. can some like guide me or somethin it will be so help ful
jhetrick62
2006-04-19, 10:38 PM CDT
Too much information to teach you vi through this forum. Look here and read the manual. http://www.cs.fsu.edu/general/vimanual.html
Sorry, there is no easy way. Basics are to learn to insert text, delete text and then 2 ways to exit, exit without saving changes or exit with changes saved.
There are other editors, but this is the one I use so I'm not familiar with the others.
Attempting to learn to install vnc through ssh is complicated if you are new and don't understand the basics like "cat" to view a file or "su -" to get to root.
Jeff
u-noneinc-s
2006-04-19, 11:04 PM CDT
vimtutor will also get you started with vi. I'm sure you would prefer to get right to work on vnc, but the tutor wont take that long and it's a good start for the basics.
Just type vimtutor in a console
GujuLvr
2006-04-19, 11:12 PM CDT
but vi editor.. for what.. where m i gone need it? if i go steap by steap by this one it would do it> http://fedoranews.org/tchung/vnc/index.shtml
vBulletin® v3.7.3, Copyright ©2000-2009, Jelsoft Enterprises Ltd.