How to install VNC server on ubuntu 14.04
来源:互联网 发布:维护网络数据的 编辑:程序博客网 时间:2024/05/18 00:42
VNC server is used to share graphical desktop which can be controlled from other computers . This guide is helpful to install VNC server on Ubuntu Desktop 14.04, Ubuntu server 14.04 and Ubuntu cloud 14.04 .
Basically ubuntu server and ubuntu cloud editions does not contains GUI, which needs to be installed before installing VNC 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.
krizna@leela:~$ sudo apt-get install --no-install-recommends ubuntu-desktop
Use –no-install-recommends key to keep GUI minimal. this will skip extra tools and apps and will install only basic desktop environment with few supported tools . Ubuntu desktop users can skip this command .
krizna@leela:~$ sudo apt-get install gnome-panel gnome-settings-daemon metacity nautilus gnome-terminal
Step 2 » Now install vnc4server package.
krizna@leela:~$ sudo apt-get install vnc4server
krizna@leela:~$ sudo nano /usr/bin/vncserver
Find this line ( Line no:57 )
"# exec /etc/X11/xinit/xinitrc\n\n".
and add these lines like below
############################################
"# exec /etc/X11/xinit/xinitrc\n\n".
"gnome-panel &\n".
"gnome-settings-daemon &\n".
"metacity &\n".
"nautilus &\n".
krizna@leela:~$ vncserver
You will require a password to access your desktops.
Password:******
Verify:******
xauth: file /home/boby/.Xauthority does not exist
New 'leela:1 (krizna)' desktop is leela:1
Creating default startup script /home/krizna/.vnc/xstartup
Starting applications specified in /home/krizna/.vnc/xstartup
Log file is /home/krizna/.vnc/leela:1.log
Step 5 » Now you can view your remote desktop using IP address and port ( Eg : 192.168.1.10:1 ).
install vnc server on ubuntu 14.04
Basically ubuntu server and ubuntu cloud editions does not contains GUI, which needs to be installed before installing VNC 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.
Install gui on ubuntu server 14.04
Issue the below command to install GUI on server and cloud editions.krizna@leela:~$ sudo apt-get install --no-install-recommends ubuntu-desktop
Use –no-install-recommends key to keep GUI minimal. this will skip extra tools and apps and will install only basic desktop environment with few supported tools . Ubuntu desktop users can skip this command .
Install VNC server on ubuntu 14.04
Step 1 » Start installing below gnome packages which helps VNC to load properly . These packages are required for all editions including ubuntu desktop .krizna@leela:~$ sudo apt-get install gnome-panel gnome-settings-daemon metacity nautilus gnome-terminal
Step 2 » Now install vnc4server package.
krizna@leela:~$ sudo apt-get install vnc4server
Step 3 » Open /usr/bin/vncserver file and edit as follows .
Before editing, make a backup copy.
krizna@leela:~$ sudo cp /usr/bin/vncserver /usr/bin/vncserver.bkpkrizna@leela:~$ sudo nano /usr/bin/vncserver
Find this line ( Line no:57 )
"# exec /etc/X11/xinit/xinitrc\n\n".
and add these lines like below
############################################
"# exec /etc/X11/xinit/xinitrc\n\n".
"gnome-panel &\n".
"gnome-settings-daemon &\n".
"metacity &\n".
"nautilus &\n".
"gnome-terminal &\n".
###################################################
krizna@leela:~$ vncserver
You will require a password to access your desktops.
Password:******
Verify:******
xauth: file /home/boby/.Xauthority does not exist
New 'leela:1 (krizna)' desktop is leela:1
Creating default startup script /home/krizna/.vnc/xstartup
Starting applications specified in /home/krizna/.vnc/xstartup
Log file is /home/krizna/.vnc/leela:1.log
Step 5 » Now you can view your remote desktop using IP address and port ( Eg : 192.168.1.10:1 ).
install vnc server on ubuntu 14.04
文章出处:www.krizna.com/ubuntu/install-vnc-server-ubuntu-14-04/ 要翻墙才能看
0 0
- How To Install VNC Server On Ubuntu 14.04
- How to install VNC server on ubuntu 14.04
- How to install VNC on Ubuntu
- How To Install / Configure VNC Server On CentOS 7.
- How To Install Node.js on an Ubuntu 14.04 server
- How to Install a VNC Server in Ubuntu
- How to Install a VNC Server in Ubuntu
- How to install clang on Ubuntu 14.04
- How To Install Git on Ubuntu 14.04
- How to install Deluge on a Ubuntu Server
- How to Install CodeIgniter on an Ubuntu 12.04 Cloud Server
- How to Install and Configure a VNC Server on RedHat Enterprise Linux (RHEL) 6
- How to Install OpenERP Odoo 8 on Ubuntu Server 14.04 LTS
- VNC Server on Ubuntu 14.04
- How To Install and Use Memcache on Ubuntu 14.04
- How to Install Docker on Ubuntu 14.04 LTS
- How to Install Docker on Ubuntu 14.04 LTS
- How to Install Docker on Ubuntu 14.04 LTS
- MYSQL数据库设计和数据库设计实例(三)
- C语言与C++不得不说的那点事
- 网络基本功(二十一):细说HTTP(上)
- Android notification 的使用,可点击,并且进入Activity不走onCreate()方法。
- jprofiler 查看程序内存泄露
- How to install VNC server on ubuntu 14.04
- emulator: ERROR: x86 emulation currently requires hardware
- Android 编译记录
- windows下面配置ffmpeg且用java调用
- Python代码实现模拟退火算法Boltzman机神经网络权重调节
- ExtJs使用总结
- ArcGIS教程:趋势分析
- 上课笔记--台大政治学基础之政治科学
- 16进制字符串CString 如何转为 BYTE[]