[linux-support] downloading and installing a program

Markus Wernig wernigm at lugbe.ch
Thu Dec 23 23:25:15 CET 2021


Hi Georges

On 23.12.21 19:43, ge2b at posteo.net wrote:

> (gedit:2385): Gtk-WARNING **: 19:19:35.199: cannot open display: :0
> root at ThinkPad-T580:~# 
> 
> What am I missing?

Oh, I forgot that gedit is a graphical text editor ... you first need to
allow root to temporarily acces your user's X server (because gedit
needs to draw its output there):

run the following commaand before the "sudo gedit ...":

xhost +si:localuser:root

(With a console text editor like nano or vim this would not have been
necessary)

best /markus

-- 
Markus Wernig                              🐧
Präsident Linux User Group Bern
PGP: D9203D2A4AD9FC3333DEEF9DF7ACC6208E82E4DC
---------------------------------------------
Linux User Group Bern    -   https://lugbe.ch
---------------------------------------------




More information about the Linux-support mailing list