Commit ba3b881f authored by ck's avatar ck

Maemo: Set DISPLAY variable before running remote executable.

parent 64d65fb6
......@@ -330,7 +330,7 @@ const QString AbstractMaemoRunControl::targetCmdLinePrefix() const
const QString &installPrefix = m_needsInstall
? remoteInstallCommand() + QLatin1String(" && ")
: QString();
return QString::fromLocal8Bit("%1%2 chmod a+x %3 && source /etc/profile && ")
return QString::fromLocal8Bit("%1%2 chmod a+x %3 && source /etc/profile && DISPLAY=:0.0 ")
.arg(installPrefix).arg(remoteSudo()).arg(executableFilePathOnTarget());
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment