Install as root and execute on Linux

This forum has been archived and is no longer active.

The new forum is located at:

You may continue to view and search the topics in this forum, but no new posts can be created.

Install as root and execute on Linux

Postby steros » Wed Sep 21, 2011 3:38 am

I've created a Linux installer that request root user. Then, in the "Finish Actions" section, I create an "Execute external program" action that should call my application executable (in particular I execute a shell script that sets LD_LIBRARY_PATH and then call the real executable).
When I execute my application (a Qt program), i get a "MyApplication: cannot connect to X server :0.0" error.
The question is: when I am in root mode to execute my application as simple user it's sufficient to set "Execute as Root" to "No"? If not, how can I do to execute my application with current real user?

Posts: 1
Joined: Wed Sep 21, 2011 3:28 am

Return to Help

Who is online

Users browsing this forum: Alexa [Bot] and 1 guest