打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
How to install Desktop, VNC, Firefox and Flash on Ubuntu
How to install Desktop, VNC, Firefox and Flash on Ubuntu

 

First, make sure you are logged in as root.
 
1. Start by updating your server:
[root@example ~]# apt-get update
and:
[root@example ~]# apt-get upgrade
 
2. Install GNOME desktop:
[root@example ~]# apt-get install ubuntu-desktop
 
3. Start Gnome Desktop Manager
[root@example ~]# service gdm start
 
4. Configure XServer (automatic)
[root@example ~]# dpkg-reconfigure xserver-xorg
 
5. Now it's time to install the VNC server. In this guide, we will use TightVNC Server
[root@example ~]# apt-get install tightvncserver
 
6. Let's create a VNC password and setup the :1 server with 1024x768 as resolution.
[root@example ~]# vncserver :1 -geometry 1024x768 -depth 16 -pixelformat rgb565
 
7. To make the VNC server run at startup (after reboots) add this line:
vncserver :1 -geometry 1024x768 -depth 16 -pixelformat rgb565
to file: /etc/rc.local
 
8. To make the VNC server use Gnome Window Manager as default, we must edit the xstartup script.
Edit file: /root/.vnc/xstartup and make it look like this:
 
#!/bin/sh
xrdb $HOME/.Xresources
xsetroot -solid grey
x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#x-window-manager &
gnome-session &
 
9. Reboot the server
[root@example ~]# reboot
 
After the reboot, try to connect to your server via VNC (enter your IP followed by :1 as the host, like: 192.168.1.65:1). If it works, you are done!
 
If you can't connect, make sure VNC server :1 is running, run this command:
[root@example ~]# vncserver :1 -geometry 1024x768 -depth 16 -pixelformat rgb565
and try again. Make sure this line is added to /etc/rc.local
 
Firefox and Flash
Firefox is already installed, as it is included in "ubuntu-desktop" that we installed earlier.
 
10. Install Flash
Go to Applications -> Ubuntu Software Center and then search for "flash", choose the Adobe Flash plugin for Mozilla, and click install.
 
Once it's done, restart Firefox and Flash works!

本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
Windows 7 Remote Access to Ubuntu 12.04 Desktop using X11VNC
为ubuntu server安装desktop
Ubuntu server 与Ubuntu desktop
Windows 远程桌面连接Ubuntu14.04
ubuntu server install xen server
RHL配置VNC Server
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服