Yes, that would be assumed too. You should read up on the DISPLAY variable and what it does, so you know what DISPLAY=:1.1 means.
----- Original Message ----- From: Duane <[email protected]> To: [email protected] Cc: Sent: Thursday, April 10, 2014 3:26 PM Subject: Re: [Qt-creator] remote debugging when xserver is not on console 0 On 4/10/2014 2:46 PM, Benjamin Zeller wrote: > Try to add DISPLAY=:1 to the environment, so the application knows where > to look for X. > > Am 10.04.2014 20:15, schrieb Duane: >> I have a controller that runs x on console 1. When I try to launch a >> remote debug session I get the error >> >> CifXBoardTest: cannot connect to X server :0.0 >> >> >> How can I redirect this? >> >> _______________________________________________ >> Qt-creator mailing list >> [email protected] >> http://lists.qt-project.org/mailman/listinfo/qt-creator Thanks for the reply. That didn't work. I had to run xhost local:root on the controller as a non-root user. _______________________________________________ Qt-creator mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/qt-creator _______________________________________________ Qt-creator mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/qt-creator
