Back to Top
WJunction

Register Now

Welcome Guest!  Register  
Go Back   WJunction - Webmaster Forum > Hosting > Server Management Help > Technical and Security Tutorials

Post Reply
 
Thread Tools Display Modes

Old 29th Aug 2010, 12:08 PM   #1
Banned
 
  • My Statistics
Send a message via MSN to vizoomer Send a message via Yahoo to vizoomer
Hey guyz .... just thought i would post a way of installing the Remote Desktop on a linux VPS ... some 256mb of ram will also able to run it but ofc it'll be slow .. i recommend 512mb of ram as minmum for it ...

for this i'll be using the software putty which many of u use ...

this is basically installing the VNC on the VPS ....

ok so here i go ....

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:
 yum groupinstall "X Window System"
yum groupinstall "GNOME Desktop Environment"
Over here if u want u can install another Desktop Environment ... but GNOME uses less resources and thats what i use 8-)

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:
yum install yum-utils

yumdownloader nautilus-sendto

rpm -Uvh --nodeps nautilus-sendto[PRESS TAB]
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:
nano /etc/sysconfig/vncservers
and then look for

Code:
VNCSERVERS="2:root" # display port and username
VNCSERVERARGS[2]="-geometry 800x600 -nolisten tcp -nohttpd -localhost
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:
vncpasswd
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:
vncserver :2
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:
vncserver -kill :2
Now edit the local config file in the root folder :-


Code:
nano ~/.vnc/xstartup
We want to have VNC load GNOME instead of the default twm. Look for the following line :-


Code:
twm &
And replace it with

Code:
gnome-session &
Ok now save and restart the VNC :

Code:
vncserver :2
ok .. now it's all done ... remember the port no. and then add it to ur ip for example :-

Code:
87.68.xx.xx:2
this will be the ip u'll use for connecting .... now what to use to connect ?
will i use TightVNC for this

u can also use RealVNC

now all u gotta do is type the ip with the port in this way



and then connect to it ... type in the password of the VNC that u made in the SSH ... and voila ... ur remote desktop is ready !!!

it may look something of thing kind



Enjoy guyz ... and ofc u may need to install the softwarez that u want in it ... my 1st tutorial .... hope u all like it
vizoomer is offline   Quote
Liked by:
Old 29th Aug 2010, 12:13 PM   #2
CJ
Moderator

CJ's Avatar
 
Website(s):
loledhard.com
  • My Statistics
ok come on yahoo & install it for me kthxbai

Anyways nice tut. Would mke u install it for me but latter.

Nice would be less, Gr8 Tut dude. Keep them coming
CJ is offline   Quote
Old 29th Aug 2010, 12:13 PM   #3
Banned
 
  • My Statistics
Send a message via MSN to vizoomer Send a message via Yahoo to vizoomer
Quote:
Originally Posted by humour View Post
ok come on yahoo & install it for me kthxbai

Anyways nice tut. Would mke u install it for me but latter.
sure m8 ... just hit me up at yahoo
vizoomer is offline   Quote
Old 29th Aug 2010, 12:31 PM   #4
Member
 
Website(s):
UpFashion.pk TechShake.info moviesmafia.com
  • My Statistics
awesome tutorial mate. now from now on i will contact when ever i need to install gnome on my VPS
TheEagle is offline   Quote
Old 29th Aug 2010, 01:00 PM   #5
Banned
 
  • My Statistics
Send a message via MSN to vizoomer Send a message via Yahoo to vizoomer
Quote:
Originally Posted by TheEagle View Post
awesome tutorial mate. now from now on i will contact when ever i need to install gnome on my VPS
lol sure man
vizoomer is offline   Quote
Old 29th Aug 2010, 01:31 PM   #6
Respected Member

sniffdog's Avatar
 
Website(s):
nooky.xxx amazingbabes.net
  • My Statistics
Send a message via MSN to sniffdog
http://wiki.centos.org/HowTos/VNC-Server

This one is also working.
sniffdog is offline   Quote
Old 29th Aug 2010, 01:39 PM   #7
Banned
 
  • My Statistics
Send a message via MSN to vizoomer Send a message via Yahoo to vizoomer
Quote:
Originally Posted by sniffdog View Post
ok m8 .... thanx for sharing
vizoomer is offline   Quote
Old 29th Aug 2010, 01:52 PM   #8
Ash
Member

Ash's Avatar
 
  • My Statistics
Works gr8
Thanks viz

Ash is offline   Quote
Old 29th Aug 2010, 01:55 PM   #9
Member

Royal King's Avatar
 
  • My Statistics
Send a message via Skype™ to Royal King
Long one but quite cool
Royal King is offline   Quote
Old 29th Aug 2010, 01:59 PM   #10
Member
 
  • My Statistics
and then look for

VNCSERVERS="2:root" # display port and username
VNCSERVERARGS[2]="-geometry 800x600 -nolisten tcp -nohttpd -localhost
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 ...


please specify more these
SeetHe is offline   Quote
Post Reply

Thread Tools
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing Remote Desktop on a Linux VPS With Ubuntu 9 RiNCEWiND Technical and Security Tutorials 30 2nd Oct 2012 02:10 PM
how to setup remote desktop on linux ? warezrock Server Management Help 6 24th Oct 2010 03:05 PM
[help ] Remote Control Software for linux (ubuntu or centos) freecbc3 Technical and Security Tutorials 5 11th Oct 2010 08:04 PM
using linux vps as remote desktop cyberz Technical Help Desk Support 4 22nd Jul 2010 07:59 PM
[VPS] Setup Remote Desktop Only 3$ (Ubuntu/Centos) robinex Archive 0 19th Apr 2010 10:19 AM


All times are GMT. The time now is 08:08 AM.