LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (http://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Running gui apps remotely with KDE4 and ssh -X. (http://www.linuxquestions.org/questions/linux-desktop-74/running-gui-apps-remotely-with-kde4-and-ssh-x-787452/)

jschiwal 02-06-2010 01:42 PM

Running gui apps remotely with KDE4 and ssh -X.
 
After upgrading to openSuSE 11.2, I noticed problems launching GUI applications remotely with error messages concerning dbus.

I added this to my .bashrc file:
Code:

if [[ -n "$DISPLAY" ]] && [[ -n "$SSH_CLIENT" ]] && [[ -z "$DBUS_SESSION_BUS_ADDRESS" ]] ; then
        ## if not found, launch a new one
        eval $(dbus-launch --exit-with-session)
        export DBUS_SESSION_BUS_ADDRESS DBUS_SESSION_BUS_PID
fi

A GUI application can run fine now, but entering text in the konsole is painfully slow, and I have to enter some characters several times.

If I start a new konsole or xterm program, it is fine.
Any idea what I may have missed?


All times are GMT -5. The time now is 08:29 PM.