GNOME Bugzilla – Bug 431635
Better show http://<vnc_server>:<port> when enable http_server in vino-preferences.
Last modified: 2007-06-30 21:51:18 UTC
Please describe the problem: vncviewer is not installed by default in some systems, such as solaris and windows. So it is better show and send email as http://<vnc_server>:<port> when --enable-http-server on server. This may be a feature request. Steps to reproduce: 1. 2. 3. Actual results: Expected results: Does this happen every time? Other information:
Yep, it'd be fine to show this if, and only if, vino is built with --enable-http-server
Created attachment 86701 [details] [review] patch for 431635 please review.
Created attachment 87319 [details] [review] new patch for bug #431635 Little change on previous patch: Fix http port mistake When 5800 is used, will get 5799, not 5801, there is logic error in function start_probing_at(). start_probing_at (int rfb_port) { if (rfb_port >= VINO_RFB_MIN_PORT && rfb_port <= VINO_RFB_MAX_PORT) - return VINO_HTTP_MIN_PORT + (VINO_RFB_MIN_PORT - rfb_port); + return VINO_HTTP_MIN_PORT + (rfb_port - VINO_RFB_MIN_PORT); return VINO_HTTP_MIN_PORT; }
Created attachment 87325 [details] [review] new patch for bug #431635 change on previous patch: by default display http://server:5800 not http://server:0
It's fine to me. Mark?
Yep, looks fine
2007-06-30 Jonh Wendell <jwendell@gnome.org> * capplet/Makefile.am, capplet/vino-preferences.c, server/vino-http.[hc], server/vino-dbus-listener.c: Show http server address in vino-preferences if vino is compiled with http support. Patch from Halton Huo, closes #431635.