Bug 98888

Summary: session_info_session_for_pid() failure
Product: Spice Reporter: Christophe Fergeau <teuf>
Component: unix agentAssignee: Spice Bug List <spice-bugs>
Status: RESOLVED MOVED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Christophe Fergeau 2016-11-28 14:48:42 UTC
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.
Comment 1 Pavel Grunt 2017-05-04 10:22:12 UTC
another workaround is to run without the session info integration:
  spice-vdagentd -X
Comment 2 GitLab Migration User 2018-06-03 10:26:47 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/spice/linux/vd_agent/issues/4.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.