On Sun, May 14, 2017 at 09:32:45PM -0700, Thiago Macieira wrote: > On domingo, 14 de maio de 2017 21:20:01 PDT Martin Měřinský wrote: > > sudo subsurface divelog.xml > > [sudo] password for mermar: > > QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime- > > root' > > No protocol specified > > QXcbConnection: Could not connect to display :0 > > Aborted (core dumped) > > Your X server refused the connection. > > Best solution: don't use sudo. In fact, don't run Subsurface as root. > > Why were you trying this?
Good question. But I'd like to point out that Subsurface shouldn't crash when it can't open the display. I'll fix that part :-) /D _______________________________________________ subsurface mailing list subsurface@subsurface-divelog.org http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface