Current time: 07-31-2010, 03:51 AM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Remote Desktop
05-19-2009, 09:33 PM
Post: #1
Remote Desktop
For this tutorial, you will need YUM installed on your vps. This is tutorial is a step by step guide on installing the KDE window manager. Original tutorial by Sean Koons of zone.net and Caleb who post a this enhanced version over webmaster forum. Make sure you have at least 128MB of unused ram to allocate for VNC. Using this on a highly used cpanel VPS can cause spikes in RAM usage and possibly kill needed processes.

You might as well need to disable APF (if you use one). To stop APF, type "service apf stop" in SSH. To start it, type "service apf start". (without quotes)

1. First login as root to your server and run the following:
"yum -y groupinstall kde" (replace kde with gnome for gnome install)
"yum -y install vnc vnc-server firefox x11-xorg"

2. Start up the vnc server with the 'vncserver' command and it will prompt you to enter a desired password. Just type what you want to use in and then confirm it.

3. Type in "pkill -9 vnc" followed by "rm -rf /tmp/.X1*"
Note: rm -rf /tmp/.X1 = delete the temp sockets created by the vncserver startup

4. Type in "cd /root/.vnc/" and then open the xstartup file in your text editor. Replace the last line with 'startkde &' (without quotes of course).
Note: Editing in xstartup file is to tell the vncserver to startup KDE when vncserver starts up.

5. Type "vncserver" to start it up and connect to your hostname on port 1 via your VNC client. I recommend RealVNC for windows users and Mac users can use VNCViewer.

You are now able to use your VPS via a remote desktop!

When you are done simply type in SSH "pkill -9 vnc" and then "rm -rf /tmp/.X1*".

If you get this error:
unable to connect to host: Connection refused (10061)

reboot your VPS and run this command:
"rm -rf /tmp/.X1*" and then "vncserver"

ElevatedServers.net
"Rise Above The Rest"
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


HomeWeb HostingReseller HostingVPSSupport HubForumAffiliates
Copyright © 2009 ElevatedServers.net All Rights Reserved.
Finding a quality hosting provider couldn’t be more affordable
Policies | AUP | Terms Of Services