Re: [PATCH xf86-video-qxl ] Set the regular spice port only once, and then only if it is not diabled.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/30/2015 05:45 PM, Jeremy White wrote:
This fixes a bug where Xspice had to listen on two ports, even in an
SSL only configuration.

Signed-off-by: Jeremy White <jwhite@xxxxxxxxxxxxxxx>

Ack.

Thanks,
    Uri.

---
  examples/spiceqxl.xorg.conf.example | 1 +
  src/spiceqxl_spice_server.c         | 1 -
  2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/spiceqxl.xorg.conf.example b/examples/spiceqxl.xorg.conf.example
index 04fc437..ec6321e 100644
--- a/examples/spiceqxl.xorg.conf.example
+++ b/examples/spiceqxl.xorg.conf.example
@@ -4,6 +4,7 @@ Section "Device"

      # Enable regular port. Either this or SpiceTlsPort, or one of XSPICE_PORT or
      # XSPICE_TLS_PORT environment variables must be specified
+    # Specify 0 to disable the use of the regular port
      # default: 5900
      #Option "SpicePort" "5900"

diff --git a/src/spiceqxl_spice_server.c b/src/spiceqxl_spice_server.c
index 26e7487..b2b31ff 100644
--- a/src/spiceqxl_spice_server.c
+++ b/src/spiceqxl_spice_server.c
@@ -187,7 +187,6 @@ void xspice_set_spice_server_options(OptionInfoPtr options)
          exit(1);
      }
      printf("xspice: port = %d, tls_port = %d\n", port, tls_port);
-    spice_server_set_port(spice_server, port);
      if (disable_ticketing) {
          spice_server_set_noauth(spice_server);
      }


_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]