Debain12 安装 realVNC

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

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

su - root
usermod -aG sudo  当前用户名

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

sudo nano /etc/apt/sources.list

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

换行 输入

deb https://mirrors.aliyun.com/debian/ bookworm main non-free non-free-firmware contrib 
deb-src https://mirrors.aliyun.com/debian/ bookworm main non-free non-free-firmware contrib
deb https://mirrors.aliyun.com/debian-security/ bookworm-security main
deb-src https://mirrors.aliyun.com/debian-security/ bookworm-security main
deb https://mirrors.aliyun.com/debian/ bookworm-updates main non-free non-free-firmware contrib
deb-src https://mirrors.aliyun.com/debian/ bookworm-updates main non-free non-free-firmware contrib
deb https://mirrors.aliyun.com/debian/ bookworm-backports main non-free non-free-firmware contrib
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下载地址

  • 2
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值