first commit

This commit is contained in:
zj
2025-12-28 15:15:19 +08:00
commit 42d43f7342
606 changed files with 14592 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
#!/bin/bash
# 等待桌面环境完全加载 (可选,但有时有帮助)
sleep 5
mkdir -p $HOME/.vnc/
touch $HOME/.vnc/x11vnc.log
# 启动 x11vnc 服务器
# 注意:-display :0 假设您登录的是第一个X显示器
# -rfbport 5900 是默认端口,可以省略,但明确指定更好
#x11vnc -wait 50 -noxdamage -passwd PASSWORD -display :0 -forever -o /var/log/x11vnc.log -bg
exec x11vnc -wait 50 -noxdamage -passwd "123456" -display :0 -forever -o "$HOME/.vnc/x11vnc.log" -bg -rfbport 5900