Linux command
x0vncserver 命令
文件
复制后可按需替换文件名、目录或参数。
常用示例
Example
x0vncserver -display :0 -passwordfile [path/to/file]
Example
x0vncserver -display :0 -rfbport [port]
说明
x0vncserver is a TigerVNC server that shares an existing X display over VNC. Unlike vncserver which creates a new virtual display, x0vncserver shares the physical display. This allows remote access to the actual screen being displayed on the monitor.
参数
- -display _DISPLAY_
- X display to share
- -passwordfile _FILE_
- Password file for authentication
- -rfbport _PORT_
- VNC port to listen on
- -SecurityTypes _TYPES_
- Comma-separated list of accepted security types (e.g. `VncAuth,Plain`).
- -Geometry _WxH+X+Y_
- Limit the shared region to a subrectangle of the display.
- -Log _DEST:LEVEL_
- Configure logging (e.g. `stderr:100`, `*:stderr:30`).
- -SendCutText / -AcceptCutText
- Enable/disable clipboard forwarding between server and client.
- -QueryConnect
- Prompt the local user before accepting each incoming connection.
FAQ
What is the x0vncserver command used for?
x0vncserver is a TigerVNC server that shares an existing X display over VNC. Unlike vncserver which creates a new virtual display, x0vncserver shares the physical display. This allows remote access to the actual screen being displayed on the monitor.
How do I run a basic x0vncserver example?
Run `x0vncserver -display :0 -passwordfile [path/to/file]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -display _DISPLAY_ do in x0vncserver?
X display to share