LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 06-29-2017, 12:03 PM   #1
shivaga2
LQ Newbie
 
Registered: Jun 2017
Posts: 4

Rep: Reputation: Disabled
virt-manager 13354 Cannot open display error


I want to run the KVM virt-manager to deploy the VM's in dell server.First I install the Centos 7 on my dell server after that installed required packages then when I try to open virt-manager console from cli I am getting the following error

virt-manager 13354 Cannot open display
 
Old 06-29-2017, 02:29 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,757

Rep: Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983
Quote:
Originally Posted by shivaga2 View Post
I want to run the KVM virt-manager to deploy the VM's in dell server.First I install the Centos 7 on my dell server after that installed required packages then when I try to open virt-manager console from cli I am getting the following error

virt-manager 13354 Cannot open display
Please read the "Question Guidelines" link in my posting signature. Doing basic research first is a good thing before posting; your error is most likely caused by either not SSH'ing with the "-x" flag (for X forwarding), or you have X forwarding disabled in your sshd_config file. Make sure its set to
Code:
"X11Forwarding Yes"
..in that file.
 
Old 06-29-2017, 04:26 PM   #3
shivaga2
LQ Newbie
 
Registered: Jun 2017
Posts: 4

Original Poster
Rep: Reputation: Disabled
I already set the x11 forwarding as yes.Could you please help me out on this.

Last edited by shivaga2; 06-29-2017 at 04:28 PM.
 
Old 06-30-2017, 08:36 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,757

Rep: Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983
Quote:
Originally Posted by shivaga2 View Post
I already set the x11 forwarding as yes.Could you please help me out on this.
Again, did you start your ssh session with the -x flag???
 
Old 07-04-2017, 11:09 AM   #5
shivaga2
LQ Newbie
 
Registered: Jun 2017
Posts: 4

Original Poster
Rep: Reputation: Disabled
Hi,

what is the x flag here?.I start the Regular ssh session.Could you please explain me briefly
 
Old 07-04-2017, 12:09 PM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,757

Rep: Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983
Quote:
Originally Posted by shivaga2 View Post
Hi,
what is the x flag here?.I start the Regular ssh session.Could you please explain me briefly
I did explain it before; read the man page on SSH, and as suggested before, read the "Question Guidelines" link in my posting signature, and do basic research first, before posting.

As said, "your error is most likely caused by either not SSH'ing with the "-x" flag (for X forwarding)". So "ssh -x"
 
Old 07-04-2017, 12:12 PM   #7
shivaga2
LQ Newbie
 
Registered: Jun 2017
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thanks for your help
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Virt-manager error :Error connecting to graphical console: could not get a reference to type class BKChicago Linux - Newbie 1 11-10-2016 07:43 PM
Missing images in virt-manager GUI display fanoflq Linux - Virtualization and Cloud 12 09-26-2016 03:09 AM
RHEL6.1 virt-manager error rhel5 Linux - Virtualization and Cloud 11 08-04-2011 03:25 PM
LXer: Hacking libvirt/virsh/virt-manager/virt-install at Xen 4.0 Dom0 on top of Ubunt LXer Syndicated Linux News 0 05-06-2010 02:50 PM
LXer: Virt-install&Virt-manager at Xen 4.0-rc8 (2.6.32.10 pvops) Dom0 on top Ubuntu K LXer Syndicated Linux News 0 03-26-2010 09:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS

All times are GMT -5. The time now is 08:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration