Hey guyz.... simply idea i'd personally article a way involving the installation of this Out of the way Computer over a linux VPS... a number of 256mb involving random access memory will likely capable to manage the item nevertheless ofc it will be sluggish.. i suggest 512mb involving random access memory because minmum because of it...
just for this we will be using the computer software putty which lots of ough employ...
this is fundamentally the installation of this VNC around the VPS....
okay and so in this article i proceed....
login to ur putty and then start with these codes for installing required packages for VNC We'll need the X Window System and a desktop environment :-
Code:
Over here if u want u can install another Desktop Environment ... but GNOME uses less resources and thats what i use
also the installation will take some time ... so i'll say patience gives sweets fruits ...
NOTE: If you receive the error “Error: Missing Dependency: libgaim.so.0 is needed by package nautilus-sendto” while installing GNOME Desktop Environment, you will need to manually install nautilus-sendto with the following procedure:
Code:
VNC Server will be installed with the X-Window System .. so now the thing left is to edit it's config for ur needs , so now type in :-
Code:
and then look for
Code:
Now over here in the 1st line 2:root defines 2 as the port no. u want for the RDP and root is the username ...
the 2nd line 800x600 is the reselution ... edit it as per ur needs
now ur RDP is almost ready ... all u gotta do is give it a password ...
type in :-
Code:
and then add the pass ...
now add the thing is to run these Remote Desktop u 1st need to start it manually from the ssh by typing
Code:
where 2 is ur port no. that u assined !!
now ... not so fast .... theres one more thing u need to edit ...
starting the server was just to chk if it was working fine ...
now kill it's process :-
Code:
Now edit the local config file in the root folder :-
Code:
We want to have VNC load GNOME instead of the default twm. Look for the following line :-
Code:
And replace it with
Code:
Ok now save and restart the VNC :
Code:
ok .. now it's all done ... remember the port no. and then add it to ur ip for example :-
Code:
login to ur putty and then start with these codes for installing required packages for VNC We'll need the X Window System and a desktop environment :-
Code:
Code:
yum groupinstall "X Window System" yum groupinstall "GNOME Desktop Environment"
also the installation will take some time ... so i'll say patience gives sweets fruits ...
NOTE: If you receive the error “Error: Missing Dependency: libgaim.so.0 is needed by package nautilus-sendto” while installing GNOME Desktop Environment, you will need to manually install nautilus-sendto with the following procedure:
Code:
Code:
yum install yum-utils yumdownloader nautilus-sendto rpm -Uvh --nodeps nautilus-sendto[PRESS TAB]
Code:
Code:
nano /etc/sysconfig/vncservers
Code:
Code:
VNCSERVERS="2:root" # display port and username VNCSERVERARGS[2]="-geometry 800x600 -nolisten tcp -nohttpd -localhost
the 2nd line 800x600 is the reselution ... edit it as per ur needs
now ur RDP is almost ready ... all u gotta do is give it a password ...
type in :-
Code:
Code:
vncpasswd
now add the thing is to run these Remote Desktop u 1st need to start it manually from the ssh by typing
Code:
Code:
vncserver :2
now ... not so fast .... theres one more thing u need to edit ...
starting the server was just to chk if it was working fine ...
now kill it's process :-
Code:
Code:
vncserver -kill :2
Code:
Code:
nano ~/.vnc/xstartup
Code:
Code:
twm &
Code:
Code:
gnome-session &
Code:
Code:
vncserver :2
Code:
Code:
87.68.xx.xx:2
this will be the ip u'll employ in order to connect.... right now what you should employ to touch base?
am i going to employ TightVNC due to this
you may employ RealVNC
right now many you gotta accomplish is usually sort the ip while using slot in this manner
after which it get connected to that... key in the password from the VNC that you stated in the SSH... and also voila... your remote pc is usually completely ready!!!
From: propakistani.pk/forums/threads/243-Installing-Desktop-on-a-CentOS-5-VPS
ampun gan ..
BalasHapustulisannya kecil amir..
kalo boleh saran, agak digede'in dikit gan :'v
dan buku tamunya mana ya gan ? :D