Ask Your Question

How to create a virtual machine with Boxes

asked 2016-04-21 07:45:01 -0500

jaaf64 gravatar image

I am trying to create a virtual installation with Boxes. I am running a fresh iand updtated nstall of F23 Workstation. I have tried with various ISOs Fedora, Ubuntu, debian and each time the same things happens. When I want to create the machine, the Boxes windows vanishes in the air. If I restart it, there is an icon for the new machine, but whent I launch it, my hard disk seems to accelerate as if it was a plane on the verge of taking off, but nothing happens. The windows remains desperately black. Can somebody tell me whether Boxes works or not? Thank

edit retag flag offensive close merge delete


It does work, I use it frequently. Click New. Sometimes it discovers ISOs in ~/Downloads automatically, sometimes I have to go navigate to the ISO. Then click Create. The window gets a bit bigger and it's a boot menu for the install media. Boots normally.

Try 'sudo journalctl -f' in Terminal, then launch Boxes and try again. Stop journal following when the problem/unexpected behavior happens, copy-paste the journal contents into a text file, and then fpaste it.

fpaste ~/filename.txt

And post the URL. fpasting this will be easier to read.

cmurf gravatar imagecmurf ( 2016-04-21 11:17:05 -0500 )edit

See if there is any helpful information here

What is/how old is your hardware? If you use KVM you need a CPU with virtualization extensions. Check it by running egrep '^flags.*(vmx|svm)' /proc/cpuinfo. Any output from this command?

Also, there is a Guide on how to debug Virtualization Problems. Maybe that is helpful.

florian gravatar imageflorian ( 2016-04-21 16:10:06 -0500 )edit

avril 22 06:34:13 jaaf-pc.home libvirtd[3052]: failed to close device handle 'graphicsfd' avril 22 06:34:13 jaaf-pc.home org.gnome.Boxes[2054]: (gnome-boxes:3026): Boxes-CRITICAL *: libvirt-machine.vala:87: Failed to open graphics for ubuntu-gnome-15: Unable to open graphics: Unable to read from monitor: Connection reset by peer*

avril 22 06:34:15 jaaf-pc.home kernel: gnome-boxes[3026]: segfault at 7fff3a70bf1c ip 00007f517e16a92e sp 00007fff3a70be50 error 6 in[7f517e11f000+1b7000]

Gnome Boxes is crashing for some reason. Could you please open the ABRT (bug reporting tool) and check what it says. Is your system up to date?

florian gravatar imageflorian ( 2016-04-22 01:29:05 -0500 )edit

Abrt tells me --- Running report_uReport --- Un bogue concernant ce problème a déjà été enregistré : Bugzilla: URL= My system was not up to date. Now it is but no changes.

jaaf64 gravatar imagejaaf64 ( 2016-04-22 06:18:32 -0500 )edit

So, as @cmurf said, it does work, unless you are affected by a bug. I don't know any workaround for this, sorry. I would subscribe to this bug, and also to the potential duplicate to receive email updates when there is something new to it.

Maybe, until they get it fixed, you can try virt-manager (or VirtualBox, which works just fine but is not as free as Fedora is supposed to be..)

florian gravatar imageflorian ( 2016-04-22 08:52:30 -0500 )edit

1 Answer

Sort by » oldest newest most voted

answered 2016-04-22 00:26:16 -0500

jaaf64 gravatar image

Thank you cmurf and florian for your attention and help.

@cmurf . you say it works and I believe you. But probably, your install is not a fresh one. On a fresh install, it doesn't, believe me please. Here is the journal you asked in such a case:

In fact, I made some research and arrived on the page Florian is speaking of before reading his answer. I just verified with the egrep command my hardware was capable and then I ran:

su -c 'dnf install @virtualization'

I tried again but it didn't work; it was yesterday night. This morning, reading you answers I tried again and it worked. Whaoo!

Then I decided to retry with an other fresh install again and it didn't work one more time.

After that I redid the installation of @virtualization but it still didn''t work. I tried to stop and restart the libvirtd daemon but nothing changed. I restarted the computer but it had no effect. In fact, I only get it working on the first install by chance. I would be glad to understand what is happening.

edit flag offensive delete link more

Question Tools


Asked: 2016-04-21 07:45:01 -0500

Seen: 679 times

Last updated: Apr 22 '16