[Interest] How to disable session management.

Bo Thorsen bthorsen at ics.com
Mon Apr 22 13:19:51 CEST 2013


Hi Bill,

Den 22-04-2013 12:27, Bill Crocker skrev:
> I am running my Qt app with a virtual X server on a compute farm as part of
> regression testing.
> Those instances still appear to want to work with the session manager on my
> login host.
> This fails and the following messages appear.
>
>> _IceTransSocketUNIXConnect: Cannot connect to non-local host juno.adsdesign.analog.com
>> Qt: Session management error: Could not open network socket
>
> How to disable session management under these circumstances?
>
> pkill -f "Xvfb :30"
> Xvfb :30 -ac &
> run_my_qt_app -display :30
> pkill -f "Xvfb :30"

I'm not completely sure about this, because it's ages ago that I did 
something similar.

You should probably unset the DISPLAY variable for the Xvfb run, so it 
doesn't know about your own display.

Bo.


-- 
Bo Thorsen, European Qt Manager, Integrated Computer Solutions
ICS - Delivering World-Class Applications for Embedded & Mobile Devices
http://ics.com/services



More information about the Interest mailing list