sudo 4.6.4 Aborted

Martin Měřinský mermar at centrum.cz
Sun May 14 21:43:36 PDT 2017


On Sun, 2017-05-14 at 21:32 -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.

New info: happens only with Wayland. Under X, it requests for --
allow_run_as_root and with this option it works.

> Best solution: don't use sudo. In fact, don't run Subsurface as root.
> 
> Why were you trying this?

Because importing dives from DC doesn't work for me as a user. So for
the short moment I run Subsurface as a root.

I tried, what manual says, but it didn't work.

sudo usermod -a -G dialout mermar
sudo usermod -a -G uucp mermar

subsurface divelog.2017-04-10.xml
Insufficient privileges to open the device /dev/ttyUSB0 Suunto (HelO2)

Logout & login.

subsurface divelog.2017-04-10.xml
Insufficient privileges to open the device /dev/ttyUSB0 Suunto (HelO2)

[0.000082] ERROR: Permission denied (13) [in serial_posix.c:177
(dc_serial_open)]
[0.000139] ERROR: Failed to open the serial port. [in
suunto_vyper2.c:101 (suunto_vyper2_device_open)]

Martin M.


More information about the subsurface mailing list