-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Damn, I seemed to remember something like that but I was hoping it had
been fixed since then...

The most relevant discussion that I found is here:
http://www.nabble.com/Implementing-RandR-td19513964.html

I think that the cleanest way forward for xpra is to get Xorg to support
RandR on Xvfb. I'll poke and see what happens.

Antoine



Dwight Schauer wrote:
> On Mon, May 25, 2009 at 5:20 AM, Antoine Martin <[email protected]> wrote:
>> I haven't tried enabling randr (is it even supported by Xvfb?)
>> But that would be the best option wouldn't it?
>> Get the client to send the max resolution it will use and resize on
>> connection. No memory wasted.
>>
>> Antoine
>>
> 
> Ok, I tried it just now.
> 
> --< start clip >--
> --- server.py.0       2009-05-24 21:00:41.938397965 -0500
> +++ server.py 2009-05-25 09:40:01.688397020 -0500
> @@ -238,7 +238,8 @@
>                                       display_name,
>                                       "-auth", xauthority,
>                                       "+extension", "Composite",
> -                                     "-screen", "0", "2048x2048x24+32",
> +                                     "-screen", "0", "3520x1200x24+32",
> +                                     "+extension", "RANDR",
>                                       "-once"],
>                                      executable="Xvfb")
>          except OSError, e:
> --< end clip >--
> 
> And I get this in the server log:
> 
> Xlib:  extension "RANDR" missing on display ":22.0".
> 
> Complete log (just starting the server, no clients attached)
> 
> --< start clip >--
> (EE) AIGLX error: dlopen of /usr/lib/xorg/modules/dri/swrast_dri.so
> failed (/usr/lib/xorg/modules/dri/swrast_dri.so: cannot open shared
> object file: No such file or directory)
> (EE) GLX: could not load software renderer
> [config/dbus] couldn't take over org.x.config:
> org.freedesktop.DBus.Error.AccessDenied (Connection ":1.543" is not
> allowed to own the service "org.x.config.display22" due to security
> policies in the configuration file)
> (EE) config/hal: NewInputDeviceRequest failed (2)
> (EE) config/hal: NewInputDeviceRequest failed (2)
> (EE) config/hal: NewInputDeviceRequest failed (2)
> (EE) config/hal: NewInputDeviceRequest failed (2)
> (EE) AIGLX error: dlopen of /usr/lib/xorg/modules/dri/swrast_dri.so
> failed (/usr/lib/xorg/modules/dri/swrast_dri.so: cannot open shared
> object file: No such file or directory)
> (EE) GLX: could not load software renderer
> [config/dbus] couldn't take over org.x.config:
> org.freedesktop.DBus.Error.AccessDenied (Connection ":1.543" is not
> allowed to own the service "org.x.config.display22" due to security
> policies in the configuration file)
> (EE) config/hal: NewInputDeviceRequest failed (2)
> (EE) config/hal: NewInputDeviceRequest failed (2)
> (EE) config/hal: NewInputDeviceRequest failed (2)
> (EE) config/hal: NewInputDeviceRequest failed (2)
> Xlib:  extension "RANDR" missing on display ":22.0".
> Xlib:  extension "RANDR" missing on display ":22.0".
> /usr/lib/python2.6/wimpiggy/wm.py:9: DeprecationWarning: the sets
> module is deprecated
>   from sets import ImmutableSet
> Xlib:  extension "RANDR" missing on display ":22.0".
> --< end clip >--
> 
> ~Dwight
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEAREKAAYFAkoa7lQACgkQGK2zHPGK1ruNMACfUJHc2QruuaRH6G7v5nz/XOKg
FA0AnjU0RNR0OoDHAjbw0kD6OIuMXw6I
=SLPY
-----END PGP SIGNATURE-----

_______________________________________________
Parti-discuss mailing list
[email protected]
http://lists.partiwm.org/cgi-bin/mailman/listinfo/parti-discuss

Reply via email to