I have tested with tigervnc's Xvnc:
http://tigervnc.sourceforge.net/
And xpra works flawlessly against it, even when resizing the screen on
the fly!
As a bonus, you can also connect to the session using VNC.

This first patch allows us to specify which X to use (Xvfb which is
still the default, or Xvnc).
Later we can also add some niceties, like detecting the screen
requirements of the client and resizing the virtual screen down to save
some memory, or up if it's too small as it is.

I haven't tried the "xf86-video-dummy and xf86-input-void" option,
because it would require root to set the "+extension RANDR"

Antoine

[snip]
> Peter Åstrand wrote:
>>> I found this post about implementing RandR for Xvnc:
>>> http://www.nabble.com/Implementing-RandR-td19513964.html
>>>
>>> Does anyone know what the status is on this?
>>> Is there a patch?
>>> How much work is left/would it be to get RandR working on Xvfb?
>> RandR support has been added to the Xvnc implementation in the TigerVNC
>> project (also included in Fedora 11).
>>
>> Since Xvfb has so many bugs, I believe Xvnc is a better choice in most
>> cases.
> 
> The Xorg server with the xf86-video-dummy and xf86-input-void drivers
> also approximates Xvfb, though without the ability to connect and see
> the output as needed that Xvnc will provide (unless you also install
> the vnc.so Xorg module).
--- ./upstream/xpra/scripts/server.py	2009-05-13 19:40:08.000000000 +0700
+++ dev/xpra/scripts/server.py	2009-05-27 22:03:16.000000000 +0700
@@ -240,7 +238,7 @@
                                      "+extension", "Composite",
                                      "-screen", "0", "2048x2048x24+32",
                                      "-once"],
-                                    executable="Xvfb")
+                                    executable=opts.xvfb_bin)
         except OSError, e:
             sys.stderr.write("Error starting Xvfb: %s\n" % (e,))
         raw_cookie = os.urandom(16)
--- ./upstream/xpra/scripts/main.py	2009-05-13 19:40:08.000000000 +0700
+++ dev/xpra/scripts/main.py	2009-05-27 22:04:31.000000000 +0700
@@ -62,6 +65,9 @@
     parser.add_option("--remote-xpra", action="store",
                       dest="remote_xpra", default=None, metavar="CMD",
                       help="How to run 'xpra' on the remote host")
+    parser.add_option("--xvfb-bin", action="store",
+                      dest="xvfb_bin", default="Xvfb",
+                      help="The Xvfb program to use. Defaults: Xvfb")
     parser.add_option("-d", "--debug", action="store",
                       dest="debug", default=None, metavar="FILTER1,FILTER2,...",
                       help="List of categories to enable debugging for (or \"all\")")

Attachment: signature.asc
Description: OpenPGP digital signature

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

Reply via email to