#1 (permalink)  
Old 04-20-2011, 05:14 PM
Junior Member
 
Join Date: Apr 2011
Posts: 1
Default Howto: Install Gnome+VNC[Ubuntu]

Hi Please follow these easy steps if you want to run VNC with Gnome:

Step 1:
Type in your SSH Console: apt-get update

Step 2:
Type in Your SSH Console: sudo apt-get install ubuntu-desktop nano vnc4server

Step 3:
Type in Your SSH Console: vncserver :1 -geometry 1024x768 -depth 16

Step 4:
Type in Your SSH Console: vncserver -kill :1

Step 5:
The configuration is kept in the file /home/userxx/.vnc/xstartup I edited this file so that I can start the server with gnome. My file looks exactly like below.

Quote:
#!/bin/sh

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

gnome-session &

[ -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 &
Copy this code into your .vnc/xstartup file to do that do nano /.vnc/xstartup

Now start your VNC Server again via vncserver, after that just login with the password you specified and enjoy the VNC with Gnome
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 10:09 AM.


Powered by: vBulletin
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15