View previous topic :: View next topic |
Author |
Message |
Stryder0 n00b
Joined: 02 Jul 2017 Posts: 8
|
Posted: Mon Jul 03, 2017 12:19 am Post subject: virt-manager - where is the tool and the gui? |
|
|
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 |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9679 Location: almost Mile High in the USA
|
Posted: Mon Jul 03, 2017 12:32 am Post subject: |
|
|
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 |
|
|
rob_dot_p n00b
Joined: 28 Jan 2017 Posts: 30
|
Posted: Mon Jul 03, 2017 12:49 am Post subject: |
|
|
Just gave it a try.
Seems to segfault |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9679 Location: almost Mile High in the USA
|
Posted: Mon Jul 03, 2017 12:55 am Post subject: |
|
|
Post errors?
Libvirt is running? _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
rob_dot_p n00b
Joined: 28 Jan 2017 Posts: 30
|
Posted: Mon Jul 03, 2017 1:02 am Post subject: |
|
|
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 |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9679 Location: almost Mile High in the USA
|
Posted: Mon Jul 03, 2017 1:11 am Post subject: |
|
|
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 |
|
|
Stryder0 n00b
Joined: 02 Jul 2017 Posts: 8
|
Posted: Mon Jul 03, 2017 1:12 am Post subject: |
|
|
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 |
|
|
rob_dot_p n00b
Joined: 28 Jan 2017 Posts: 30
|
Posted: Mon Jul 03, 2017 1:17 am Post subject: |
|
|
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 |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54237 Location: 56N 3W
|
Posted: Mon Jul 03, 2017 12:26 pm Post subject: |
|
|
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 |
|
|
Stryder0 n00b
Joined: 02 Jul 2017 Posts: 8
|
Posted: Tue Jul 04, 2017 1:35 am Post subject: |
|
|
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 |
|
|
|