首页 Ubuntu 配置Xmanager连接Ubuntu 14.04远程桌面

配置Xmanager连接Ubuntu 14.04远程桌面

Xmanager默认使用XDMCP协议连接远程桌面, 因此这里我们需要启用XDMCP协议. 1、安装 xubuntu-desktop 桌面环境 (1) 安装软件 $ sudo apt-get update$ sudo apt-get install xubuntu-desktop (2) 重启XDMCP 后台程序,应用桌面环境 16.0以上系统使用systemd

Xmanager默认使用XDMCP协议连接远程桌面,因此这里我们需要启用XDMCP协议.

1、安装 xubuntu-desktop 桌面环境

(1) 安装软件

$ sudo apt-get update
	$ sudo apt-get install xubuntu-desktop

(2) 重启XDMCP 后台程序,应用桌面环境

16.0以上系统使用systemd配置:

启动运行:

root #systemctl enable lightdm
···
  现在启动
···
root #systemctl start lightdm
  • 老系统:
$ sudo service lightdm restart

###2、 LightDM Configuration 因为需要轻量级的窗口,安装了 xubuntu,这是它的启动器,没有配置好,还需要到usr目录下配置,然后重启。

$ sudo vim /etc/lightdm/lightdm.conf.d/60-ubuntu.conf
系统在"/usr/share/lightdm/lightdm.conf.d/*.conf "提供原始的配置文件,但是不建议使用。要把文件复制到

“/etc/lightdm/lightdm.conf.d/*.conf”。

你可以在配置文件中设置隐藏用户列表、手动登录、自动登录。

[SeatDefaults]

[XDMCPServer]
enabled=true

3、 测试

$ sudo service lightdm restart

$ netstat -anp  |grep :177     #确保UDP的177端口启动成功(XDMCP使用UDP 177端口)
udp        0      0 0.0.0.0:177             0.0.0.0:*                           -               
udp6       0      0 :::177                  :::*

###4、重启XDMCP 服务 后台进程

$ sudo service lightdm restart

###5、在Xmanager建立一个任务

6、使用Xmanager连接

本文来自网络,不代表云浮站长网立场。转载请注明出处: https://www.0766zz.com/html/zhonghe/fwq/ubuntu/20200901/9313.html
上一篇
下一篇

作者: dawei

【声明】:云浮站长网内容转载自互联网,其相关言论仅代表作者个人观点绝非权威,不代表本站立场。如您发现内容存在版权问题,请提交相关链接至邮箱:bqsm@foxmail.com,我们将及时予以处理。

为您推荐

返回顶部