• Debain12 安装 realVNC


     使用 xface  UI界面 ,其他界面还没验证 

    1.打开终端 进入超级管理员权限 给当前账号添加sudo权限

    1. su - root
    2. usermod -aG sudo 当前用户名

    2.切换国内阿里源 (不教你备份了,需要备份的把当前的这个拷贝一份)

    sudo nano /etc/apt/sources.list

    新出现的黑框里面如果有东西,前面加个#表示注释掉

    换行 输入

    1. deb https://mirrors.aliyun.com/debian/ bookworm main non-free non-free-firmware contrib
    2. deb-src https://mirrors.aliyun.com/debian/ bookworm main non-free non-free-firmware contrib
    3. deb https://mirrors.aliyun.com/debian-security/ bookworm-security main
    4. deb-src https://mirrors.aliyun.com/debian-security/ bookworm-security main
    5. deb https://mirrors.aliyun.com/debian/ bookworm-updates main non-free non-free-firmware contrib
    6. deb-src https://mirrors.aliyun.com/debian/ bookworm-updates main non-free non-free-firmware contrib
    7. deb https://mirrors.aliyun.com/debian/ bookworm-backports main non-free non-free-firmware contrib
    8. deb-src https://mirrors.aliyun.com/debian/ bookworm-backports main non-free non-free-firmware contrib

    保存并退出 Ctrl+O 回车 Ctrl +X

    重启操作系统让sodu 生效

    打开终端更新源

    sudo apt update

    使用以下命令进入超级管理员权限,如果没有第一步将无法识别这个命令

    sudo -i

    下载realVNC的服务端

    wget https://downloads.realvnc.com/download/file/vnc.files/VNC-Server-6.11.0-Linux-x64.deb

    更改文件权限 

    sudo chmod -R 777 VNC-Server-6.11.0-Linux-x64.deb

    安装软件

    dpkg -i VNC-Server-6.11.0-Linux-x64.deb

    添加 license 

    vnclicense -add 3TH6P-DV5AE-BLHY6-PNENS-B3AQA

     启动 vnc服务

    sudo systemctl daemon-reload
    sudo systemctl enable vncserver-x11-serviced.service
    sudo systemctl start vncserver-x11-serviced.service

    vnc界面将会启动

    修改静态ip地址 。。。。

    参考1

    参考2

    debain 12 源

    deb下载地址

  • 相关阅读:
    【linux问题记录】
    Qt样式表应用
    [python 刷题] 238 Product of Array Except Self
    SSM项目整合Redis
    图像傅里叶变换
    PCB入门介绍与电阻电容电感类元件的创建
    搭建RabbitMQ消息服务,整合SpringBoot实现收发消息
    浅谈ThreadLocal
    《TCP/IP网络编程》阅读笔记--基于Windows实现Hello Word服务器端和客户端
    04条件构造器和常用接口
  • 原文地址:https://blog.csdn.net/douzi949389/article/details/132723687