Hello,
I'm trying to get gdm3 working from a remote server via ssh.
The server is running Kali, ssh enabled and X forwarding also enabled, the computer in which i want to run GUI is running in OS X with X11 installed.

The problem came after running ssh -X user(admin)@ip (this step runs without giving errors), i can use apps that need GUI (e.g.: gedit) but when i try gdm3 it returns

WARNING **: Failed to acquire org.gnome.DisplayManager
WARNING **: Could not acquire name; bailing out

Searching on the internet it seems to be permission problem with /etc/dbus-l/system.d/gdm.conf but i don't know how to edit permissions in this file and add ssh to allowed user.

Which i don't understand at all is that i'm running ssh as sudo with all permissions, so i supposed that i have the permissions to use x11 forwarding and so.