in reply to Executing an application in Perl/CGI
Just a thought, but perhaps the user that the web server is running as does not have enough permissions to affect the desktop of the user that's logged into the server?