i am extremely sorry to bug you again with these stories, but i think tried EVERYTHING, i should mention this is not a fresh install, i used bochs everyday for a while and now suddenly it says it no more can connect to x server, this is the output message:
Event type: PANIC
Device: [XGUI ]
Message: bochs: cannot connect to X server :0.0
I had already ran to this problem before, I think i had solved it by installing bochs-x, this time bochs-x is already there (newsest version).
PS: QEMU stopped working today too! here are its errors:
(*) DirectFB/Core: Single Application Core. (2008-08-18 12:36)
(!) Direct/Util: opening '/dev/fb0' and '/dev/fb/0' failed
--> No such file or directory
(!) DirectFB/FBDev: Error opening framebuffer device!
(!) DirectFB/FBDev: Use 'fbdev' option or set FRAMEBUFFER environment variable.
(!) DirectFB/Core: Could not initialize 'system' core!
--> Initialization error!
Could not initialize SDL - exiting
thanks in advance.
Bochs PANIC, cannot connect to X server.
- gzaloprgm
- Member
- Posts: 141
- Joined: Sun Sep 23, 2007 4:53 pm
- Location: Buenos Aires, Argentina
- Contact:
Re: Bochs PANIC, cannot connect to X server.
You might try installing bochs-sdl and setting in bochsrc.txt to use sdl instead of x extension.
Did you try running qemu as root?
Cheers,
Gonzalo
Did you try running qemu as root?
Cheers,
Gonzalo
Visit https://gzalo.com : my web site with electronic circuits, articles, schematics, pcb, calculators, and other things related to electronics.
Re: Bochs PANIC, cannot connect to X server.
I have now installed the bochs-sdl package but there doesn't seem to exist any documentation as to how to set bochs to use SDL instead of direct X connection.
For what concerns Qemu, i ran it several times as root before and now, no change, the problem persists,
I still believe the disfunctionning of the two programs (bochs and qemu) in the same day might have things to do with one another.
any ideas?
For what concerns Qemu, i ran it several times as root before and now, no change, the problem persists,
I still believe the disfunctionning of the two programs (bochs and qemu) in the same day might have things to do with one another.
any ideas?
- gzaloprgm
- Member
- Posts: 141
- Joined: Sun Sep 23, 2007 4:53 pm
- Location: Buenos Aires, Argentina
- Contact:
Re: Bochs PANIC, cannot connect to X server.
http://bochs.sourceforge.net/doc/docboo ... chsrc.htmlI have now installed the bochs-sdl package but there doesn't seem to exist any documentation as to how to set bochs to use SDL instead of direct X connection.
display_library: sdl4.2.13. display_library
The display library is the code that displays the Bochs VGA screen. Bochs has a selection of about 10 different display library implementations for different platforms. If you run configure with multiple --with-* options, the display_library option lets you choose which one you want to run with. If you do not use a display_library line, Bochs will choose a default for you.
Examples:
Cheers,
Gonzalo
Visit https://gzalo.com : my web site with electronic circuits, articles, schematics, pcb, calculators, and other things related to electronics.
Re: Bochs PANIC, cannot connect to X server.
Thank you Gonzalo so much, it works perfectly now
Re: Bochs PANIC, cannot connect to X server.
I am sorry for the double post but a few weeks later, i am still having the same conf but both bochs and qemu broke again, same érror, complains about non existent framebuffer device and impossible sdl initialisation, i am clueless and all my work has stopped because of this, .. :s
- Combuster
- Member
- Posts: 9301
- Joined: Wed Oct 18, 2006 3:45 am
- Libera.chat IRC: [com]buster
- Location: On the balcony, where I can actually keep 1½m distance
- Contact:
Re: Bochs PANIC, cannot connect to X server.
I have the idea an update broke something. If its DirectFB that got updated then you need to update *all* dependencies as well. My distro has tools to check for that kind of breakage, but I don't know how your package manager does those things
Re: Bochs PANIC, cannot connect to X server.
he solved it. the problem was running x as non-root and bochs/qemu as root.
-
- Posts: 6
- Joined: Wed Jun 01, 2011 1:35 pm
Re: Bochs PANIC, cannot connect to X server.
Many thanks gonzalo!
I'was with a similar problem and with you posts I managed to solve it changing the display_library to sdl!
I'was with a similar problem and with you posts I managed to solve it changing the display_library to sdl!