Fli
03-15-2017, 10:24 PM
If You have Linux CentOS VPS in some datacenter and want to use it as a remote desktop (browsing internet using Firefox, maybe even running .exe programs etc.) this tutorial should help.
STEPS TO DO:
yum groupinstall xfce
EL5
rpm -ivh http://rpms.famillecollet.com/enterprise/remi-release-5.rpm
EL6
rpm -ivh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
EL7
rpm -ivh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
32bit
rpm -ivh http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm
yum --enablerepo=remi install vnc-server fontforge.i386 firefox.i386
64bit
rpm -ivh http://linuxdownload.adobe.com/adobe-release/adobe-release-x86_64-1.0-1.noarch.rpm
yum --enablerepo=remi install vnc-server fontforge.x86_64 firefox.x86_64 flash-plugin
(if vnc-server is not found, then install tigervnc-server)
add new user and set new password (replace rdp by the username):
useradd rdp
passwd rdp
vi /etc/sysconfig/vncservers
add to the new line:
VNCSERVERS="1:rdp"
VNCSERVERARGS[1]="-geometry 800x600"
set vnc password for rdp user:
su - rdp
vncpasswd
exit
echo "exec /usr/bin/startxfce4" > /home/rdp/.vnc/xstartup
service vncserver restart
chkconfig vncserver on
Any errors?
tail -n 30 "/home/rdp/.vnc/*.log
If some icons arew missing in menus in RDP, then check this topic (https://internetlifeforum.com/desktop-x-windows/7451-xfce-via-vncserver-centos-5-icons-missing-menu/).
If Flash is not found in Firefox Addons, then try DL it from https://get.adobe.com/flashplayer/download/ and make sure libflashplayer.so is in /usr/lib64/mozilla/plugins or /usr/lib/mozilla/plugins
Install WineHQ
yum install wine ?
X2GO instead of slow FPS VNC?:
wget -O /etc/yum.repos.d/x2go.repo http://packages.x2go.org/epel/x2go.repo
yum install x2goserver x2goserver-xsession
STEPS TO DO:
yum groupinstall xfce
EL5
rpm -ivh http://rpms.famillecollet.com/enterprise/remi-release-5.rpm
EL6
rpm -ivh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
EL7
rpm -ivh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
32bit
rpm -ivh http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm
yum --enablerepo=remi install vnc-server fontforge.i386 firefox.i386
64bit
rpm -ivh http://linuxdownload.adobe.com/adobe-release/adobe-release-x86_64-1.0-1.noarch.rpm
yum --enablerepo=remi install vnc-server fontforge.x86_64 firefox.x86_64 flash-plugin
(if vnc-server is not found, then install tigervnc-server)
add new user and set new password (replace rdp by the username):
useradd rdp
passwd rdp
vi /etc/sysconfig/vncservers
add to the new line:
VNCSERVERS="1:rdp"
VNCSERVERARGS[1]="-geometry 800x600"
set vnc password for rdp user:
su - rdp
vncpasswd
exit
echo "exec /usr/bin/startxfce4" > /home/rdp/.vnc/xstartup
service vncserver restart
chkconfig vncserver on
Any errors?
tail -n 30 "/home/rdp/.vnc/*.log
If some icons arew missing in menus in RDP, then check this topic (https://internetlifeforum.com/desktop-x-windows/7451-xfce-via-vncserver-centos-5-icons-missing-menu/).
If Flash is not found in Firefox Addons, then try DL it from https://get.adobe.com/flashplayer/download/ and make sure libflashplayer.so is in /usr/lib64/mozilla/plugins or /usr/lib/mozilla/plugins
Install WineHQ
yum install wine ?
X2GO instead of slow FPS VNC?:
wget -O /etc/yum.repos.d/x2go.repo http://packages.x2go.org/epel/x2go.repo
yum install x2goserver x2goserver-xsession