Crap works as expected. Should be run from unprivileged user only.

On 1/25/2020 2:34 PM, Stuart Henderson wrote:
> On 2020-01-24, Denis <den...@mindall.org> wrote:
>> Trying to connect to QEMU 4.1.0 with VNC server enabled by
>> $ doas vncviewer -rawlocal 127.0.0.1:0
> 
> For the love of cthulhu don't run that crap as root.
> 
>> All the time receive 'Error: Can't open display' by vncviewer
>> (ssvnc-viewer package installed on OpenBSD 6.6) when connect to QEMU
>> machine which run on the same localhost and QEMU VNC server listens on
> 
> That is vncviewer not being able to connect to your X display, which
> will be happening because you're running it as a different uid with doas.
> 
> 

Reply via email to