September 2008

How To Add Programs To Your Startup In KDE

I discovered the best way for me to mount my ssh shares via sshfs automatically when I log in. I add shares and folders from time to time, and I also wanted this technology to automatically be backed up for me, so I wanted the solution to lie inside my home folder. I did some research and learned that KDE has an Autostart folder. For KDE 3.x this is currently at ~/.kde/Autostart, and for KDE4 it is ~/.kde4 (which will eventually drop the 4). I’m already hosting my scripts in ~/bin, so I created a script in that folder to execute sshfs and create the mounts. I then created a link by right-dragging the icon in Konqueror from the ~/bin/ folder to ~/.kde/Autostart. This will work for any executable or script. Now my sshfs mounts automatically at login.

KDE
Kubuntu
SSH
Scripting
Shell

Comments (0)

Permalink

Problems with kdesu via SSH after Hardy Heron Upgrade

I started encountering an error when using kdesu via SSH after Hardy Heron was installed. I’ve since upgraded to 8.04.1 as well and still am running into this bug.

X11 connection rejected because of wrong authentication.
kate: cannot connect to X server localhost:10.0

I know I’m not the only Kubuntu user, and there is proof I am not the only user encountering this error. I’ve been getting around it by using gksu which has no problems with my authentication. I suppose I could just alias kdesu and kdesudo (i tried it with no luck too!) to gksu, but I’d like to see an update fix this in the upcoming months. The nice fade effect of gksu is a welcome change sometimes.

Bugs
KDE
Kubuntu
Launchpad
OpenSSH
SSH
Shell

Comments (0)

Permalink