<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - session_info_session_for_pid() failure"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=98888">98888</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>session_info_session_for_pid() failure
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Spice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>unix agent
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>spice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>teuf@gnome.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>When manually starting spice-vdagent from gnome-terminal, we get a
session_info_session_for_pid() failure. It turns out sd_pid_get_session() is
returning an error when spice-vdagent is started from gnome-terminal, as
gnome-terminal is spawned by gnome-terminal-server which is running from
gnome-terminal-server.service, which apparently prevents getting session info
for the process we run from the shell :( Using rxvt avoids the issue for now.

Not sure if it's something we need to fix in spice-vdagent or if it's a more
generic issue.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>