Commit Graph

86 Commits

Author SHA1 Message Date
Mihaela Stoica
7ff4bb9138 CA-68578: Shutting down a Linux guest with VNC console causes password dialog to pop up
- store the empty vnc password after a successful login, to avoid displaying the login dialog box on a subsequent reconnection attempt
- abort the vnc connection attempt if we notice that vncIP is null and switch back to the default console

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-04-30 11:37:39 +01:00
Mihaela Stoica
abf1342d2c CA-167309: When clipboard sharing is turned off in the options, should not be possible to copy-and-paste from the guest to the XenCenter machine 2015-04-22 09:52:35 +01:00
Gabor Apati-Nagy
aefed11165 Revert "CA-149867: Invoke on MainWindow instead of various controls"
This reverts commit 92f0499911.
2015-04-16 14:17:02 +01:00
Gabor Apati-Nagy
92f0499911 CA-149867: Invoke on MainWindow instead of various controls
We observed that some threads can reach deadlock-ish state after they have Invoked into a control's UI thread. When it happens they are all in a waiting for join or in sleep state for very long time, although there should not be any deadlock situations.
It seems this has something to do with multiple parent controls and with which control we invoked on. This should not make a difference, because we have got one UI thread (for MainWindow) they should wait for, but we have seen it does.

The solution that fixed this issue was to invoke on the MainWindow instead of various controls (see a4fe507adf ).

This changeset is changing all our Invokes to invoke into MainWindow
instead of a control itself. (MainWindow's UI thread is the only UI thread
all Control is using in XenCenter)
This changeset should be in place until we have found the root cause or the exact reason for the above.
2015-04-08 15:16:10 +01:00
Stephen Turner
dfab7f9b96 CA-165096: Add null reference check 2015-03-27 16:30:36 +00:00
Cheng Zhang
8519fab118 CA-165096: solve XenCenter slow to find RDP interface
To solve this long latency issue, we will only scan IPs whose PIF link status is connected.

Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-03-27 14:02:48 +08:00
Cheng Zhang
0adbf80b1c CA-165464: Switch to RDP connection on VM with RDP enable if automatically switch selected
This code change is to set “switchOnTabOpened” in below condition:
1.	XenCenter have “Automatically switch to the Remote Desktop console when it becomes available" selected
2.	VM have RDP enabled.
3.	XenServer Version is Cream or greater.

Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-03-24 13:40:28 +08:00
Cheng Zhang
4486dca281 CA-164678: Got incorrect guest screen resolution with user's first switch to Remote Desktop from XenCenter Console
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-03-16 15:02:32 +08:00
Cheng Zhang
ce3bec1231 A-160189: Change RDP button display on Console tab
Remove “Remote access is not enabled on this guest” in cream in below condition:
1.RDP status is on
2.PV driver is cream or greater

Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-02-13 14:18:36 +08:00
Cheng Zhang
c6ccae79d3 CP-10955: rework comments
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-01-28 10:02:19 +08:00
Cheng Zhang
2238b0ac1f CP-10955: XenCenter: use "feature-ts2" to detect Windows RDP feature
1.Add xapi version check in cream since Cream and Creedence have the same platform version
2.Check feature-ts2 to see if turn on RDP feature can use on specific VM PV tool

Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-01-27 14:27:42 +08:00
Cheng Zhang
540338f709 CP-10204: Connect RDP directly if click “Switch to Remote Desktop” since RDP polling removed in Cream
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-01-22 14:56:36 +08:00
Cheng Zhang
961edb3752 CP-10204: Rework comments - part 2
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-01-14 11:46:56 +08:00
Cheng Zhang
98992d3bd2 CP-10204: Rework comments
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-01-12 17:27:31 +08:00
Cheng Zhang
6b6b515fe7 CP-10204: XenCenter: guest RDP control
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-01-09 11:33:53 +08:00
Gabor Apati-Nagy
be0fb37df7 Merge pull request #244 from xenserver/xs64bit
Xs64bit
2014-10-09 16:19:23 +01:00
Gabor Apati-Nagy
d942f9e7f1 CA-148332: Right click on a Windows VM brought up the PV linux copy/paste context menu
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2014-10-08 11:24:41 +01:00
vetrivelc
2ab95c7899 CreedenceLN: Updated the language resource files
New translation checki-ns and language file additions
2014-09-18 15:03:24 +05:30
Gabor Apati-Nagy
c64485adfd CP-9365: XenCenter work for HVM linux support
-Fixing issue found by the reviewer: null reference exception when the VM restarts
2014-09-09 15:46:26 +01:00
Gabor Apati-Nagy
6d652ac135 CP-9365: XenCenter work for HVM linux support
-Unsubscribing from guest_metrics changed event in UnregisterEventListeners()
2014-09-08 12:04:57 +01:00
Gabor Apati-Nagy
c928fd71ec CP-9365: XenCenter work for HVM linux support
-changes following the code review

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2014-09-08 10:38:22 +01:00
Gabor Apati-Nagy
c458d16f7f CP-9365: XenCenter work for HVM linux support
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2014-09-05 16:50:50 +01:00
Stephen Turner
577363a3a1 CA-141389 Log all GET and POST calls 2014-08-07 16:23:06 +01:00
Mihaela Stoica
05880fdaa2 RDP client control: Changed Connected property type to boolean.
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-06-12 15:06:09 +01:00
Mihaela Stoica
8aadc063d4 CA-137236: Fix XenCenter Console crash when switching to remote desktop on Windows Server 2003 SP2
- Reverted "CP-4951: CAR-100: Remove Rdp2 console" because Rdpclient 6.0 is not included in Windows Server 2003 SP2;
- Redone the fix for CA-123779 (Unhandled exception in Console Tab View), by moving RDPSetSettings() call inside a try..catch block, so we handle any exception thrown while setting the rdp client properties.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-06-10 17:12:16 +01:00
Konstantina Chremmou
6d6421265e Merge branch 'master' of github.com:xenserver/xenadmin 2014-01-27 14:20:32 +00:00
Konstantina Chremmou
f5bee7102c Refactored MainWindow to derive from IMainWindow rather than implement a field deriving
from this interface.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2014-01-22 12:39:32 +00:00
Mihaela Stoica
8626a6e854 CA-123779: Fixed unhandled exception in Console Tab View.
Moved RDPSetSettings inside try..catch block, so we handle any exception thrown while setting the rdp client properties.
Also did some refactoring, removing redundant variable rdpClient6.
2014-01-21 16:39:23 +00:00
Gabor Apati-Nagy
5764b2a1c9 CP-4951: CAR-100: Remove Rdp2 console
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2013-11-26 13:55:54 +00:00
Gabor Apati-Nagy
c344e74b95 Revert "CP-4951: CAR-100: Remove Rdp2 console"
This reverts commit df9345d2c4.
2013-11-26 11:19:34 +00:00
Gabor Apati-Nagy
df9345d2c4 CP-4951: CAR-100: Remove Rdp2 console
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2013-11-25 18:28:57 +00:00
Konstantina Chremmou
e9b6c0699b CP-6137: Work in Console tab for vGPU (PR-1675)
# HG changeset patch
# User Mihaela Stoica <Mihaela.Stoica@citrix.com>
# Date 1384254998 0
#      Tue Nov 12 11:16:38 2013 +0000
# Node ID 6b3fc3d7a54e58e92ecfe714d19c8dc26b7a0565
# Parent  2cc90cb50e7ff2566f9d0833ad17735922d3f0c9

