Reaching out to others! Free & Open Source Software, Kannada, L10n, L18n Data Science, Cloud Computing & more…

[Kubuntu] Remotely starting applications on running X sessions

linux, QuickFix, Technical, Ubuntu | 0 comments

Running applications while working with network applications in Ubuntu based distro’s has been bit tricky. You can find one such error reported here.

(pidgin:6130): Gdk-CRITICAL **: gdk_display_get_name: assertion `GDK_IS_DISPLAY (display)’ failed

To resolve this I had to configure KDM in Kubuntu to listen on the network to accept connections to run X. There were many solutions posted in various forums. ie. setting the DISPLAY variable on the remote system, typing xhost + on the local system’s console and then running the X application on the remote system.

To configure KDM to listen on net work you need to edit the key file /etc/kde3/kdm/kdmrc and then comment the following line:

ServerArgsLocal=-nolisten tcp

But this didn’t work for me.

All I had to do is put the xhost + in .bashrc so that it disables the acl’s. Now, I can run the applications just like local applications.

Related Articles