BrainDump
  Home arrow BrainDump arrow Secure Remote Desktop Sharing with VNC on Linux
Dev Shed Forums  
Administration  
AJAX  
Apache  
BrainDump  
DHTML  
Flash  
Java  
JavaScript  
Multimedia  
MySQL  
Oracle  
Perl  
PHP  
Practices  
Python  
Reviews  
Security  
Smartphone Development  
Style-Sheets  
Web Services  
XML  
Zend  
Zope  
Mobile Linux  
App Generation ROI  
IBM® developerWorks  
Forums Sitemap  
E-Commerce Hosting  
Linux Web Hosting  
Managed Hosting  
Small Business Hosting  
VPS Hosting  
Weekly Newsletter

 
Developer Updates  
Free Website Content 
 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? 
Google.com  
BRAINDUMP

Secure Remote Desktop Sharing with VNC on Linux
By: Barzan "Tony" Antal
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: starstarstarstarstar / 12
    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:
      error-file:tidyout.log Del.ici.ous error-file:tidyout.log Digg
      error-file:tidyout.log Blink error-file:tidyout.log Simpy
      error-file:tidyout.log Google error-file:tidyout.log Spurl
      error-file:tidyout.log Y! MyWeb error-file:tidyout.log 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


    Secure Remote Desktop Sharing with VNC on Linux
    ( Page 1 of 5 )

    This article is the second half of a two-part series on secure remote desktop sharing with VNC. If you missed the first part, which appeared Monday on ASP Free, I'd suggest skimming through it, at least. The first part was an introduction to VNC connections and it focused on Windows. This one will get into the depths of configuration, optimization and explain ways to set up and benefit from VNCs on Linux platforms too.

    You don't want to miss this article. Reading it should help you realize the "big picture," and that the key terms, methods and techniques will fit into a whole just like puzzle pieces. The language of this part might be a bit more advanced but I'm trying to give you tons of real-world examples and instructions. Nonetheless, I'm sure that your level of experience and knowledge with Linux operating systems will be more than enough.

    Before moving on, I'd advise checking your firewall settings (both software and hardware, if there are any), configure your router's SSH port forwarding, and make sure you have an SSH server up and running. If you don't, then head over to OpenSSH and grab it. Throughout this article I will assume that the reader has SSHd (daemon = server) and has no router and/or firewall related issues. The purpose of this article is to focus mainly on VNC.

    Installing and Running TightVNC with SSH Tunneling

     Every now and then installing a new application might become tricky, especially if we want to install a somewhat secure server. Throughout this section I'm going to lead you through the installation process of the TightVNC Server and then we're going to secure it via the famous SSH tunneling technique.

    Considering that you're running Linux you should be already familiar with installing and configuring applications on this OS. Depending on your distribution some of the commands and paths might change; in that case, all you need to do is customize them as required. You'll get the drift.

    Why TightVNC you might ask? It's simple. We already discussed in the first part that not all of the VNC clients have server-side. My personal favorite is TightVNC. It has a lot of advantages, performance optimizations and enhanced features compared to the standard VNC (i.e., efficient compression algorithms, configurable compression levels, optional JPEG compression, enhanced web browser access, flexible configuration options and automatic SSH tunneling on UNIX-that's what we need).

    Visit this link and download the latest release of TightVNC for Linux. Currently, at the time of writing this article, the '1.2.9-1' version is the latest. For beginners I'd really suggest downloading the RPM package. In that case you should download "tightvnc-server-1.2.9-1.i386.rpm." Log in to 'root' or a specific 'VNC user' and get ready!



     
     
    >>> More BrainDump Articles          >>> More By Barzan "Tony" Antal
     

       

    BRAINDUMP ARTICLES

    - Demystifying SELinux on Kernel 2.6
    - Yahoo and Microsoft Create Ad Partnership
    - The Advantages of Obscure Open Source Browse...
    - Dell Announces CSI-style Digital Forensics S...
    - Milepost GCC Speeds Open-Source Development
    - Learn These 10 Programming Languages
    - Tomcat Capacity Planning
    - Internal and External Performance Tuning wit...
    - Tomcat Benchmark Procedure
    - Benchmarking Tomcat Performance
    - Tomcat Performance Tuning
    - Wubi: Windows-based Ubuntu Installer
    - Configuring and Optimizing Your I/O Scheduler
    - Linux I/O Schedulers
    - Advising the Linux Kernel on File I/O





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 4 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek