severity 604844 wishlist
retitle 604844 request saner default behavour when run as root and $DISPLAY is 
not accessible
tags 604844 + confirmed
thanks

24.11.2010 22:10, Hugo Mills wrote:
> Package: qemu-kvm
> Version: 0.12.5+dfsg-4
> Severity: important
> 
> 
>    When starting a VM with SDL video output, I end up with a black
> screen containing a (blinking) text-mode cursor in the top left
> corner. The kvm process dies immediately. It is impossible to
> console-switch to a text VT (Ctrl-Alt-F1), or indeed do anything at
> all from the main display. Using VNC video output for the guest works
> OK.

Please don't run kvm as root without $DISPLAY set and without specifing
VNC output.  This is the only way to let libSDL to open framebuffer
console on the same VT as your X is running, and thus ruin X -- only
when running as root it has necessary permissions to do that.

This is on the same theme as complaining that `rm -rf /' destroys your
system - yes it does when run as root, don't do that.  I understand this
is not right comparison - rm is designed to remove files, while kvm is
not designed to ruin X session.

I'm retitling this bug to reflect actual situation more closely, and
downgrading it to a wishlist, so that the information will be easy to
find.  Maybe we can actually do something with this someday.

Thanks!

/mjt



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to