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.
  • del.icio.us
  • StumbleUpon
  • Digg
  • TwitThis
  • Mixx
  • Technorati
  • Facebook
  • NewsVine
  • Reddit
  • Google
  • LinkedIn
  • YahooMyWeb

Related Posts of Ubuntu Server install Gnome, VNC

  • IBM Ajax Tutorial Series

    Links: http://ibm.csdn.net/ISN_J.aspx?action=JMP&pointid=1550 Part 10: Using JSON for data transmission In the asynchronous application to send and receive information, you can choose to plain text and XML as data format. Ajax grasp of this issue ...

  • jquery ajax example

    1. Check js file $. ajax (( type: "GET", url: "test.js", dataType: "script" )) 2.post data $. ajax (( type: "POST", url: "xxxx", data: "name = zhaoaiqing & age = 25", success: function ( ...

  • Strength of live practice teaching materials, suitable for each person team look - UFIDA Hua Table CTO talk about "out of the software factory"

    A few months ago, on reading "Going the software factory," one book, not yet published at that time, it can be considered the reference of the watch. Although the language rather uneventful, but the contents of people really can not but carry on

  • lighttpd + fastcgi built a server how to preserve the status of server

    Requirements: server-side has much static files, there is much use of c + + to prepare the operational components necessary to carry out these functions on the external packaging Published Service, server-side state required to preserve the client (simila

  • Workspace run under different Eclipse

    Now do live more and more often required to use eclipse in java and ruby & rails project conducted between the tangential shear from the past, because in the rails project used a coloring Aptana preferences, the results open the java project sour ...

  • Software development sunflower Baodian [reprint]

    Master the ability to reuse code very familiar with the new API's fast. This is because, he once used a lot of the API, have a lot of reusable code. He knows what is available and what is deficient. He has been using Qt, also used by gtk +, also used

  • java read file

    java read documents in two ways: java.io and java.lang.ClassLoader When using the java.io, when java.lang.ClassLoader use it? (Note: If prior to read xml file java read file clearly aware of these two methods have been like! Can take much less to understa

  • can not be represented as java.sql.Timestamp

    Development of procedures for the use of hibernate when, some time there is no need to fill in the fields, but after the hibernate query time reported "Java.sql.SQLException: Value'0000-00-00 'can not be represented as java.sql.Timestamp ...

  • Struts2 + hibernate + spring problem user log in

    dao layer services layer action jsp <tr> <td align="center"> <b> user name: </ b> </ td> <td> <s: textfield name = "czyNumber" cssClass = "textstyle" theme = "simple" size = &q

blog comments powered by Disqus
Recent
Recent Entries
Tag Cloud
Random Entries