First of all, I am going to present you how to install VNC Server on Linux or Ubuntu OS together with operate XFCE Desktop Environment on it. By this article, y'all tin run whatsoever Linux VPS like a Desktop Version. This tutorial helps you install desktop and VNC on a VPS server. The steps necessary to configure Ubuntu Desktop together with TightVNCServer, which will allow you to connect to a Linux desktop from your PC similar to RDP for Windows servers.
Requirements
This lead explains the installation too configuration of a VNC server on Ubuntu 14.04 server. So y'all involve to accept
- Ubuntu VPS with admin access details
- Putty ( How to login to the VPS with Putty )
- Fresh installed Linux OS
Let’s commencement the installation.
Steps To Install VNC Server
ane. Before anything started, update your organization. So login your Server on Putty too operate this command 1 past one
apt-go update
2. Install nano (editor) if you don’t have it already.
apt-go install nano
3. Install desktop GUI + VNC server
apt-get install xorg lxde-inwardness tightvncserver
iv. Start vnc together with ready a password (this will kickoff VNC using port 1)
tightvncserver :1
v. Stop vnc
tightvncserver -kill :ane
6. Edit VNC config file
nano /.vnc/xstartup
Comment out the next line if it isn’t already:
10-window-manager &
Add the next lines to the terminate of the file:
lxterminal &
/usr/bin/lxsession -s LXDE &
Now your config should look like to this:
xrdb $HOME/.Xresources
xsetroot -solid greyness
#x-last-emulator -geometry 80x24+x+10 -ls -title "$VNCDESKTOP Desktop" &
#10-window-director &
# Fix to make GNOME function
export XKL_XMODMAP_DISABLE=ane
/etc/X11/Xsession
lxterminal &
/usr/bin/lxsession -sec LXDE &
vii. Reboot your server
reboot
8. Start VNC (hither y'all can define your resolution in addition to port)
vncserver :1 -geometry 1024x768 -depth sixteen -pixelformat rgb565
9. FINAL STEP
Download TightVNC Viewer to connect to your server.
- IP Address: [your server’second master IP]
- Port: 1 (or 5901, 5902 for desktop :2, etc)
- Password: [the password yous fix earlier]
In case yous forget your password, or want to reset it subsequently:
vncpasswd
Must read How to Install Chrome browser In Linux or Ubuntu VPS
Now y'all are done, yous can role your VPS similar a PC as well as besides yous tin install google chrome, Mozilla, in addition to other apps as well. If yous take a Linux VPS and so must endeavor this method.
If you accept more enquiry or any problem to install delight comment hither I volition aid y'all to resolve the problem.
And Must percentage alongside your who similar to install VNC desktop on a Linux server.
Comments
Post a Comment