Xshell Virt-manager "runtimeerror:could not open display"

Source: Internet
Author: User

Using Xshell to connect to a Linux host, using the Virt-manager command to invoke the KVM management interface, the results

[Email protected] ~]# Virt-manager Traceback (most recent call last): File "/usr/share/virt-manager/virt-manager.py", Li NE 383, in <module> Main () File "/usr/share/virt-manager/virt-manager.py", line 286, in main raise Gtk_errorr Untimeerror:could not open Display


Using the Xclock command, the result

[Email protected] ~]# xclock error:can ' t open display:172.24.79.74:0.0


How to solve? As follows

First step: In the Xshell interface, use the shortcut key ALT + P; then select tunneling; then tick ForWord X11 connections to, tick Xmanager

The second step: in the Xmanager folder, open the "xmanager-passive" This software, open can, God horse do not do

Step three: Run the command you want to run in Xshell


These methods take effect in my environment, not necessarily in your environment


Xshell Virt-manager "runtimeerror:could not open display"

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.