xfce4/X11 on Ubuntu18/armhf/ARM 通过 VNC

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

 

Ubuntu18/armhf/ARM/VNC 

 

 

xfce4/armv7/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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值