Install the VNC server: sudo apt-get install vnc4server Type y then enter to use the updated version. The default action is to keep your current version. Z : start a shell to examine the situation N or O : keep your currently-installed versionĭ : show the differences between the versions Y or I : install the package maintainer's version What would you like to do about it ? Your options are: => File also in package provided by package maintainer. => File on system created by you or by a script. To install the desktop without these packages, run: sudo apt-get install -no-install-recommends ubuntu-desktop gnome-panel gnome-settings-daemon metacity nautilus gnome-terminalĭuring the install process, you will be asked whether or not to change a system file to the new version: Configuration file '/etc/init/nf' Use IP address of server along with port where VNC server is listening.This will install the full Ubuntu desktop environment, including office and web browsing tools. Use any remote desktop connect client that allow VNC protocol. Good reads on configuring UFW firewall Step 7 - Connect to VNC Server To Action From-22/tcp (OpenSSH) ALLOW IN Anywhere5901:5910/tcp ALLOW IN Anywhere22/tcp (OpenSSH (v6)) ALLOW IN Anywhere (v6)5901:5910/tcp (v6) ALLOW IN Anywhere (v6)WW Status: activeLogging: on (low)Default: deny (incoming), allow (outgoing), disabled (routed)New profiles: skip #To check firewall rules$ sudo ufw status verbose #To allow series of port 5901 - 5910, follow$ sudo ufw allow 5901:5910/tcp #allowing single port 5901 port$ sudo ufw allow 5901/tcp If no firewall is enabled, you can skip this section. If firewall is active, you need to open ports for inbound communication. Make sure your firewall allows inbound TCP connection to this port. VNC server is running and listening on 5901 port. Starting applications specified in /root/.vnc/xstartupLog file is /root/.vnc/ubuntu-desktop:1.log Step 5 - To check VNC server has started, follow Xauth: file /root/.Xauthority does not existNew 'ubuntu-desktop:1 (root)' desktop is ubuntu-desktop:1 $ vncserverYou will require a password to access your desktops through VNC Clients.Password:******Verify:****** you will be prompted for creating new vnc password. Now type the command vncserver to start VNC session. #and add these lines like below "# exec /etc/X11/xinit/xinitrcnn". #Find this line "# exec /etc/X11/xinit/xinitrcnn". $ sudo cp /usr/bin/vncserver /usr/bin/vncserver.bkp Open /usr/bin/vncserver file and edit as follows . $ sudo apt-get install vnc4server Step 3 - Make configuration changes in vncserver $ sudo apt-get install -no-install-recommends ubuntu-desktop gnome-panel gnome-settings-daemon metacity nautilus gnome-terminal gnome-core Step 2 - Install vnc4server package. These packages are required for all editions including ubuntu desktop . Start installing below gnome packages which helps VNC to load properly . Install a Desktop and VNC Server on Ubtunu 14.04 Step 1 - Install Ubuntu desktop I could have used some online paid or free service to get browser rented, services like browserstack or other alternatives but that has free minutes based trial restrictions. To test this setup, executing JS code and to use developer console to see what’s happening under the network layer, we were in need of a browser engine in different geographical location. My Friend, Neeraj (whose work revolves around core JS research & development) developed a javascript code that makes an cross origin HTTP API call to a loadbalancer near to the geographical location of browser and response will be delivered from loadbalancer in geographic proximity. I was working on a problem which relates with cloud latency testing. Just to explain a use case, let me tell you how I ended up using VNC in first place. Why I needed desktop environment in remote server ? Please note that server and cloud editions are carefully designed to utilize less hardware resources ( minimal environment ), installing GUI might leads to high hardware utilization. A VNC server transfers keyboard and mouse events, and displays the remote host’s screen via a network connection, which allows you to operate a full desktop environment.īasically ubuntu server and ubuntu cloud editions does not contains GUI, which needs to be installed before installing VNC server. Virtual network computing, or VNC, is a graphical desktop sharing system that allows you to control one computer remotely from another. We are going to use VNC (Virtual Network Computing) protocol for accessing our remote desktop server. This blog is intended for people who wanted to install GUI or desktop environment on linux servers running on cloud and connect.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |