Search

20.14. Displaying a URI for Connection to a Graphical Display

download PDF
Running the virsh domdisplay command will output a URI that can then be used to connect to the graphical display of the guest virtual machine via VNC, SPICE, or RDP. The optional --type can be used to specify the graphical display type. If the argument --include-password is used, the SPICE channel password will be included in the URI.

Example 20.36. How to display the URI for SPICE

The following example displays the URI for SPICE, which is the graphical display that the virtual machine guest1 is using:
# virsh domdisplay --type spice guest1
spice://192.0.2.1:5900
For more information about connection URIs, see the libvirt upstream pages.
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.