<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Horizon api loses session info: see active desktop of another user in Horizon for Linux</title>
    <link>https://communities.vmware.com/t5/Horizon-for-Linux/Horizon-api-loses-session-info-see-active-desktop-of-another/m-p/2284753#M444</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This was fixed in &amp;gt;= 7.10&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Oct 2020 09:57:59 GMT</pubDate>
    <dc:creator>mvogt1</dc:creator>
    <dc:date>2020-10-15T09:57:59Z</dc:date>
    <item>
      <title>Horizon api loses session info: see active desktop of another user</title>
      <link>https://communities.vmware.com/t5/Horizon-for-Linux/Horizon-api-loses-session-info-see-active-desktop-of-another/m-p/2284752#M443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see this behaviour in a pooled Linux Install, with RHEL 7.8:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sometimes I get a desktop with an already logged in user or a&amp;nbsp; session with a running "screensaver"&lt;/P&gt;&lt;P&gt;by some user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found out, that "horizon" loses the information, that the host is &lt;STRONG&gt;in use&lt;/STRONG&gt;. (disconneted or active)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- VMware-horizonagent-linux-x86_64-7.9.0-13916467&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I have host1,..,hostN in the pool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the horizon server I can use the horizon admin API&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://horizon.domain/admin/" rel="nofollow"&gt;https://horizon.domain/admin/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with this I can check which sessions are in use by "user1"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I enter some the username "user1" the api shows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- no active/disconneted sessions for user1 (it shows no session)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, when I connect with the the horizon client I get a logged session by user1 on hostX&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My conclusion:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some horizon component loses the information that the host is in use and serves&lt;/P&gt;&lt;P&gt;a still running desktop environment/session as "available"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wrote a python script, which gets the active session in the pool:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- who | grep tty | cut -d " " -f 1 | sort -u&lt;/P&gt;&lt;P&gt;- and compares this with the state of the horizon api.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can see, that this scenario is not uncommon.&lt;/P&gt;&lt;P&gt;Question:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Is this already fixed?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2020 08:54:32 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-for-Linux/Horizon-api-loses-session-info-see-active-desktop-of-another/m-p/2284752#M443</guid>
      <dc:creator>mvogt1</dc:creator>
      <dc:date>2020-10-01T08:54:32Z</dc:date>
    </item>
    <item>
      <title>Re: Horizon api loses session info: see active desktop of another user</title>
      <link>https://communities.vmware.com/t5/Horizon-for-Linux/Horizon-api-loses-session-info-see-active-desktop-of-another/m-p/2284753#M444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This was fixed in &amp;gt;= 7.10&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2020 09:57:59 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-for-Linux/Horizon-api-loses-session-info-see-active-desktop-of-another/m-p/2284753#M444</guid>
      <dc:creator>mvogt1</dc:creator>
      <dc:date>2020-10-15T09:57:59Z</dc:date>
    </item>
  </channel>
</rss>

