发布日期:2023-6-12 更新日期: 2023-6-12文章字数 0阅读时长:0分钟

type
Post
status
Published
date
Jun 12, 2023
slug
github-codespace
summary
通过命令行设置网页端的远程桌面
tags
工具
配置
category
技术分享
icon
password
URL
技术总结

软件安装与配置

sudo apt-get update sudo apt-get install xfce4 xfce4-goodies sudo apt install tigervnc-standalone-server tigervnc-common vncserver #设置登录密码 vncserver -kill :1 touch $HOME/.Xresources touch ~/.vnc/xstartup sudo chmod +x ~/.vnc/xstartup code ~/.vnc/xstartup ----------------------------- #!/bin/bash xrdb $HOME/.Xresources startxfce4 & ----------------------------- vncserver git clone https://github.com/novnc/noVNC.git cd noVNC/utils ./novnc_proxy --vnc localhost:5901
 
代码说明:
  1. 更新软件源,安装xfce4和vncserver
  1. 配置vncserver的密码并关闭server
  1. 创建.xresources文件,更新xstartup文件内容
  1. 重启vncserver
  1. 从github拉取noVnc代码,并执行命令启动vnc网页客户端
 
注意事项:
  • 使用github小号登录,注册日期为2023-05-25,需要定期使用,否则会被删除
 

如何写好一篇技术博客 如何写好一篇技术博客

如何写出一篇好的技术博客


学习使用Notion快捷键 学习使用Notion快捷键