Ubuntu Server install Gnome, VNC

I'm using the Ubuntu Server 10.4
Gnome by installing the basic environment and VNCServer, to achieve remote access to graphical interface under windows server.

1. Install GNOME basic environment

$sudo apt-get install gnome-core

2. Installation VNCServer

$sudo apt-get install vnc4server

3. VNC password to set the current user

$vncpasswd

4. VNC configuration changes, so change the default start GNOME environment ~ / .vnc / xstartup file, add in the tail
gnome-session &
5. Startup vnc server

$ vncserver :1

Configured by the server VNC SERVER, you can let other hosts use graphical login this server.
Configure vnc server on ubuntu is very simple, as follows:

Server-side:
1, first install the VNC server:
$ Sudo apt-get install vnc4-common vnc4server

2, set vnc to the current user Password:
$ Vncpasswd

3, modify the vnc default settings, so that X starts to run gnome as a desktop (if not set, vnc will use twm, you can try, I believe you will be very accustomed to):
$ Vncserver: 1
$ Vncserver-kill: 1
Note: The inside ": 1" display number, when customers log on the same display number was written to log (see the back of the client part).
Modify ~ / .vnc / xstartup documents: (red is to modify and increase what)
#! / Bin / sh

# Uncomment the following two lines for normal desktop:
# Unset SESSION_MANAGER
# Exec / etc/X11/xinit/xinitrc

[-X / etc / vnc / xstartup] & & exec / etc / vnc / xstartup
[-R $ HOME / .Xresources] & & xrdb $ HOME / .Xresources
xsetroot-solid grey
vncconfig-iconic &
xterm-geometry 80x24 +10 +10-ls-title "$ VNCDESKTOP Desktop" &
# Twm &
gnome-session &

The above changes mean that the default program to start the twm gnome, if you want to use KDE as a desktop, and can be changed: startkde &

Then start again VNC SERVER:
$ Vncserver: 1

Client:
1, install VNC client:
$ Sudo apt-get install vnc4-common xvnc4viewer

2, and then you logged in through Terminal Server Client: Applications -> Internet -> Terminal Server Client; Computer is: Server IP: display #, for example: 12.34.56.78:1; protocol options: VNC.

分类:OS 时间:2010-10-05 人气:207
分享到:
blog comments powered by Disqus

相关文章

  • Use vmware installed ubuntu 8.04 server edition can not enter the graphical interface 2010-05-05

    Q: server version why not the desktop? A: Because it is the server version, did not the desktop, but you can install it yourself. gnome Code: sudo aptitude install ubuntu-desktop kde Code: sudo aptitude install kubuntu-desktop xfce Code: sudo aptitud

  • Different versions of Windows Server 2003 memory support 2010-09-06

    Windows Server 2003 Web Edition 32-bit version can support 2G, the largest RAM, Windows Server 2003 Standard Edition 32-bit version can support the largest 4G of RAM, Windows Server 2003 Enterprise Edition 32-bit version can support 32G largest of RA

  • Windows Server 2003 R2 Beta 2将公测 2014-05-17

    近期,关于Longhorn,X64系统的新闻不断涌现.在上周,Windows Server 2003 SP1发布了,而Windows Server 2003的下一个更新版也即将开始公测. 到今年末,Windows Server用户将有望看到Windows Server 2003的下一个重要更新版本(代号"R2")."R2"版在SP1的基础上,还增添了独有功能,它们都支持选择性安装. Windows Server 2003 "R2"发布初期,受So

  • 应用Windows Server 8创建IaaS云 2015-02-14

    小公司和大企业都将可以使用Windows Server 8来建立自己的云服务.微软公司的一份白皮书揭示了应用即将发布的服务器操作系统来构建IaaS平台的细节. 在通过 Windows Azure平台提供PaaS云服务和两个SaaS解决方案--Office 365及Dynamics CRM Online--之后,微软准备提供另一新选择,为希望建立自己的私有IaaS云的客户提供基于Windows Server 8的解决方案.除Windows Server之外,这个解决方案还使用了AppFabric和

  • Microsoft Windows Server 2008 Beta 3VHD官方镜像下载 2015-02-18

    微软在下载中心发布了Windows Server 2008 Beta3的下载.本次下载是VHD版本,RAR分卷压缩,大小2.85GB,可以用Virtual Server 2005 R2虚拟机直接运行,大约需要10GB的硬盘空间.对Windows Server 2008有兴趣的朋友们不妨一试. Microsoft Windows Server 2008 is the next generation of the Windows Server operating system that helps

  • [Transfer from Baidu dusty blog] windows server 2003 common commands 2011-08-23

    Address: http://hi.baidu.com/sakeing/ accwiz.exe> ​​Accessibility Wizard for walking you through setting up your machine for your mobility needs. Accessibility Wizard acsetups.exe> ​​ACS setup DCOM server executable actmovie.exe> ​​Direct Show se

  • WINDOWS SERVER 2003 from the entry to the master of creating a Windows domain 2011-08-20

    WINDOWS SERVER 2003 from the entry to the master of creating a Windows domain 2007-08-26 15:15:35 <! - ShowHead end -> Tags: Windows Domain Original works, for permission to reproduce, reprint, please be sure to indicate the form of hyperlinks origi

  • Windows Server 2003 successfully installed Kaspersky 2010 2010-03-22

    Today, when the login server using secure 360 detected "worm" run wild! All the exe files are infected with 360 virus prompted to delete exe files This is not the result I want! This time I thought of using Kaspersky 2010, to remove the virus, d

  • The Oracle database model to a shared server mode - adjust the ORACLE memory settings - modify the maximum connection Oracle 2010-04-20

    First, the database model to a shared server mode Note: The Oracle database server the machine operation. 1 Click Start, select Programs menu from the "Database Configuration Assistant", as shown below. 2, into the "Welcome" screen, cl

  • ECShop 2.7.2 mail server settings and "Access is denied" solution 2010-06-10

    ECShop 2.7.2 mail server settings and "Access is denied" solution If you use your own domain name configured mail, please sign out the following line. Can not send mail to solve the problem. $this->host = "ssl://" . $this->host;

iOS 开发

Android 开发

Python 开发

JAVA 开发

开发语言

PHP 开发

Ruby 开发

搜索

前端开发

数据库

开发工具

开放平台

Javascript 开发

.NET 开发

云计算

服务器

Copyright (C) codeweblog.com, All Rights Reserved.

CodeWeblog.com 版权所有 黔ICP备15002463号-1

processed in 0.333 (s). 12 q(s)