Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

I have some script that should start when user logs in. I've created .desktop file and put it into /etc/xdg/autostart. It works on two pretty old PCs with Ubuntu with a long life (10.xx -> 11.10 -> 12.04 at the moment), and doesn't work on freshly installed Ubuntu 12.04. .desktop file works correctly - it starts what I want when I double click it.

Here it is:

[Desktop Entry]
Name=Proxy Authentication
Comment=Use the command line

Is there any way I can debug or track what happens on login? Thanks!

share|improve this question
I'm pretty sure Ubuntu has a way to add startup shell scripts; at least KDE (I use Kubuntu) has it. – Ramchandra Apte Sep 27 '13 at 12:10
What does this script? How did you call it? The name has to end in .desktop. – Braiam Sep 30 '13 at 13:29
It configures proxy for the user, it's a long story with the corporate windows-proxy... Nothing special, just write config file and start cntlm daemon. I've recently found out, that those two PCs don't start the script from time to time too :-/ I've changed nothing. The file has .desktop extension. – Alexander Oct 2 '13 at 10:59

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.