Dismiss Notice
Hey Guest! We'd like to know what you think of our new theme & platform, click here to share your thoughts!
  1. vizoomer

    vizoomer New Member Member

    Jan 21, 2010
    2,327
    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 xD .. 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 :P ...

    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

    [​IMG]

    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 ;)

    [slide]http://baamba.com/images/23121571249649785954.png[/slide]

    Enjoy guyz ;) ... and ofc u may need to install the softwarez that u want in it :P ... my 1st tutorial :D .... hope u all like it :)
     
  2. CJ

    CJ New Member Respected

    Nov 21, 2009
    3,796
    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 :D
     
  3. vizoomer

    vizoomer New Member Member

    Jan 21, 2010
    2,327
    sure m8 ... just hit me up at yahoo :P
     
  4. TheEagle

    TheEagle New Member Member

    Dec 22, 2009
    393
    awesome tutorial mate. now from now on i will contact when ever i need to install gnome on my VPS :P
     
  5. vizoomer

    vizoomer New Member Member

    Jan 21, 2010
    2,327
    lol sure man :P
     
  6. sniffdog

    sniffdog Well-Known Member Member

    Sep 21, 2009
    5,694
  7. vizoomer

    vizoomer New Member Member

    Jan 21, 2010
    2,327
  8. Ash

    Ash Well-Known Member Member

    Oct 7, 2009
    1,861
    Works gr8 :)
    Thanks viz

    [slide]http://screensnapr.com/u/g2pggp.png[/slide]
     
  9. Royal King

    Royal King New Member Member

    Jul 7, 2009
    3,899
    Long one but quite cool :D
     
  10. SeetHe

    SeetHe New Member Member

    Apr 9, 2010
    81
    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
     
  11. vizoomer

    vizoomer New Member Member

    Jan 21, 2010
    2,327
    what u want in it ?
     
  12. Veer

    Veer New Member Member

    Aug 21, 2009
    5,667
    Good tutorial bro, I really appreciate it :)

    Thanx a lot :))
     
  13. Gaurav

    Gaurav New Member Member

    Jan 30, 2010
    641
    Thnx for that :D ! I'm trying to do this with XFCE and Ubuntu.. lets see how it goes..
     
  14. sloddl

    sloddl New Member Member

    Dec 4, 2009
    1,016
    does this work only if the centos is installed as a desktop or does it work if the centos is installed as a server too? centos server = terminal only i think
     
  15. SeetHe

    SeetHe New Member Member

    Apr 9, 2010
    81
    I can't save and go out of there
    and why all gray ?S:S?
    [​IMG]
     
  16. vizoomer

    vizoomer New Member Member

    Jan 21, 2010
    2,327
    /\ ... see if the user that u entered already exists .... like if u enter root ... then it's already there ..... also see if the Desktop Environment is correctly entered .....
     
  17. Psycho

    Psycho New Member Member

    Apr 2, 2010
    162
    Nice share
    thanks :)
     
  18. Gaurav

    Gaurav New Member Member

    Jan 30, 2010
    641
    Did it on ubuntu.. commands varied but took little effort :P

    Heres the screen:

    [slide]http://lulzimg.com/i3/d35e7c47.png[/slide]
     
  19. vizoomer

    vizoomer New Member Member

    Jan 21, 2010
    2,327
    nice man ;) .... thanx for the screen :)
     
  20. flex360

    flex360 New Member Member

    May 6, 2009
    134
    nice
    i need rdp on my vps
     

Share This Page