Ubuntu系统远程桌面

背景:
aarch64(arm64)系统,ubuntu 18.04,需在 Windows 远程连接系统桌面。

使用华为源:

1
2
sudo wget -O /etc/apt/sources.list https://repo.huaweicloud.com/repository/conf/Ubuntu-Ports-bionic.list
sudo apt-get update

安装命令

1
2
sudo apt-get install xrdp
sudo apt-get install vnc4server

安装桌面:

1
sudo apt-get install xubuntu-desktop

过程需选择默认桌面,选gdm3(另一为lightdm)。

注:最后提示:

1
2
3
4
5
6
Warning: couldn't identify filesystem type for fsck hook, ignoring.
I: The initramfs will attempt to resume from /dev/zram7
I: (UUID=c88002d8-584d-4dba-a78b-3177ebcdb5c0)
I: Set the RESUME variable to override this.
/sbin/ldconfig.real: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf.d/aarch64-linux-gnu_EGL.conf: No such file or directory
/sbin/ldconfig.real: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf.d/aarch64-linux-gnu_GL.conf: No such file or directory

1
2
echo "xfce4-session" >~/.xsession
sudo service xrdp restart # 启动xrdp服务

windows连接

使用远程桌面连接,输入IP地址,点击“选项”,输入用户。等待连接成功。

  • 本文作者:李迟
  • 版权声明:原创文章,版权归署名作者,转载建议注明出处(当然不注明亦可)。
  • 本文链接:/pkc/ubuntu-vnc.html