ubuntu 遠端連線設定
安裝ssh
啟動ssh
啟動/關閉 firewall
允許/不允許 port : 22
https://bugs.launchpad.net/ubuntu/+source/xrdp/+bug/1069272
#sudo apt-get install openssh-server
啟動ssh
sudo /etc/init.d/ssh start
啟動/關閉 firewall
sudo ufw enable
sudo ufw disable
允許/不允許 port : 22
sudo ufw allow 22
or
sudo ufw allow 22/tcp
sudo ufw allow 22/udp
sudo ufw deny 22
ubuntu 14 xrdp (port : 3389)
安裝
sudo apt-get install xrdp
啟動
sudo service xrdp start
ubuntu 12.10 xrdp (port : 3389)
1. install xrdp
2. install fallback
3. logout and login again by gnome theme. You can choose theme before log in..
4. open terminal by ctrl alt t , then input
5. sudo gedit /etec/xrdp/startwm.sh
6. sudo /etc/init.d/xrdp restart
sudo apt-get install xrdp
2. install fallback
sudo apt-get install gnome-session-fallback
3. logout and login again by gnome theme. You can choose theme before log in..
4. open terminal by ctrl alt t , then input
echo "gnome-session --session=gnome" > ~/.xsession
5. sudo gedit /etec/xrdp/startwm.sh
. /etc/X11/Xsession
to
. /home/<user name>/.xsession
6. sudo /etc/init.d/xrdp restart
安裝samba
主要能和windows share folder connection
sudo apt-get install samba
sudo service smbd start
Reference :
https://help.ubuntu.com/community/UFWhttps://bugs.launchpad.net/ubuntu/+source/xrdp/+bug/1069272
留言
張貼留言