[Qt-creator] remote debugging when xserver is not on console 0
Jason H
scorp1us at yahoo.com
Tue Apr 22 17:24:42 CEST 2014
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 <duane.hebert at group-upc.com>
To: qt-creator at qt-project.org
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
>> Qt-creator at qt-project.org
>> 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
Qt-creator at qt-project.org
http://lists.qt-project.org/mailman/listinfo/qt-creator
More information about the Qt-creator
mailing list