Friday, May 3, 2024
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 3553  / 2 Years ago, mon, october 17, 2022, 6:55:58

I deduce from the kvm howtos that this should actually work with sdl and a framebuffer, but I can't get it going.
Doing kvm -cdrom tinycore-current.iso with normal user account on a virtual terminal gives:




kvm: pci_add_option_rom: failed to find romfile "pxe-rtl8139.bin"
init kbd.
init mouse failed.
Could not initialize SDL(Unable to open mouse) - exiting


While it works flawlessly under X.



Running it with sudo prepended crashes display and keyboard.



So what can I do?


More From » virtualization

 Answers
4

As the error message states, SDL cannot access the mouse. If this error doesn't show as root (using sudo), this is probably a permissions problem. You should check the permissions of /dev/input/mice.



It is likely that once the mouse problem is fixed it will show the same behaviour as when run using sudo. It might not be worth the trouble to try getting it running with framebuffer. Without knowing the details I'd say using X might a better solution.


[#43301] Tuesday, October 18, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
inglehare

Total Points: 330
Total Questions: 111
Total Answers: 95

Location: Sint Maarten
Member since Tue, Mar 29, 2022
2 Years ago
;