tests/rv_copyandpaste: Do no start vdagent and use root session.

Spice vdagent is started with gnome-session automatically and
use root session when needed since default user for spice
tests is non-root.
Do not fail test If gnome-session does not run.

Signed-off-by: Marian Krcmarik <mkrcmari@redhat.com>
Moved verified established method from rv_connect to utils.

Moved verify established and an exception class from rv_connect
to utils_spice, to make it accessible by all spice tests.

Signed-off-by: Vimal Patel <vipatel@redhat.com>
Signed-off-by: Marian Krcmarik <mkrcmari@redhat.com>
Adding a test for a clean exit of guest VM shutdown.

Signed-off-by: Vimal Patel <vipatel@redhat.com>
Signed-off-by: Marian Krcmarik <mkrcmari@redhat.com>
Adding a test to shutdown both VMs for spice tests.

Adding client_guest_shutdown test to replace the default
shutdown test to shutdown both VMs used for the spice tests.

Signed-off-by: Vimal Patel <vipatel@redhat.com>
Signed-off-by: Marian Krcmarik <mkrcmari@redhat.com>
shared/unattended/RHEL-6.3.ks: Start X when booting.

Start X right after boot and create test user to be used
for Spice related tests.

Signed-off-by: Tomas Jamrisko <tjamrisk@redhat.com>
Signed-off-by: Marian Krcmarik <mkrcmari@redhat.com>
tests/fullscreen_setup: Do not startx.

X and gnome session is started automatically after boot
for Spice related tests.

Signed-off-by: Marian Krcmarik <mkrcmari@redhat.com>
tests/rv_logging: Use root session when needed.

Since Spice tests use test (non-root) user, use root
session when root privileges are needed.

Signed-off-by: Marian Krcmarik <mkrcmari@redhat.com>