{"id":18555249,"url":"https://github.com/c3d/vd_agent","last_synced_at":"2025-10-09T16:20:49.330Z","repository":{"id":146253452,"uuid":"137911397","full_name":"c3d/vd_agent","owner":"c3d","description":"vd_agent","archived":false,"fork":false,"pushed_at":"2021-04-02T10:28:56.000Z","size":443,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-15T12:09:51.004Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/c3d.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-06-19T15:34:13.000Z","updated_at":"2021-04-02T09:27:21.000Z","dependencies_parsed_at":"2023-04-09T04:17:12.973Z","dependency_job_id":null,"html_url":"https://github.com/c3d/vd_agent","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/c3d/vd_agent","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c3d%2Fvd_agent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c3d%2Fvd_agent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c3d%2Fvd_agent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c3d%2Fvd_agent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/c3d","download_url":"https://codeload.github.com/c3d/vd_agent/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c3d%2Fvd_agent/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263385647,"owners_count":23458740,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T21:25:50.199Z","updated_at":"2025-10-09T16:20:44.291Z","avatar_url":"https://github.com/c3d.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"Spice agent for Linux\n=====================\n\nThe spice agent for Linux consists of 2 parts, a daemon spice-vdagentd and\na per X-session process spice-vdagent. The daemon gets started in Spice guests\nthrough a Sys-V initscript or a systemd unit. The per X-session gets\nautomatically started in desktop environments which honor /etc/xdg/autostart,\nand under gdm.\n\nThe main daemon needs to know which X-session daemon is in the currently\nactive X-session (think switch user functionality) for this console kit or\nsystemd-logind (compile time option) is used. If no session info is\navailable only one X-session agent is allowed.\n\nFeatures:\n* Client mouse mode (no need to grab mouse by client, no mouse lag)\n  this is handled by the daemon by feeding mouse events into the kernel\n  via uinput. This will only work if the active X-session is running a\n  spice-vdagent process so that its resolution can be determined.\n* Automatic adjustment of the X-session resolution to the client resolution\n* Support of copy and paste (text and images) between the active X-session\n  and the client. This supports both the primary selection and the clipboard.\n* Support for transferring files from the client to the agent\n* Full support for multiple displays using Xrandr, this requires a new\n  enough xorg-x11-drv-qxl driver, as well as a new enough host.\n* Limited support for multiple displays using Xinerama.\n* Limited support for setups with multiple Screens (multiple qxl devices each\n  mapped to their own screen)\n\nAll vdagent communications on the guest side run over a single pipe which\ngets presented to the guest os as a virtio serial port.\n\nUnder windows this virtio serial port has the following name:\n\u003e\u003e\u003e\n    \\\\\\\\.\\\\Global\\\\com.redhat.spice.0\n\u003e\u003e\u003e\n\nUnder Linux this virtio serial port has the following name:\n\u003e\u003e\u003e\n    /dev/virtio-ports/com.redhat.spice.0\n\u003e\u003e\u003e\n\nTo enable the virtio serial port you need to pass the following params on\nthe qemu cmdline:\n\n\u003e\u003e\u003e\n    -device virtio-serial-pci,id=virtio-serial0,max_ports=16,bus=pci.0,addr=0x5 \\\n    -chardev spicevmc,name=vdagent,id=vdagent \\\n    -device virtserialport,nr=1,bus=virtio-serial0.0,chardev=vdagent,name=com.redhat.spice.0\n\u003e\u003e\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fc3d%2Fvd_agent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fc3d%2Fvd_agent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fc3d%2Fvd_agent/lists"}