i had the same error while trying to open gedit on linux mint.
just exit from the root access and try doing the same in the normal account(non-elevated) user.
that solved my problem
#happymintuser
i had the same error while trying to open gedit on linux mint.
just exit from the root access and try doing the same in the normal account( non-elevated) user.
that solved my problem
#happymintuser