【转】Getting xrdp to work on CentOS 6.4
2014-03-05 21:27
656 查看
vi /etc/selinux/config
reboot
Step 1:
#rpm -Uvh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.i686.rpm
#rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
#yum -y update
#yum repolist
Step 2:
#yum install -y xrdp tiger-vncserver autoconf automake libtool openssl-devel pam-devel libX11-devel libXfixes-devel
Step 3:
Download the latest version of xrdp. That’s probably going to be 0.6.0. Unzip/tar it to a folder on your desktop
#cd /home/username/Destkop/xrdp-v0.6.6/
#chmod u+x bootstrap
#./bootstrap
#chmod u+x configure
#./configure
#make
#make install
This will compile a bunch of stuff.
#groupadd tsusers
#groupadd tsadmins
Fantastic. All the easy work is done, now let’s modify a bunch of config files manually.
Step 4:
#nano -w /etc/group
Now add these two lines to the group file. Note it is group, not groups.
tsusers:x:501:YOURUSERNAME
tsadmins:x:502:root
Setting up the password for xrdp/vnc
#su YOURUSERNAME
#vncpasswd
Insert your password twice
#exit
To return root user
Edit VNC server files
#nano -w /etc/sysconfig/vncservers
Add to end of vncservers file. You can adjust the resolution from
microsoft’s RDC app, but it’s good to have a resolution to start with.
VNCSERVERS=”1:YOURUSERNAME”
VNCSERVERARGS[1]=”-geometry 1355×768 -depth 16″
Edit another text file
#nano -w /etc/rc.local
Dump this line at the end on a new line
/etc/xrdp/xrdp.sh start
And then start up the service. Awesome. You shouldn’t need to muck
around with the firewall, but if you do the port number is 3389
#chkconfig vncserver on
#service vncserver start
#/etc/xrdp/xrdp.sh start
And… behold! Hopefully it was worth it.
SELINUX=disabled
reboot
Step 1:
#rpm -Uvh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.i686.rpm
#rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
#yum -y update
#yum repolist
Step 2:
#yum install -y xrdp tiger-vncserver autoconf automake libtool openssl-devel pam-devel libX11-devel libXfixes-devel
Step 3:
Download the latest version of xrdp. That’s probably going to be 0.6.0. Unzip/tar it to a folder on your desktop
#cd /home/username/Destkop/xrdp-v0.6.6/
#chmod u+x bootstrap
#./bootstrap
#chmod u+x configure
#./configure
#make
#make install
This will compile a bunch of stuff.
#groupadd tsusers
#groupadd tsadmins
Fantastic. All the easy work is done, now let’s modify a bunch of config files manually.
Step 4:
#nano -w /etc/group
Now add these two lines to the group file. Note it is group, not groups.
tsusers:x:501:YOURUSERNAME
tsadmins:x:502:root
Setting up the password for xrdp/vnc
#su YOURUSERNAME
#vncpasswd
Insert your password twice
#exit
To return root user
Edit VNC server files
#nano -w /etc/sysconfig/vncservers
Add to end of vncservers file. You can adjust the resolution from
microsoft’s RDC app, but it’s good to have a resolution to start with.
VNCSERVERS=”1:YOURUSERNAME”
VNCSERVERARGS[1]=”-geometry 1355×768 -depth 16″
Edit another text file
#nano -w /etc/rc.local
Dump this line at the end on a new line
/etc/xrdp/xrdp.sh start
And then start up the service. Awesome. You shouldn’t need to muck
around with the firewall, but if you do the port number is 3389
#chkconfig vncserver on
#service vncserver start
#/etc/xrdp/xrdp.sh start
And… behold! Hopefully it was worth it.
相关文章推荐
- Getting Remote Access To Work On Ubuntu 14.04 With Vino(需要xrdp?不需vnc)
- HAProxy Installation and Configuration on CentOS 6.4 to Mitigate The Effects of Abusive Clients--转
- How to Install and Run a node.js App on Centos 6.4 64bit
- How to make libreoffice headless to work on CentOS 6.3
- 如何在centos6.4上安装git How To Install Git on a CentOS 6.4 VPS
- Getting Flash to work on non-hero builds 中文名字 如何让Flash在非Hero手机上运行
- HAProxy Installation and Configuration on CentOS 6.4 to Mitigate The Effects of Abusive Clients--转
- How To Configure Static IP On CentOS 6.4
- How to install snmpwalk snmpget on CentOS 6.4 6.3 5.9 Redhat RHEL Fedora
- Patch to solve sqlite3_int64 error when building Python 2.7.3 on RHEL/CentOS
- How to fix yum errors on CentOS, RHEL or Fedora
- 搭建NFS Server on CentOS 6.4
- How to install php memcached on CentOS 6.5
- centOS安装ganglia报错 You don't have permission to access /ganglia on this server解决办法
- iOS: How To Make AutoLayout Work On A ScrollView
- How to install Python 2.7.3 on CentOS 6.2
- [转]How to install PHP 5.3 on CentOS
- How to install squid proxy on centos 6
- getlab 5.2 on RHEL/Centos 6.4 with SCL / Software Collection outdated
- How to Install PostgreSQL 9.5 on CentOS/RHEL 7/6/5 and Fedora 23/22