I'm a newbie of both Linux/Raspberry Pi/X Window system. So this might be a dumb question, but I'm having a problem of seeing the following warning message when xfce4-terminal is launched from PuTTY + ssh connection + VcXsrc.exe on my PC.

(xfce4-terminal:10358): GLib-WARNING **: (/build/glib2.0-tTvduh/glib2.0-2.42.1/./glib/gerror.c:381):g_error_new_valist: runtime check failed: (domain != 0)
Failed to connect to session manager: Failed to connect to the session manager: SESSION_MANAGER environment variable not defined

My raspberry pi OS is Raspbian Jessie Lite. I have no plan to connect it to monitor nor input device, so I just install X11 client programs and libraries only, and lunch programs from ssh connection.

So far, it just displays the warning message. Is there a fix for this message or can I ignore it safely?

By the way, I'd like to use xfce4-terminal because it can switch display language easily. I'm a Japanese, so want to read some old Japanese encoded documents occasionally.


The easiest way for me and was a basic solution.

$ sudo apt-get install xrdp 

$ sudo service xrdp start

Try do a Remote Connection.

I think was enough. :)

Best Regards

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.