Ubuntu18/armhf/ARM/VNC

1. sudo apt-get update
2. xfce4 xvfb
xfce4 xvfb
######################### slim is NOT compatible with systemd now
lake@localhost:~$ sudo apt install -y xfce4
sudo apt-get install -y xvfb
lake@localhost:~$ sudo apt-get install -y xvfb
3. VNC X11 Server
################ install vnc server
lake@localhost:~$ sudo apt-get install -y x11vnc
4. allowed_users/X11
lake@localhost:~$ cat /etc/X11/Xwrapper.config
# Xwrapper.config (Debian X Window System server wrapper configuration file)
#
# This file was generated by the post-installation script of the
# xserver-xorg-legacy package using values from the debconf database.
#
# See the Xwrapper.config(5) manual page for more information.
#
# This file is automatically updated on upgrades of the xserver-xorg-legacy
# package *only* if it has not been modified since the last upgrade of that
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command as root:
# dpkg-reconfigure xserver-xorg-legacy
allowed_users=anybody
lake@localhost:~$
5. start Xvfb wiht xfce local
############# start X11
lake@localhost:~$export DISPLAY=:1
lake@localhost:~$Xvfb $DISPLAY -screen 0 800x600x24 &
ps -elf |grep Xvfb
0 S lake 520 355 2 80 0 - 42050 ? 12:47 pts/0 00:00:00 Xvfb :1 -screen 0 800x600x24
0 R lake 532 355 0 80 0 - 1176 - 12:47 pts/0 00:00:00 ps -elf
lake@localhost:~$ startxfce4 &
lake@localhost:~$ bg
[2]+ startxfce4 &
lake@localhost:~$ jobs
[1]- Running &nbs

本文详细介绍了如何在Ubuntu18上安装和配置VNC服务器,包括更新软件包、安装XFCE4和Xvfb、启动X11VNC服务、设置允许任何用户访问X11、启动Xvfb和XFCE4会话、检查网络连接状态以及从Windows10使用VNC查看器进行远程连接的过程。
最低0.47元/天 解锁文章

被折叠的 条评论
为什么被折叠?