- Only close the inactive VNC consoles (not RDP) after an interval

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-14 12:33:02 +00:00
Konstantina Chremmou
ac35aa22bd CP-6137: Work in Console tab for vGPU (PR-1675)
# HG changeset patch
# User Mihaela Stoica <Mihaela.Stoica@citrix.com>
# Date 1384179387 0
#      Mon Nov 11 14:16:27 2013 +0000
# Node ID 4c0609731471aec95b153843469b00811c123c0b
# Parent  6e77f45144cb01c9eba99be74ad9ffd056eeb110

- show the message about connecting with RDP only if is pass-through
- changed the current message to say "pass-through GPU" instead of "dedicated GPU"

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-14 11:59:42 +00:00
Konstantina Chremmou
39392e6aec CP-6317: Importing from branch clearwater-ln.
# HG changeset patch
# User vetrivelc <vetrivel.chinnasamy@citrix.com>
# Date 1375369840 -19800
# Node ID 0bd7c8e13bdbcda6f95dfa4616c9621ee32857d5
# Parent  85e97db6b94e3b8b55d1a06747a1f1b63c58277f
SC T9N Changes + Bug Fix :111776,111806,111874,111226,112233,112234

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-26 13:35:33 +01:00
Konstantina Chremmou
2c184b3ef1 CP-6317: Importing from branch clearwater-ln.
# HG changeset patch
# User vetrivelc <vetrivel.chinnasamy@citrix.com>
# Date 1373384864 -19800
# Node ID 8604c77f3fcf5215b1ae962220cd75be01f21d4c
# Parent  4f3d46c46536366498a79ace2220051eb89b329c
Checking in Localization Changes

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-26 13:00:28 +01:00
Mihaela Stoica
bd36a85bff CP-4816: Initial commit to git repo
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2013-06-24 12:41:48 +01:00