Knowledgebase

How to connect to the VPS via Remote Desktop Protocol?

On default our company provides access to the VPS only by means of SSH protocol (Secure SHell) and SFTP protocol (SSH File Transfer Protocol).

To get access to our VPS in a graphic user interface you need to install a graphic system and connection server to a remote desktop.

It is not recommended to install a graphic system for packages with 256 MB of main memory because of small productivity.

CONNECTION TO A VPS SERVER BY MEANS OF THE SSH PROTOCOL

We recommend you to use SSH-client called PuTTY.

1

SETTING OF GRAPHIC IMAGE MODE AND CONNECTION SERVER TO A REMOTE DESKTOP

In the opened terminal perform the following commands:

For OS CentOS 6

yum -y upgrade
yum -y install xorg-x11-fonts-Type1 xorg-x11-fonts-truetype
yum -y groupinstall "X Window System" "Desktop"
rpm -Uvh http://fedora.ip-connect.vn.ua/fedora-epel/6/i386/epel-release-6-8.noarch.rpm
yum -y install xrdp
yum -y install firefox tigervnc tigervnc-server tigervnc-server-module
chkconfig haldaemon --levels 2345 off
chkconfig xrdp --levels 345 on
service xrdp start

Then it is necessary to configure language options of the system:

Firstly,you need to create a file with settings:

touch /etc/sysconfig/i18n

Secondly,you need to open new created file for editing:

nano /etc/sysconfig/i18n

Thirdly, in the file you need to indicate local parameters and then save changes:

LANG="en_US.UTF-8"SUPPORTED="en_US.UTF-8:en_US:en"
SYSFONT="latarcyrheb-sun16"

Finally, you need to install the local mentioned above:

localedef -c -f UTF-8 -ien_US en_US.utf8

When all the necessary settings are made you need to restart VPS using “reboot” function or you may push“Restart” button in control panel SolusVM.

For OS Fedora 14

yum -y upgrade
yum -y groupinstall "X Window System" KDE
yum -y install firefox nano tigervnc tigervnc-server tigervnc-server-module
yum -y install xrdp
chkconfig haldaemon --levels 2345 off
chkconfig xrdp --levels 345 on
service xrdp start

When the mentioned settings are performed you need to restart VPS by using reboot command or through the control panel SolusVM by pushing “Restart” button.

For OS Fedora 16

yum -y upgrade
yum -y groupinstall "X Window System" KDE
yum -y install firefox nano tigervnc tigervnc-server tigervnc-server-module
yum -y install xrdp
chkconfig haldaemon --levels 2345 off
chkconfig xrdp --levels 345 on
service xrdp start

When the mentioned settings are performed you need to restart VPS by using reboot command or through the control panel SolusVM by pushing “Restart” button.

For OS Ubuntu 11

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install xrdp
sudo apt-get install ubuntu-desktop
sudo apt-get install gnome-desktop-environment
sudo apt-get remove network-manager-gnome

When the mentioned settings are performed you need to restart VPS by using command“shutdow -r now” or through the control panel SolusVM by pushing “Restart” button.

For OS Ubuntu 12.04 x64

apt-get update
apt-get install ubuntu-desktop --no-install-recommends
apt-get install xrdp
/etc/init.d/xrdp start

When the mentioned settings are performed you need to restart VPS by pushing “Restart” button in the control panel SolusVM or in the Client Area

For Ubuntu 12.10 x86, Ubuntu 12.10 x64, Ubuntu 13.04 x86, Ubuntu 13.04 x64

apt-get install xrdp
apt-get install gnome-session-fallback
echo "gnome-session --session=gnome-fallback" > ~/.xsession
service xrdp restart

When the mentioned settings are performed you need to restart VPS by pushing “Restart” button in the control panel SolusVM or in the Client Area.

For OS Debian 6

apt-get update
apt-get upgrade
apt-get install gdm gnome xrdp
apt-get remove network-manager-gnome

When the mentioned settings are performed you need to restart VPS by using command “shutdown –r now” or pushing “Restart” button in the control panel SolusVM.

CONNECTION TO A REMOTE DESKTOP

In order to connect to a remote desktop of your VPS you may use embedded to OS Windows RDPB-client. To start it you should perform mstsc command

2

In the opened window you need to insert IP-address of your VPS and push “Connect” button.

3

When the dialog window of user authorization is opened, insert login-details which you use for SSH-connection and push the “OK” button.

4

NETWORK CONNECTION SETTINGS

For OS CentOS 6

Pass to the via SSH terminal and perform command system-config-network

5

When the selection window is appeared, choose option “DNSconfiguration” and push “Enter” button

6

In the opened configuration window, insert in “Primary DNS” line the following IP-address 8.8.8.8. and for “Secondary DNS” line the following IP-address 4.2.2.3 and push the “Ok” button.

7

Then save all changes by using the “Save&Quit” button.

8

For OS Fedora 14

In the opened dialog window of your VPS desktop, pass to “Applications” then to “System Tools” and run «Terminal» application.

In the opened terminal window, perform command system-config-network

10

When the network settings configuration window is opened, pass to the “DNS” inlay and tap 8.8.8.8. IP- address for the “Primary DNS” field and 4.2.2.3 IP-address for the “Secondary DNS” field. Then save settings made by pushing “Ctrl + S” key combination.

11

For OS Fedora 16

Open terminal with SSH connection and perform command sudo nano/etc/resolv.conf

12

In the opened file put the following logs:

nameserver 8.8.8.8
nameserver 4.2.2.3

13

To finish the file editing push the “Ctrl+X” key combination and then push the “Y” button to save changes.

Then it is necessary to performthe following commands:

sudo chattr +i /etc/resolv.conf
sudo /etc/init.d/network restart

For OS Ubuntu 11

Open terminal with SSH connection and perform command sudo nano/etc/resolv.conf

14

In the opened file put the following logs:

nameserver 8.8.8.8
nameserver 4.2.2.3

15

To finish the file editing push the “Ctrl+X” key combination and then push the “Y” button to save changes.

Then it is necessary to performthe following commands:

sudo chattr +i /etc/resolv.conf
sudo /etc/init.d/network restart

For OS Debian 6

Additional settings are not required.


Looking for VPS hosting in the USA or Europe? Check our offers for VPS with different types of virtualization.
Also Read
PHP modes (Views: 873)

Language:

Quick Navigation

Client Login

Email

Password

Remember Me

Search