knowledge_map/ubuntu 下vnc的使用.md
yewuya 5d69fbe3f2 Revert "文档更新"
This reverts commit 44e127967a4a94c927656daccd6216cc90aa9fb7.
2023-05-16 20:32:45 +08:00

46 lines
526 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# ubuntu 下vnc的使用
vnc安装
vnc更换桌面
vnc启动
```shell
vncserver -geometry 1920x1080
```
```sh
#!/bin/sh
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
startxfce4 &
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
```
vnc连接
* Mac
启动screensharing输入IP和端口号输入密码
* Windows
启动mobaxterm 找到vnc 输入IP和端口号输入密码
* Ubuntu
安装vnc viewer
*
*