summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-07-08Disable extra monitorsHEADmasterMarc-André Lureau1-0/+22
2012-07-06Close monitor position configuration by %8 are sameMarc-André Lureau1-1/+1
Avoids some extra reconfiguration with the client.
2012-07-06Do not set crtc config to 0Marc-André Lureau1-24/+10
I presume the reason to disable Crtc was to pass some XRandr check that all crtc can fit in the screen. However, it is not a requirement if the driver handles it.
2012-06-24vdagent-x11-randr: add dump_monitors_configAlon Levy1-0/+24
2012-06-24vdagent: add randr support (big)Alon Levy2-19/+592
2012-06-24vdagent: add -y for sync X11 communicationAlon Levy3-4/+18
2012-06-20vdagent-x11-randr: factor out set_screen_to_best_sizeAlon Levy1-29/+41
2012-06-20vdagent-x11-randr.c: introduce as split from vdagent-x11.cAlon Levy4-241/+289
2012-03-27Prepare for 0.10.1 releaseHans de Goede2-9/+15
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2012-03-27vdagentd: Fix a race-condition when opening the virtio serial portHans de Goede1-0/+29
See the (large) comment added in src/vdagent-virtio-port.c for details. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2012-03-20Prepare for 0.10.0 releaseHans de Goede1-0/+8
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2012-03-20configure: fix reporting of session-info typeHans de Goede1-0/+2
Report none instead of auto when session-info was set to auto and no session-info libs are found. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2012-03-20vdagentd: Add support for libsystemd-loginHans de Goede4-12/+168
This allows us to get session information on new systemd enabled distros, which no longer come with consolekit. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2012-03-20session-info: Add a verbose parameter to session_info_create()Hans de Goede3-28/+28
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2012-03-19Rename console_kit* to session_info*Hans de Goede4-49/+53
This is a preparation patch for adding libsystemd-login support. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2012-03-19configure: static-uinput should be disabled by default!Hans de Goede1-1/+1
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2012-03-13README: update to reflect recently added featuresHans de Goede1-9/+18
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2012-01-10Add a RHEL-5 README and xorg.conf example fileHans de Goede3-1/+77
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2012-01-10vdagentd: Close the virtio port when the active vdagent disconnectsHans de Goede1-0/+5
We cannot use agent mouse mode without the session vdagent process, as we need to know the resolution the client is running at. So we should close the virtio port when the active vdagent disconnects, so that the spice-server switches back to server mouse mode. We were not properly updating active_session_conn when compiled without consolekit support, which causes us to not close the virtio port, this patch fixes this. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2012-01-10vdagentd-uinput: Correct interpretation of coordinates send by the clientHans de Goede1-4/+4
Coordinates send by the client go from 0 - (width - 1) rather then from 0 - width. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2012-01-10Add a --enable-static-uinput optionHans de Goede3-0/+41
This makes spice-vdagentd create the tablet uinput device once and then keep it around forever. This is necessary for X-servers without hotplug support, such as the RHEL-5 X-server. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2012-01-10buildsys: Lower autoconf requiresHans de Goede2-3/+4
So that autogen.sh can run on RHEL-5 Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2011-10-28vdagentd: Revert part of 571948ffb78eddd3015c456d084e0ca941f3e45d (rhbz#748760)Hans de Goede1-9/+0
The part of this commit which avoided forwarding monitor info to the per X11 session agent process breaks resolution sync when using a multi monitor client with a single monitor guest. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2011-10-03Lower autoconf require to 2.63Hans de Goede1-1/+1
2.63 (which RHEL-6 has) works fine too for our purposes. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2011-10-03Fix various compiler warningsHans de Goede2-4/+4
Sgined-off-by: Hans de Goede <hdegoede@redhat.com>
2011-09-30Add missing src/vdagentd-xorg-conf.h fileHans de Goede1-0/+30
This was missing from the previous commit, my bad. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2011-09-26vdagentd: Autogenerate a Xinerama xorg.conf for multi monitor setupsHans de Goede4-3/+198
The autogenerated file will get written as /etc/X11/xorg.conf.spice Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2011-09-23Make mouse handling multiple monitor aware.Hans de Goede5-15/+118
Actually send monitor info from the session agent to the system agent daemon, and use this information in vdagentd-uinput to properly generate events for events originating from different monitors on the client. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2011-09-22Change VDAGENTD_GUEST_XORG_RESOLUTION message to work with multiple monitorsHans de Goede4-12/+21
And also bump the version (a bit early in the cycle), since this breaks protocol compatibility between the system level agentd daemon and the per session agent process. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2011-09-22vdagentd: Fix a memory leak on agent message parsing errorsHans de Goede1-0/+2
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2011-07-18Prepare for a 0.8.1 releaseHans de Goede2-1/+8
2011-07-15vdagent: Respond to SIGTERM in the connect to daemon loopHans de Goede1-2/+2
2011-07-15vdagent: Fix double free on re-execHans de Goede1-10/+2
This is caused by me fixing a memleak in the non re-exec reconnect patch of Marc-André's original patch before merging it.
2011-07-15vdagentd: some small coding style fixesHans de Goede1-4/+4
2011-07-15vdagent: reexec ourself on version mismatchMarc-André Lureau1-0/+21
2011-07-15vdagent: check for portdev existence and leave if notMarc-André Lureau1-4/+24
2011-07-15vdagents: add VDAGENTD_VERSION messageMarc-André Lureau4-0/+17
Disconnects vdagent if version mismatch.
2011-07-15Attempt to reconnect to system socket every second when daemonizedMarc-André Lureau2-12/+25
https://bugzilla.redhat.com/show_bug.cgi?id=681797
2011-04-19Prepare for a 0.8.0 releaseHans de Goede2-2/+12
2011-04-19vdagent: connect to vdagentd after daemonizingHans de Goede1-4/+3
Doing this before daemonizing leads to the vdagentd seeing the connection from the pid of the mother, which may have exited by the time vdagent asks consolekit GetSessionForUnixProcess for the pid, resulting in an error.
2011-04-19Add tmpfiles.d entry for /var/run/spice-vdagentdHans de Goede2-1/+7
So that this dir exists when the spice-vdagentd starts.
2011-04-19autotools: add install-data-local ruleChristophe Fergeau1-0/+5
It's used to create the /var/run/spice-vdagentd and /var/log/spice-vdagentd directories which the agent requires to run.
2011-04-19spice-vdagentd initscript should have +xChristophe Fergeau2-2/+2
It was mistakenly marked as non-executable, resulting in a non-functional script after installation.
2011-04-18vdagentd: fix compilation without consolekitHans de Goede1-1/+1
2011-04-05vdagent-x11: Ignore MappingNotify eventsHans de Goede1-0/+4
2011-04-05vdagentd: use new virtio port write_[start,append] functionsHans de Goede1-29/+14
This avoids the need to alloc a temporary buffer and memcpy all the clipboard data while building clipboard messages to send to the client.
2011-04-05vdagent-virtio-port: add write_{start,append} to help caller write a messageHans de Goede2-14/+81
Inspired on a very similar patch for udscs written by Marc-André Lureau.
2011-04-04vdagent-x11: Add printing of selection to relevant log messagesHans de Goede1-98/+103
2011-04-04make console-kit use optionalChristophe Fergeau4-4/+59
On older distributions (namely RHEL5), console-kit is not available. This patch makes console-kit use optional, though this means vd_agentd won't handle properly user-switching. This patch makes it always use the first client vdagent, or none if multiple agents connect.
2011-04-04autotools: handle data files installationChristophe Fergeau1-0/+11