加入收藏 | 设为首页 | 会员中心 | 我要投稿 台州站长网 (https://www.0576zz.cn/)- 边缘计算、中间件、数据处理、数据分析、智能存储!
当前位置: 首页 > 综合聚焦 > Ubuntu > 正文

配置Xmanager连接Ubuntu 14.04远程桌面

发布时间:2020-09-02 00:40:11 所属栏目:Ubuntu 来源:互联网
导读: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连接

(编辑:台州站长网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读