Easy Switching RDP and PCoIP Protocol with VMware View
I recently use quite a lot of VMware View because my development environment is a VDI desktop. By default, the PCoIP protocol is used and things just work as expected.
As a power user, I didn’t find PCoIP convenient sometimes, especially when copying files between my physical desktop and my virtual desktop. I ended up using a FTP server instead of drag and drop. It worked but not as quite convenient as I expected it to be.
Lost VMs or Containers? Too Many Consoles? Too Slow GUI? Time to learn how to "Google" and manage your VMware and clouds in a fast and secure HTML5 App.
Weeks ago, my colleague told me that I should try RDP. He then did a little tweak on my View Client. Basically when the View Client was about to start, he quickly clicked a small button and changed the option to RDP. Not that straightforward. But after that, I can drag and drop file from my physical desktop to the VDI.
After that, I did a little research by myself and found a little trick to easily pick either protocol. I first duplicated the existing View Client shortcut on my physical desktop, and named them to “View RDP” and “View PCoIP” respectively. Then, I right clicked the “View RDP” shortcut and selected the “Properties” menu item to bring up a dialog box as shown below:
I changed the target to something like this (Notice the important part is the “-desktopProtocol RDP” at the end):
"C:\Program Files\VMware\VMware View\Client\bin\wswc.exe" -desktopProtocol RDP
I repeated the above step with “View PCoIP” shortcut with the following target value:
"C:\Program Files\VMware\VMware View\Client\bin\wswc.exe" -desktopProtocol PCoIP
After these changes, I can pick either protocol with one click. Better than I expected, I can easily switch between these two protocols on the fly. For example, while using PCoIP, I double click the “View RDP” and get the following dialog box after picking the VDI desktop. After my acknowledgement, View Client re-connects to VDI with new protocol without asking login again, which is very convenient.