Unable to autolaunch a dbus-daemon without a $DISPLAY for X11. NetBeans. Pi as remote host

≡放荡痞女 提交于 2019-12-04 18:03:16

Autolaunch of dbus-daemon only works when under an X11 session. It is otherwise disabled because there's no way for different applications to establish a common instance of the dbus daemon.

If you want to run a dbus daemon on your pi box independently of X11, you probably should configure it to launch the dbus daemon on startup, and export the bus address in DBUS_SESSION_BUS_ADDRESS environment variable.

For more info see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=690530

If on the other hand you want to use your remote X session, you need to fix your misconfigured X11 forwarding such that the DISPLAY environment variable is set correctly when you ssh into the Pi. See e.g https://unix.stackexchange.com/questions/12755/how-to-forward-x-over-ssh-to-run-graphics-applications-remotely .

The solution to this was as follows:

https://unix.stackexchange.com/a/12772

Also, ensuring that XQuartz (X11 client) is running on the client computer (macOS in this case).

I will confirm if this works with the Pi (server) running in a headless configuration.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!