- Timestamp:
- Oct 22, 2009 6:34:15 PM (15 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxHeadless/VBoxHeadless.cpp
r23643 r23998 116 116 refcnt = 0; 117 117 #endif 118 mLastVRDPPort = -1; 118 119 } 119 120 … … 210 211 LONG port; 211 212 info->COMGETTER(Port)(&port); 212 if (port != 0) 213 RTPrintf("Listening on port %d\n", port); 214 else 215 RTPrintf("VRDP server failed to start\n"); 213 if (port != mLastVRDPPort) 214 { 215 if (port == -1) 216 RTPrintf("VRDP server is inactive.\n"); 217 else if (port == 0) 218 RTPrintf("VRDP server failed to start.\n"); 219 else 220 RTPrintf("Listening on port %d.\n", port); 221 222 mLastVRDPPort = port; 223 } 216 224 } 217 225 } … … 276 284 long refcnt; 277 285 #endif 286 long mLastVRDPPort; 278 287 }; 279 288 … … 351 360 " -v, -vrdp, --vrdp on|off|config Enable (default) or disable the VRDP\n" 352 361 " server or don't change the setting\n" 353 " -p, -vrdpport, --vrdpport <port> Port number the VRDP server will bind\n" 354 " to\n" 362 " -p, -vrdpport, --vrdpport <ports> Comma-separated list of ports the VRDP\n" 363 " server can bind to. Use a dash between\n" 364 " two port numbers to specify a range\n" 355 365 " -a, -vrdpaddress, --vrdpaddress <ip> Interface IP the VRDP will bind to \n" 356 366 #endif -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageHelp.cpp
r23912 r23998 225 225 { 226 226 RTPrintf(" [--vrdp on|off]\n" 227 " [--vrdpport default|<port >]\n"227 " [--vrdpport default|<ports>]\n" 228 228 " [--vrdpaddress <host>]\n" 229 229 " [--vrdpauthtype null|external|guest]\n" … … 298 298 if (fVRDP) 299 299 { 300 RTPrintf(" vrdp on|off ]|\n");301 RTPrintf(" vrdpport default|<port >]|\n");300 RTPrintf(" vrdp on|off |\n"); 301 RTPrintf(" vrdpport default|<ports> |\n"); 302 302 } 303 303 RTPrintf(" setvideomodehint <xres> <yres> <bpp> [display] |\n" -
trunk/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp
r23973 r23998 665 665 #endif 666 666 #ifdef VBOX_WITH_VRDP 667 " --vrdp <port > Listen for VRDP connections on port(default if not specified)\n"667 " --vrdp <ports> Listen for VRDP connections on one of specified ports (default if not specified)\n" 668 668 #endif 669 669 " --discardstate Discard saved state (if present) and revert to last snapshot (if present)\n" -
trunk/src/VBox/Frontends/VirtualBox/ui/VBoxVMSettingsDisplay.ui
r23400 r23998 288 288 <widget class="QLineEdit" name="mLeVRDPPort"> 289 289 <property name="whatsThis"> 290 <string> Displays the VRDP Server port number. You may specify <tt>0</tt> (zero) to reset the port to the default value.</string>290 <string>The VRDP Server port number. You may specify <tt>0</tt> (zero), which means port 3389, the standard port for RDP.</string> 291 291 </property> 292 292 </widget> -
trunk/src/VBox/Main/idl/VirtualBox.xidl
r23947 r23998 11948 11948 <attribute name="ports" type="wstring"> 11949 11949 <desc> 11950 VRDP server port numbers. 11950 VRDP server port numbers. The server will try to bind to one of free ports from the list. 11951 11951 <note> 11952 11952 This is a string of comma separated TCP port numbers or port number ranges. 11953 The server will try to bind to one of ports from the list. Example 11954 <tt>3000,3010-3012,3015</tt> 11953 Example <tt>5000,5010-5012,5015</tt> 11955 11954 </note> 11956 11955 </desc>
Note:
See TracChangeset
for help on using the changeset viewer.