Sample Header Ad - 728x90

Gedit doesn't work in Kali 2020

0 votes
0 answers
1978 views
Kali 2020 doesn't come with gedit pre-installed. After installing with sudo apt-get install gedit and trying to run, I get an error message:
┌──(kali㉿kali)-[/root]
└─$ gedit test.txt
Unable to init server: Could not connect: Connection refused

(gedit:3673): Gtk-WARNING **: 11:16:31.911: cannot open display:
How can I fix this? **EDIT:** I'm actually running a Kali virtual machine with VMWARE.
Asked by Mate Mrše (101 rep)
Dec 7, 2020, 04:25 PM
Last activity: Oct 27, 2022, 03:54 PM