LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 10-05-2006, 06:57 PM   #1
landev
Member
 
Registered: Aug 2006
Posts: 43

Rep: Reputation: 15
How to gracefully start and stop VNC?


I've just recently learned that there is a VNC server for Linux... so please be patient with me!

I have installed vnc server on a couple of servers and have modified the xstartup file so that GDM runs for the user. All is well and good, except the user wants to be able to connect to the server without first logging in and running the vncserver command (details...details!) How is this done and is it secure?

Also, I would like the display manager to quietly retire once you hit the logoff icon. Currently, the session ends, but the server doesn't die, so must be killed manually (another annoyance for my user.)

Last but not least... how secure are the VNC transactions? Is tunneling through ssh a nightmare to setup?

Thanks!
 
Old 01-31-2008, 03:20 PM   #2
SpLaSh212
Member
 
Registered: Mar 2006
Posts: 42

Rep: Reputation: 15
Quote:
connect to the server without first logging in and running the vncserver command
in FC I know that you can run
Code:
chkconfig vncserver on
And vncserver will start automatically ...
 
Old 02-02-2008, 07:06 PM   #3
baldur_the_god
Member
 
Registered: Feb 2007
Posts: 54

Rep: Reputation: 15
vnc

vnc is not really that secure at all. if you are using it over the internet it is a good idea to run it through ssh. on your intranet, it should be fine to run vnc as it is...as long as your network is secure. if i understood everything correctly, you are trying to kill the other server...to kill a server you run

vncserver -kill :displaynumber

you would have to run that to stop vnc...to get it to startup with the machine you use...

chkconfig --level 2345 vncserver on

you should only use vnc over the intranet unsecure...unless you are doing meaningless tasks...if anything involves passwords, root, su...anything you do not want readily know...tunnel it through ssh!

baldur

Last edited by XavierP; 02-08-2008 at 01:41 PM.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do you gracefully interrupt Yum? tcurt Linux - Software 1 06-28-2006 01:17 PM
shutdown amarok gracefully? dasbooter Linux - Software 4 04-24-2006 04:38 PM
Gracefully restarting ProFTPD? bluelaguna Linux - Software 1 08-05-2005 12:42 AM
shutting down gracefully? pdmackenzie Linux - Hardware 2 10-30-2004 10:33 PM
Start/stop services on start-up koyi Slackware 5 08-04-2003 09:20 AM


All times are GMT -5. The time now is 11:58 PM.

Main Menu
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