Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

connect to a ttsession?

Connect ttsession
0
Posted

connect to a ttsession?

0

After some internal initialization, tt_open tries to find a ttsession. • tt_open checks whether the environment variable TT_SESSION is set. If this environment variable is set, it uses the value as the id of the ttsession. If this environment variable is not set, it checks to see if the DISPLAY environment variable is set. • If this environment variable is set, it uses the value as the id of the ttsession. • If this environment variable is not set, it checks to see if the TT_SESSION property on root X window (of the machine running the display) is set. In the event that none of these environment variables are set, it will start a ttsession itself. • tt_open ‘pings’ the ttsession to make sure it is active. • tt_open checks the environment variable TT_TOKEN to determine whether the client was started from a `start’ command for the ptype. Once the start ptype is determined, tt creates a procid. • tt_open creates a TCP/IP socket on the client side to which ttsession connects. Activity on t

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.