LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-12-2005, 08:14 AM   #1
bijuhpd
LQ Newbie
 
Registered: Feb 2005
Posts: 28

Rep: Reputation: 15
VNCServer


hi,

i am logging to a remote linux machine through putty. Do i need that the remote machine have the GUI turned on to use the VNC viewer from my machine while the VNC server is already running there. is there any options in the VNC to override if the GUI is turned off in the remote machine.
 
Old 05-12-2005, 09:17 AM   #2
pnellesen
Member
 
Registered: Oct 2004
Location: Missouri, USA
Distribution: Slackware 12.2, Xubuntu 9.10
Posts: 371

Rep: Reputation: 31
To my knowledge and experience with it, vncserver starts an entirely new GUI session, separate from whatever's running currently on the machine. However, you DO need to have X installed and configured properly on that machine.
 
Old 05-12-2005, 08:28 PM   #3
edcutis
Member
 
Registered: Jun 2003
Location: USA, Missouri
Distribution: mandriva , Kubuntu, MEPIS
Posts: 140

Rep: Reputation: 15
when you run the program 'vncserver' from putty, it will ask you the default screen number you want to use when you vnc into that machine, ex. :1 ,and then you set the login password.
then when you use tightvnc (or similar) to open your x-window, put that :1 on the end of your ip address, ex: 192.168.2.5:1

It it also a good idea to kill the vncserver when you are done with it, as a security measure...

ps -aux (then find the pid number of the vnc process)
kill XXX (the pid number)
close putty
have an adult beveridge!
 
Old 05-12-2005, 11:41 PM   #4
bijuhpd
LQ Newbie
 
Registered: Feb 2005
Posts: 28

Original Poster
Rep: Reputation: 15
hi guys,

thanks very much for your replies.
i got my vncserver and viewer working.
it was some probs with firewalls.
 
Old 05-13-2005, 12:16 PM   #5
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
If you are accessing VNC from outside of your LAN, it also would be a good idea to tunnel VNC through and SSH tunnel. VNC is horribly insecure and if you access it over the internet, you're leaving yourself wide open.
 
  


Reply



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
about vncserver Ammad Linux - General 4 07-27-2005 06:33 PM
Robust vncserver startup file (rc.vncserver) arobinson74 Slackware 4 05-14-2005 05:33 AM
vncserver stevsom Linux - Software 1 04-09-2005 02:56 PM
VNCserver kersten78 Linux - Networking 2 01-30-2004 03:53 PM
Vncserver metasoma Linux - Software 4 10-28-2003 02:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:39 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
Open Source Consulting | Domain Registration