• Domains
  • Web Hosting
  • WordPress Hosting
  • Reseller Hosting
  • Cloud VPS
  • Dedicated Servers
  • Domains
  • Web Hosting
  • WordPress Hosting
  • Reseller Hosting
  • Cloud VPS
  • Dedicated Servers
home/Knowledge Base/Dedicated Servers/Ubuntu/How-To Install VNC Desktop on Ubuntu 14.04
Popular Search:Dedicated Server, CentOS, Web Hosting

How-To Install VNC Desktop on Ubuntu 14.04

18 views 0 December 27, 2019 aklwebhost

This guide will walk you through installing a VNC desktop on Ubuntu 14.04 with the free VNC software, TightVNC.

Step 1: Install components

We need to install the following components for a proper desktop with VNC.

  • xOrg
  • A desktop (LXDE)
  • An Ubuntu VNC server (TightVNC)

Run the following command to install them.

sudo apt-get install xorg lxde-core tightvncserver

Step 2: Setup VNC

We have to set up a VNC password for our VNC connection. This password is limited to 8 characters in length. Longer passwords will be truncated.

tightvncserver :1

Next, we need to config the xstartup because VNC doesn’t know how to launch LXDE.

nano ~/.vnc/xstartup

In this file…

  • Remove the # before #x-window-manager &
  • Add the line lxterminal &
  • Add the line /usr/bin/lxsession -s LXDE &

Your config should now resemble the following:

#!/bin/sh

xrdb $HOME/.Xresources
xsetroot -solid grey
#x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
x-window-manager &
lxterminal &
/usr/bin/lxsession -s LXDE &
# Fix to make GNOME work
export XKL_XMODMAP_DISABLE=1
/etc/X11/Xsession

Save the file with Ctrl + O, then exit nano with Ctrl + X.

Step 3: Restart VNC

To restart VNC we have to shut it down with:

tightvncserver -kill :1

… and start it again:

vncserver :1 -geometry 1024x768 -depth 16 -pixelformat rgb565

Step 4: Connect to the VNC server

Start your favorite VNC Client and connect to your server’s IP with the ending :1. For example: 123.123.123.123:1.

Enjoy your new VNC server!

Tags:How-To Install VNC Desktop on Ubuntu 14.04

Was this helpful?

Yes  No
Related Articles
  • Setup Spigot Server on Arch Linux
  • How To Install OSSEC HIDS on a CentOS 7 Server
  • Initial Setup of a CentOS 7 Server
  • Using StrongSwan for IPSec VPN on CentOS 7
  • Hot Backups with Percona XtraBackup on the One-Click WordPress App
  • Installing Rust on Ubuntu 14.04
Leave A Comment Cancel reply

Ubuntu
  • How-To Install VNC Desktop on Ubuntu 14.04
  • Installing Rust on Ubuntu 14.04
  • Using Tango on Ubuntu 14.04
  • Setup Spigot on Ubuntu
  • Setup Fail2ban Ubuntu x64
  • Installing InfluxDB on Ubuntu 14
View All 96  
Popular Articles
  • Using StrongSwan for IPSec VPN on CentOS 7
  • Disabling SSDP (Linux / Windows)
  • Can I pay by Western Union?
  • Can a Coupon Code Discount Be Carried Forward While I Upgrade My VPS Account
  • Can I pay multiple due invoices using a single transaction?
KB Categories
  • Billing
  • Cloud Hosting
  • CMS Hosting
  • cPanel/WHM Control Panel Guide
  • Dedicated Servers
    • AMD Opteron 6272
    • Arch
    • Backup Storage
    • Bandwidth
    • Basic Security
    • BSD
    • CentOS
    • Containers
    • CoreOS
    • DDoS Protection
    • Debian
    • Dedicated Server Control Panel
    • Intel Core i5 3550
    • Intel Core i5 4570
    • Intel Core i7 3770
    • Intel Core i7 4770
    • Intel Xeon E3 1230 V3
    • Intel Xeon E3 1245 V2
    • IP Space
    • Linux Guides
    • Minecraft
    • Networking
    • Server Apps
    • Server Troubleshooting
    • Ubuntu
    • Windows Guides
    • Windows Server 2008
    • Windows Server 2012
  • Domain Names
  • Email Support Documentation
    • Setup IMAP or POP
    • User Features – How To
    • Webmail – How To
  • FTP (File Transfer Protocol
    • CuteFTP Guide
    • FileZilla Guide
  • Game Servers
  • MySQL and MariaDB
  • Node.js
  • Plesk Web Hosting Guide
  • VPS Server
  • Web Servers

  How To Install Unturned on Linux

How To Install WordPress on a LEMP Configuration  

  • Privacy Policy
  • Terms of Use
  • © 2022 AKLWEB HOST LLC, All Rights Reserved.

Popular Search:Dedicated Server, CentOS, Web Hosting