Forum Articles
WJunction


  1. #1
    Member vizoomer's Avatar

    • My Statistics

    Default Installing Remote Desktop on a Linux VPS With CentOS 5

    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


  2. #2
    CJ
    CJ is offline
    Respected Member CJ's Avatar

    • My Statistics

    Default

    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


    Domain Clearance Sale!!! || Selling ScriptMonsterz.com

    You don't hate Justin bieber.You hate the fact you ain't Justin Bieber!

  3. #3
    Member vizoomer's Avatar

    • My Statistics

    Default

    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

  4. #4
    Member

    Website(s):
    UpFashion.pk TechShake.info moviesmafia.com
    • My Statistics

    Default

    awesome tutorial mate. now from now on i will contact when ever i need to install gnome on my VPS

  5. #5
    Member vizoomer's Avatar

    • My Statistics

    Default

    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

  6. #6
    Member sniffdog's Avatar

    Website(s):
    celebpinups.com smutstream.com streamingseries.tv
    • My Statistics

    Default

    http://wiki.centos.org/HowTos/VNC-Server

    This one is also working.

  7. #7
    Member vizoomer's Avatar

    • My Statistics

    Default

    Quote Originally Posted by sniffdog View Post
    ok m8 .... thanx for sharing

  8. #8
    Ash
    Ash is offline
    Member Ash's Avatar

    • My Statistics

    Default

    Works gr8
    Thanks viz

    "What day is it?", asked Pooh.
    "It's today", squeaked Piglet.
    "My favorite day", said Pooh.

  9. #9
    Member Royal King's Avatar

    • My Statistics

    Default

    Long one but quite cool

  10. #10
    Member

    • My Statistics

    Default

    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

Results 1 to 10 of 83

Similar Threads

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