BrainDump
  Home arrow BrainDump arrow Page 4 - Secure Remote Desktop Sharing with VNC...
The Best Selling PC Migration Utility.
Dev Shed Forums 
Administration  
Apache  
BrainDump  
DHTML  
Flash  
Java  
JavaScript  
Multimedia  
MySQL  
Oracle  
Perl  
PHP  
Practices  
Python  
Reviews  
Security  
Style-Sheets  
Web Services  
XML  
Zend  
Zope  
Forums Sitemap 
IBM® developerWorks 
Dedicated Servers 
E-Commerce Hosting 
Linux Web Hosting 
Managed Hosting 
Small Business Hosting 
Download TestComplete 
VPS Hosting 
Weekly Newsletter

 
Developer Updates  
Free Website Content 
IBM Developerworks
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
BRAINDUMP

Secure Remote Desktop Sharing with VNC on Linux
By: Barzan "Tony" Antal
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 11
    2007-04-24

    Table of Contents:
  • Secure Remote Desktop Sharing with VNC on Linux
  • Getting Started
  • Setting up the Environment
  • More Useful VNC Commands
  • Final Words

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
     
    ADVERTISEMENT

    Route your faxes to your email inbox. Private, secure fax numbers available from CallWave. Choose your fax number.

    Secure Remote Desktop Sharing with VNC on Linux - More Useful VNC Commands
    (Page 4 of 5 )

    One might ask how can we close and stop the vncserver service if it's running. You can kill it using the following command:

    vncserver -kill :#                       //where # is the display no.

    Also, another useful tip is that you can set up your vncserver to start automatically every time your Linux system boots up. One of the ways to do this is by adding a new line to your "/etc/rc.d/rc.local." This shouldn't surprise you if you're familiar with Linux. A quick example would be adding the following line:

    su - user_name -c "cd /home/user_name && vncserver :1 -geometry 1024x768 -depth 16"

    In the above command you need to replace "user_name" with the specific user on which you want to run your VNC Server. The command "su" basically runs the command in "" (quotation marks) at the specified username-when executing more than one command, you need to separate each of them with &&. In our case, it changes the current directory to /home/user_name and executes the "vncserver :1 -geometry 1024x768 -depth 16" command.

    We shouldn't forget about the "vncpasswd" command that allows us to change the password for our VNC Server.

    More BrainDump Articles
    More By Barzan "Tony" Antal


       · This is the end of the series. I hope that you've found it interesting and...
     

       

    BRAINDUMP ARTICLES

    - Outsourcing: the Hoopla, the Reality
    - MySQL Plays in the Sun
    - All About SQL Functions
    - SQL: Functioning in the Real World
    - More Advanced SQL Statements
    - Beginning SQL the SEQUEL: Working with Advan...
    - Beginning SQL
    - A Look at the VI Editor
    - A Quick Tour of Boo
    - Book Review: Open Source Licensing
    - PGP and GPG: Email for the Practical Parano...
    - Microsoft Continues War on Open Source
    - Secure Remote Desktop Sharing with VNC on Li...
    - A Look at Google Project Hosting
    - What we can Learn from Two Linux vs. Microso...

     
    Accelerating Trading Partner Performance
     
    Competing on Analytics
     
    Cost Effective Scaling with Virtualization and Coyote Point Systems
     
    Five Checkpoints to Implementing IP Telephony
     
    Hosted Email Security: Staying Ahead of New Threats
     




    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway