← 返回命令列表

Linux command

remote-viewer 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Connect to a SPICE server

remote-viewer spice://[host]:[port]

Connect to a VNC server

remote-viewer vnc://[host]:[port]

View a remote desktop using a virt-viewer file

remote-viewer [path/to/connection.vv]

Connect in fullscreen mode

remote-viewer -f spice://[host]:[port]

Connect with a custom window title

remote-viewer -t "[My VM]" spice://[host]:[port]

Connect with a specific zoom level

remote-viewer -z [150] spice://[host]:[port]

说明

remote-viewer is a simple remote display client that supports SPICE and VNC protocols. It can connect to remote virtual machines or physical systems displaying their graphical output. Connection parameters can be specified via URI on the command line or through a virt-viewer configuration file. The configuration file supports additional parameters like host, port, TLS settings, username, and password.

参数

-f, --full-screen
Start in fullscreen mode.
-t _TITLE_, --title _TITLE_
Set the window title.
-z _PCT_, --zoom= _PCT_
Zoom level of the display window in percentage.
-v, --verbose
Display information about the connection.
--spice-controller
Use the SPICE controller to initialize the connection.
-h, --help
Display help.
-V, --version
Display version number.

FAQ

What is the remote-viewer command used for?

remote-viewer is a simple remote display client that supports SPICE and VNC protocols. It can connect to remote virtual machines or physical systems displaying their graphical output. Connection parameters can be specified via URI on the command line or through a virt-viewer configuration file. The configuration file supports additional parameters like host, port, TLS settings, username, and password.

How do I run a basic remote-viewer example?

Run `remote-viewer spice://[host]:[port]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -f, --full-screen do in remote-viewer?

Start in fullscreen mode.