Gnome Desktop

From FiberWiki

Jump to: navigation, search

Contents

Install Required Packages

yum install vnc-server
yum groupinstall "GNOME Desktop Environment"

If your server returns an error about libgaim.so.0 please check [[1]].

Creating VNC Users

adduser USERNAME1
adduser USERNAME2
adduser USERNAME3
passwd USERNAME1
passwd USERNAME2
passwd USERNAME3

Setting VNC User Password

Setting up username1:

su - USERNAME1
vncpasswd
exit

Setting up username2:

su - USERNAME2
vncpasswd
exit

Setting up username3:

su - USERNAME3
vncpasswd
exit

Editing VNC Config

nano /etc/sysconfig/vncservers

Add the following to the bottom of the file (don't forget to change the following to your usernames).

VNCSERVERS="1:USERNAME1 2:USERNAME2 3:USERNAME3"
VNCSERVERARGS[1]="-geometry 640x480"
VNCSERVERARGS[2]="-geometry 800x600"
VNCSERVERARGS[3]="-geometry 800x600"

Please note USERNAME1 will have the screen resolution of 640x480 and USERNAME2/3 will have 800x600.

xstartup scripts

service vncserver start
service vncserver stop

Now we need to edit the start by doing the following:

su - USERNAME1
cd .vnc
nano xstartup

Add the following:

unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc

Above the line "[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup"

User2:

su - USERNAME2
cd .vnc
nano xstartup

Add the following:

unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc
Above the line "[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup"

User3:

su - USERNAME3
cd .vnc
nano xstartup

Add the following:

unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc

Above the line "[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup"

Start the server

service vncserver start

Java Based VNC Access

USERNAME1 is http://192.168.100.1:5801
USERNAME2 is http://192.168.100.1:5802
USERNAME3 is http://192.168.100.1:5803
Personal tools
Navigation