Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
virt-manager - where is the tool and the gui?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Stryder0
n00b
n00b


Joined: 02 Jul 2017
Posts: 8

PostPosted: Mon Jul 03, 2017 12:19 am    Post subject: virt-manager - where is the tool and the gui? Reply with quote

I am trying to create qemu/kvm virtual machines on Gentoo. I want to use the virt-manager GUI to do so.

emerge -s virt-manager outputs -

Code:
*  app-emulation/virt-manager
      Latest version available: 1.4.0-r3
      Latest version installed: 1.4.0-r3
      Size of files: 2,606 KiB
      Homepage:      http://virt-manager.org
      Description:   A graphical tool for administering virtual machines
      License:       GPL-2


Seeing the description, and the name being exactly the tool others are doing, I expected this to be the GUI I needed. But after installing, there is no command or tool called virt-manager at all. Both running virt-manager and sudo virt-manager in the console returned command not found. Also, i3-dmenu did not show any tools called virt-manager. It did seem to install some non-graphical tools. How do I get the virt-manager graphical tool running on gentoo?
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9679
Location: almost Mile High in the USA

PostPosted: Mon Jul 03, 2017 12:32 am    Post subject: Reply with quote

What are your use flags for virt-manager? Might have to use gtk?
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
rob_dot_p
n00b
n00b


Joined: 28 Jan 2017
Posts: 30

PostPosted: Mon Jul 03, 2017 12:49 am    Post subject: Reply with quote

Just gave it a try.
Seems to segfault
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9679
Location: almost Mile High in the USA

PostPosted: Mon Jul 03, 2017 12:55 am    Post subject: Reply with quote

Post errors?
Libvirt is running?
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
rob_dot_p
n00b
n00b


Joined: 28 Jan 2017
Posts: 30

PostPosted: Mon Jul 03, 2017 1:02 am    Post subject: Reply with quote

eccerr0r wrote:
Post errors?
Libvirt is running?


I don't want to derail the thread since OP could have a different problem, just saying, didn't work for me either, there could be something wrong with the package.

Stryder0, could you use dev-util/strace and also take a look at your logs?
It dies silently on my system without complaints but syslog and strace reveal a segmentation fault.
Code:
 [   81.511880] python2.7[2739]: segfault at 18 ip 000003bfc5627749 sp 000003f3251e9610 error 4 in libpython2.7.so.1.0[3bfc55db000+1a6000]
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9679
Location: almost Mile High in the USA

PostPosted: Mon Jul 03, 2017 1:11 am    Post subject: Reply with quote

yes you probably have different problems than the OP (no virt-manager executable shows up!), and likely should have started your own thread. In any case I'd look at your compilation flags or hardware issues as I would not expect python libraries to segfault.
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
Stryder0
n00b
n00b


Joined: 02 Jul 2017
Posts: 8

PostPosted: Mon Jul 03, 2017 1:12 am    Post subject: Reply with quote

Yeah it was because forgot to add GTK as a use flag - or rather i think i might have added it to the wrong package accidentally.
Back to top
View user's profile Send private message
rob_dot_p
n00b
n00b


Joined: 28 Jan 2017
Posts: 30

PostPosted: Mon Jul 03, 2017 1:17 am    Post subject: Reply with quote

eccerr0r wrote:
yes you probably have different problems than the OP (no virt-manager executable shows up!)

Can confirm this as well.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54237
Location: 56N 3W

PostPosted: Mon Jul 03, 2017 12:26 pm    Post subject: Reply with quote

Code:
virt-manager
in a shell runs the GUI.

Code:
app-emulation/virt-manager-1.4.1::gentoo_static  USE="gtk -gnome-keyring (-policykit) -sasl" PYTHON_TARGETS="python2_7"

The GUI looks like it may be optional.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Stryder0
n00b
n00b


Joined: 02 Jul 2017
Posts: 8

PostPosted: Tue Jul 04, 2017 1:35 am    Post subject: Reply with quote

Yes, the GUI is optional. You need USE=gtk in order for the virt-manager tool to even install from the virt-manager package. The original problem was that the command virt-manger returned "command not found" because I had not had gtk as a use flag. After adding it and reinstalling virt-manger it fixed it.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum