Show Table of Contents
21.14. グラフィカル表示に接続するための URI を表示
virsh domdisplay コマンドを実行すると、VNC、SPICE、または RDP 経由でゲスト仮想マシンのグラフィカル表示に接続するために使用される URI が出力されます。--type オプションを使用すると、ディスプレイタイプが指定できます。引数 --include-password を使用すると、SPICE チャネルのパスワードが URI に組み込まれます。
例21.36 SPICE の URI を表示する方法
以下の例では SPICE 用の URI が表示されます。これは 仮想マシン guest1 が使用しているグラフィカルディスプレイです。
# virsh domdisplay --type spice guest1
spice://192.0.2.1:5900
接続 URI に関する詳細は、the libvirt upstream pages を参照してください。

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.