I've set up x-forwarding on an Ubuntu 16.04.3 server and although the forwarding works, every time I start a GUI application it reports the following error in the terminal.
(<app-name>:<pid>) LIBDBUSMENU-GLIB-WARNING **: Unable to get session bus: Failed to execute child process "dbus-launch" (No such file or directory)
This is obviously not critical, but it isn't working as it should.
How can I repair this?
Edit I'm mostly trying to start Firefox.
The solution to this issue was to install 'dbus-x11'.
I came to this solution by looking for similar issues.
I've found Pablo Saratxaga's answer on Serverfault, suggesting a script for a similar issue.
https://serverfault.com/a/673837/409813
I've thought it would be worth to run
because this is the main command that the script is starting.
The error message from the output is the following.
I installed dbus-x11 and x-forwarding started to work without showing an error message.