← Back to team overview

registry team mailing list archive

[Bug 615077] Re: [Maverick] SDL local window broken in last update

 

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

-- 
[Maverick] SDL local window broken in last update
https://bugs.launchpad.net/bugs/615077
You received this bug notification because you are a member of Registry
Administrators, which is the registrant for virtinst.