I have a test script that I run in the process buffer that launches konsole windows (and other apps run in these konsoles) on CentOS 7 x64.
This works no problem when in a VNC session and I launch konsole windows from the process buffer.
However, if I am using the cygwin X-server, login via cygwin ssh, tunnel my DISPLAY, run SE in the x-server, then try to launch konsole, I get errors:
unnamed app(2787): KUniqueApplication: Cannot find the D-Bus session server: "Address does not contain a colon"
unnamed app(2786): KUniqueApplication: Pipe closed unexpectedly.
But I get no such error launching konsole outside of SE from my cygwin window (that is sshed in and tunneled DISPLAY).
I found a workaround, if I unset the "DBUS_SESSION_BUS_ADDRESS", then I can launch konsole from the SE process buffer.
Below is a log demonstrating this:
# Try to launch konsole from SE's secsh, get error
[SE rbresali@pss196-255 wrap]$ konsole
unnamed app(2725): KUniqueApplication: Cannot find the D-Bus session server: "Address does not contain a colon"
unnamed app(2724): KUniqueApplication: Pipe closed unexpectedly.
# Switch to ksh, just because I know how to unset envs there
[SE rbresali@pss196-255 wrap]$ ksh -i
Inside setupEnv
[rbresali-automation] pss196-255:/home/rbresali/public_html/logs/ne_pss8_AHPHG/171130_115437_Thu-ne/wrap
$ env | grep DBUS
DBUS_SESSION_BUS_ADDRESS=abstract=/tmp/none-such-31534
[rbresali-automation] pss196-255:/home/rbresali/public_html/logs/ne_pss8_AHPHG/171130_115437_Thu-ne/wrap
$ konsole
unnamed app(2787): KUniqueApplication: Cannot find the D-Bus session server: "Address does not contain a colon"
unnamed app(2786): KUniqueApplication: Pipe closed unexpectedly.
[rbresali-automation] pss196-255:/home/rbresali/public_html/logs/ne_pss8_AHPHG/171130_115437_Thu-ne/wrap
$ unset DBUS_SESSION_BUS_ADDRESS
[rbresali-automation] pss196-255:/home/rbresali/public_html/logs/ne_pss8_AHPHG/171130_115437_Thu-ne/wrap
$ konsole
# konsole launched successfully
[rbresali-automation] pss196-255:/home/rbresali/public_html/logs/ne_pss8_AHPHG/171130_115437_Thu-ne/wrap
$ Bus::open: Can not get ibus-daemon's address.
IBusInputContext::createInputContext: no connection to ibus-daemon
# The above error messages seem benign, konsole is running.
Any idea what is going on here?
Can I safely unset DBUS_SESSION_BUS_ADDRESS, or is there a better solution?
I don't really understand what DBUS_SESSION_BUS_ADDRESS is.