Linux Ubuntu怎么设置打开远程桌面登录连接(linux怎么开启远程桌面)

Linux Ubuntu怎么设置打开远程桌面登录连接(linux怎么开启远程桌面)

首页维修大全综合更新时间:2025-05-08 13:10:50

Linux Ubuntu怎么设置打开远程桌面登录连接

因为14.04系统本身默认为3Dgonome要装2D桌面程序支持,本文以MATE为例说明

  方法/步骤

  1

  InstallMATE1.8desktopinUbuntu14.04

  TypeinthefollowingcommandsthenhitEnteraftereach.

  sudoadd-apt-repository"debcs)main"----------添加源地址

  可以看/etc/apt/source.list里面有新添加的,或者查看日期

  wget-q

  sudoapt-keyadd-

  sudoapt-getupdate

  文件大概230M左右,以为我版本为例:

  sudoapt-getinstallmate-coremate-desktop-environmentmate-notification-daemon

  Ubuntu12.04中启用xdmcp你只需运行命令sudovi/etc/lightdm/lightdm.conf,并在lightdm.conf文件末尾添加下述内容即可:

  [XDMCPServer]

  enabled=true

  让root用户也能远程登录,你还得执行下述操作:

  给root用户设置一个密码,激活root用户。在终端中执行:

  sudopasswdroot

  输入当前用户密码,然后输入你要给root用户设置的密码。

  运行命令sudovi/etc/lightdm/lightdm.conf,在文件末尾添加:

  greeter-show-manual-login=true

  14.04中的话:

  sudovi/usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf

  greeter-show-manual-login=true

  加入这行,并重启就行了。

  XdmcpServer经过上面的设置后,就可以正常连接了。

  Ok了,转载,仅供参考。

大家还看了
也许喜欢
更多栏目

© 2021 3dmxku.com,All Rights Reserved.