Eu consertei!
A solução é aqui nos fóruns do Arch Linux
Eu experimentei o comando who
e funcionou muito bem.
Produz isto:
kasutaja tty8 2018-05-25 09:44 (:1)
Esse (:1)
mostra que preciso export DISPLAY=:1
não :0
Eu não sei porque é :1
e não :0
Isso resolveu meu problema.
Alguém que saiba como alterar DISPLAY=:1
para :0
, por favor, me diga.
Eu verifiquei /etc/environment
e ~/.bashrc
e não encontrei nada definindo DISPLAY
para :O
.
Vou atualizar essa resposta se achar que é rápido.