树莓派-使用xrdp实现windows 远程桌面linux
2017-08-30 21:39
951 查看
一般情况下我们用ssh客户端远程登陆Linux系统,至于图形界面下的linux远程登陆工具,我们一般都会想到vnc,但它的安全性不够,
在这里,我将介绍XRDP的安装配置方法。我们可以很方便的通过windows远程桌面 linux。
打开终端:依次安装
sudo apt-get install xrdp
sudo apt-get install vnc4server tightvncserver
sudo /etc/init.d/xrdp restart
输入要登录的账号和密码即可。
1,xrdp 访问 ubuntu 只看到背景,看不到菜单栏的解决办法
方法:安装gnome-panel
sudo apt-get install gnome-panel
2,出现错误:
connecting to sesman ip 127.0.0.1 port 3350
sesman connect ok
sending login info to sesman
login successful for display 14
started connecting
connecting to 127.0.0.1 5914
error - problem connecting
xrdp-sesman.log下错误为:
[INFO ] starting Xvnc session...
[ERROR] X server for display 10 startup timeout[INFO ] starting xrdp-sessvc - xpid=2924 - wmpid=2923
[ERROR] X server for display 10 startup timeout
[ERROR] another Xserver is already active on display 10
[DEBUG] aborting connection...
如果你的log也有类似 X server for display 10 startup timeout和another Xserver
is already active on display 10
问题根源在于tightvnc,出现问题的版本跟X字体有冲突,导致连接Xserver出错。
解决方法:
apt-get purge tightvnc xrdp
apt-get install tightvncserver xrdp
最后:
启动xrdp服务,sudo /etc/init.d/xrdp restart,此时会启用相应端口,配置方面默认即可。
通过命令:netstat -tnl
查看 3350 3389 5910 这三个端口处于LISTEN,一般就没问题了。
dpkg -L +软件包的名字,可以知道这个软件包包含了哪些文件.
参考:http://www.xuebuyuan.com/1791546.html
在这里,我将介绍XRDP的安装配置方法。我们可以很方便的通过windows远程桌面 linux。
xrdp安装配置方法
打开终端:依次安装sudo apt-get install xrdp
sudo apt-get install vnc4server tightvncserver
重启 xrdp
sudo /etc/init.d/xrdp restart
运行Windows的mstsc
输入要登录的账号和密码即可。
遇到的错误
1,xrdp 访问 ubuntu 只看到背景,看不到菜单栏的解决办法 方法:安装gnome-panel
sudo apt-get install gnome-panel
2,出现错误:
connecting to sesman ip 127.0.0.1 port 3350
sesman connect ok
sending login info to sesman
login successful for display 14
started connecting
connecting to 127.0.0.1 5914
error - problem connecting
xrdp-sesman.log下错误为:
[INFO ] starting Xvnc session...
[ERROR] X server for display 10 startup timeout[INFO ] starting xrdp-sessvc - xpid=2924 - wmpid=2923
[ERROR] X server for display 10 startup timeout
[ERROR] another Xserver is already active on display 10
[DEBUG] aborting connection...
如果你的log也有类似 X server for display 10 startup timeout和another Xserver
is already active on display 10
问题根源在于tightvnc,出现问题的版本跟X字体有冲突,导致连接Xserver出错。
解决方法:
apt-get purge tightvnc xrdp
apt-get install tightvncserver xrdp
最后:
启动xrdp服务,sudo /etc/init.d/xrdp restart,此时会启用相应端口,配置方面默认即可。
通过命令:netstat -tnl
查看 3350 3389 5910 这三个端口处于LISTEN,一般就没问题了。
dpkg -L +软件包的名字,可以知道这个软件包包含了哪些文件.
参考:http://www.xuebuyuan.com/1791546.html
相关文章推荐
- 使用cygwin X server实现Linux远程桌面 (for windows)
- 使用xrdp实现Windows 远程桌面 Ubuntu Linux
- 使用xrdp实现Windows 远程桌面 Ubuntu Linux
- 使用xrdp实现windows 远程桌面 ubuntu linux
- 使用xrdp实现windows 远程桌面 ubuntu linux
- 使用xrdp实现windows 远程桌面 ubuntu linux
- Windows系统给树莓派装系统之Raspbian系统(无外接设备,如屏幕、鼠标、键盘)并使用ssh、vnc和xrdp(远程桌面)以及固件更新
- 23 使用 cygwin X server实现Linux远程桌面 (for windows)
- 使用xrdp实现windows 远程桌面 ubuntu linux
- 使用cygwin X server实现Linux远程桌面 (for windows)
- 使用xrdp+vnc实现windows图形化远程Ubuntu桌面(支持多用户模式)
- windows远程桌面访问Linux系统 (XRDP+VNC )
- centos7 通过kvm+vnc 实现远程桌面虚拟化和创建windows、Linux虚拟机
- 用vnc实现windows远程连接linux桌面
- 用windows远程连接linux桌面(使用tightvnc或者tigervnc)
- 树莓派个人实测 Q&A(最新修改使用windows连接远程桌面)
- 用vnc实现windows远程连接linux桌面
- [原创] 树莓派个人实测 Q&A(最新修改使用windows连接远程桌面)
- windows下使用vnc viewer远程连接Linux桌面
- windows下使用vnc viewer远程连接Linux桌面(转)