spice-vdagentd(1)

๐Ÿ’– spice-vdagentd ๐Ÿ’–

okay bestie, so this is spice-vdagentd โ€” the Spice guest agent daemon, straight out of the General Commands Manual. it's the system-wide half of the whole Spice guest agent situation and honestly? it's doing the most so your VM feels โœจnativeโœจ. let's get into it ๐Ÿซถ


โœจ NAME โœจ

spice-vdagentd โ€” the Spice guest agent daemon ๐ŸŽ€


๐ŸŒธ SYNOPSIS ๐ŸŒธ

spice-vdagent [OPTIONS]
yes bestie, that's literally what the manpage says, we're keeping it exactly as-is, no cap ๐Ÿ’…

๐Ÿฆ‹ DESCRIPTION ๐Ÿฆ‹

so the Spice guest agent for Linux is lowkey a two-part girlboss situation: there's the system-wide daemon spice-vdagentd, and then there's the X11 session agent spice-vdagent โ€” and you get one of those per X11 session. the way that they're a duo? iconic.

spice-vdagentd gets started through a Sys-V initscript or a systemd unit. that's the whole vibe. she's a daemon, she shows up at boot, she handles business. ๐Ÿ‘‘


๐Ÿ’… FEATURES ๐Ÿ’…

the Spice guest agent adds these features to Spice Linux guests, and ngl it's a whole glow-up:

  • Client mouse mode โ€” no need to grab the mouse by the client, and no mouse lag. obsessed. ๐Ÿญโœจ
  • Automatic adjustment of the X11 session's number of virtual monitors, and their resolution, to the number of client windows and their resolution. it just knows. ๐Ÿ–ฅ๏ธ๐Ÿ–ฅ๏ธ๐Ÿ–ฅ๏ธ
  • Support of copy and paste (text and images) between the active X11 session and the client โ€” and bestie, this supports both the primary selection and the clipboard. the range?? unmatched. ๐Ÿ“‹๐Ÿ–ผ๏ธ
  • Support for transferring files from the client to the agent. files. moving. periodt. ๐Ÿ“โžก๏ธ

โœจ OPTIONS โœจ

  • -h โ€” print a short description of all command line options. the little "what does everything do" moment, we love her ๐Ÿฅฐ
  • -d โ€” log debug messages. use it twice for extra info ๐Ÿ” (yes, twice. she's hungry for detail.)
  • -f โ€” treat the uinput device as fake; no ioctls. this is useful in combination with Xspice ๐Ÿซฅ
  • -o โ€” the daemon will exit after processing a single session. one and done, she's out ๐Ÿ’จ
  • -s port โ€” set the virtio serial port (default: /dev/virtio-ports/com.redhat.spice.0) ๐Ÿ”Œ
  • -u device โ€” set the uinput device (default: /dev/uinput) ๐ŸŽฎ
  • -x โ€” don't daemonize. stay in the foreground with me, bestie ๐Ÿซถ
  • -X โ€” disable session info usage. here's the tea: spice-vdagentd needs to know which spice-vdagent is in the currently active X11 session. spice-vdagentd uses console kit or systemd-logind (compile time option) for this; the -X option disables this, and if no session info is available only one spice-vdagent is allowed ๐Ÿšซ๐Ÿ‘ฅ

๐ŸŽ€ FILES ๐ŸŽ€

the Sys-V initscript or systemd unit parses the following files:

  • /etc/sysconfig/spice-vdagentd โ€” default cmdline options can be passed to spice-vdagentd by setting them in the SPICE_VDAGENTD_EXTRA_ARGS variable in this file ๐Ÿ“โœจ

๐ŸŒˆ SEE ALSO ๐ŸŒˆ


Copyright 2010-2013 Red Hat, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.

This is free software: you are free to change and redistribute it.

There is NO WARRANTY, to the extent permitted by law. โš ๏ธ fr fr, no warranty bestie, don't come for her.

and that's the whole page, bestie ๐Ÿฅน๐Ÿซถ this was spice-vdagent 0.23.0, dated April 2013 โ€” a whole legend from the spice-vdagentd(1) manual. mwah ๐Ÿ’‹โœจ