使用rdp服務遠端控制centos7 GUI
# 安裝網絡工具 etc:ifconfig
yum install net-tools wget
# 獲得IP
ifconfig
# 安裝gui
yum -y groups install "GNOME Desktop"
# 先安裝epel package
yum install epel-release -y
# 安裝xrdp和tigervnc
yum -y install xrdp tigervnc-server
# 啟動xrdp
systemctl restart xrdp.service
# 查看xrdp狀態
netstat -antup | grep xrdp
# 預設啟動
systemctl enable xrdp.service
# 給firewall vnc的權限
firewall-cmd --permanent --zone=public --add-port=3389/tcp
firewall-cmd --reload
# chcon --type=bin_t /usr/sbin/xrdp
# chcon --type=bin_t /usr/sbin/xrdp-sesman
ref:
http://blog.jangmt.com/2015/09/centos-linux-7-xrdp-linux-rdp.html
http://www.itzgeek.com/how-tos/linux/centos-how-tos/install-xrdp-on-centos-7-rhel-7.html
2017年7月29日 星期六
訂閱:
張貼留言 (Atom)
Centos GUI Webserver 設定
新灌的一台Centos7可以做以下的設定 語系設定: - sudo localectl set-locale LC_CTYPE=zh_TW.UTF-8 修改ssh port - http://linux.vbird.org/linux_server/0310telne...
-
現在市面上的智慧家居玲琅满目,上週的課程剛好有學到繼電器,所以就順帶做個智慧插座。這次DIY的智慧插座功能很簡單,純粹只用網頁開關插座,沒有其他功能。(RaspberryPi使用Python編寫,其實蠻容易擴充功能的。) 1. 首先,準備好RaspberryPi,麵包板、繼電...
-
安裝Anaconda 前往官網 https://www.continuum.io/downloads 下載sh bash Anaconda3-4.4.0-MacOSX-x86_64.sh #安裝設定 #新建環境 conda create --name crawlerP...
-
近期在玩 RaspberryPi,需要Lamp功能,邊裝邊紀錄過程,方便下次直接複製XD RaspberryPi + Apache + PHP + MariaDB + Phpmyadmin # 更新套件 sudo apt-get update & sudo apt...
沒有留言:
張貼留言