Zend certified PHP/Magento developer

Gedit not working as root in kali VMware

Hi im new to working with Linux , And im taking a Kali Course and im having a issue. So When im logged into Kali ( default user ) i can use Gedit when in Kali but it wont let save to the directory because i lack the permission or authorization (prob because i made new it in root) . , But When im logged into Root, when i try to launch gedit it keeps hitting me with a Error . It says Gedit:28839 : Gtk-Warning **: cannot open display. Is this a Root only thing ? And how can i fix this?

Im running Kali 2022.3 On VmWare codename Kali-rolling