This is in reference to comments made for bug 643583 which was marked as a duplicate of this bug:
(1) libvirt + sdl does work if the lxdm is used as lxdm writes .Xauthority into the users home directory as expected by libvirt.
(2) A script like the following run with sudo might provide a work-around if gdm is used. Might be possible to add to "System > Preferences > Startup Applications" with some permissions adjustments.
xauth_virt_sudo.sh
#!/bin/sh
# Create .Xauthority link for libvirt 0.8.3 on Ubuntu Maverick 10.10
user=admin1
auth=`exec ls /var/run/gdm | grep auth-for-$user`
if [ -h "/home/$user/.Xauthority" ]
then rm /home/$user/.Xauthority
fi
ln -s /var/run/gdm/$auth/database /home/$user/.Xauthority
This is in reference to comments made for bug 643583 which was marked as a duplicate of this bug:
(1) libvirt + sdl does work if the lxdm is used as lxdm writes .Xauthority into the users home directory as expected by libvirt.
(2) A script like the following run with sudo might provide a work-around if gdm is used. Might be possible to add to "System > Preferences > Startup Applications" with some permissions adjustments.
xauth_virt_sudo.sh $user/. Xauthority" ] user/.Xauthorit y gdm/$auth/ database /home/$ user/.Xauthorit y
#!/bin/sh
# Create .Xauthority link for libvirt 0.8.3 on Ubuntu Maverick 10.10
user=admin1
auth=`exec ls /var/run/gdm | grep auth-for-$user`
if [ -h "/home/
then rm /home/$
fi
ln -s /var/run/