Troubleshooting Sun Ray Connector for VMware VDM
By mprove on Dec 02, 2008
[originally posted by Sarah Fortune 3-Dec-2008, updated 26-May-2009]
This page is updated as more solutions become available, also see this page for keyboard issues.
The log messages for the VDM connector are located in /var/opt/SUNWut/log/messages
Look for messages beginning with 'kiosk:vdm'.
It may also be helpful to look at the VDM Connection Broker log
messages, they can be found in the VDM web administration under Events.
Error connecting to VDM server: javax.net.ssl.SSLException: java.lang.RuntimeException
Error: Error connecting to VDM server: javax.net.ssl.SSLException:java.lang.RuntimeException:
Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
The SSL certificate is not set up correctly on the Sun Ray server. Follow the instruction here: http://blogs.sun.com/mprove/entry/setting_up_ssl_and_sun
This desktop is currently not available. Please try connecting to this desktop again later or contact your system administrator.
The desktop sources for this desktop are not responding. Please try connecting to the desktop again later, or contact your system administrator
There are several causes for these error messages. They usually means the desktop is not set up properly, or is already in use.
Some of the possibilities are:
- Some one is already logged in that machine (over remote desktop or via the console in VirtualCenter).
- The machine is powering on/off or suspending.
- There are no free desktops for that user.
- The VDM tools are not installed on the desktop, or are not
working correctly. Check that the desktop status is available in the VDM
- Active Directory and/or DNS is not setup properly on the desktop.
- There is a network communication problem between the VDM server and the desktop.
- Windows firewall is blocking connections to the desktop.
There may be more details in the VDM event log in the web administration. You can get help with the VDM configuration on the VMware communities site.
Connection tunneling is required to connect to the desktop but it is not supported by this client
Connection tunneling provides security across a WAN. It allows an encrypted connection from the client to the desktop, by tunneling it through the VDM server. To use the Sun Ray VDM connector, you need to disable connection tunneling.
Open the VDM web administration, go to Configuration and enable
"Direct Connect to virtual desktop"
Open the VDM web administration, go to Configuration > VDM Servers > Edit, and enable
"Direct connection to desktop"
Exception in thread "main" java.lang.NoClassDefFoundError
Nov 14 07:14:02 host
kiosk:vdm: [ID 702911 user.error] Error: Could not locate Virtual
Machine for 'pseudo.0836f860ab8': exit code: 1 Exception in thread
Nov 14 07:14:02 host at com.sun.ut.vdm.VdmClient.<init>(VdmClient.java:27)
Nov 14 07:14:02 host at com.sun.ut.vdm.VdmClient.main(VdmClient.java:38)
Nov 14 07:14:02 host Caused by: java.lang.ClassNotFoundException: com.sun.java.help.impl.SwingWorker
Nov 14 07:14:02 host at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
Nov 14 07:14:02 host at java.security.AccessController.doPrivileged(Native Method)
Nov 14 07:14:02 host at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
Nov 14 07:14:02 host at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
Nov 14 07:14:02 host at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
Nov 14 07:14:02 host at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
Nov 14 07:14:02 host at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
Nov 14 07:14:02 host ... 2 more
This error occurs if you are using an incorrect version of Java,
Java 1.5 is the supported version. If you want to use Java 6 you will
need the Java 1.6 update 12 JDK.
Desktop tries to open but immediately disconnects
Dec 3 12:41:17 host kiosk:vdm: [ID 702911 user.error] uttsc exited with errorcode: 1
There are several reasons why this error message can occur. To
diagnose the problem further, try to connect to the desktop manually
from the Sun Ray Server using:
/opt/SUNWuttsc/bin/uttsc <desktop IP>
It should open a remote desktop connection to the virtual machine. If it fails, it can give you an error message with some further information.
This desktop is not currently available
Hotdesking is not enabled in the Sun Ray VDM Connector 1.0, so if your desktop session is already in use, it will be unavailable if you try to use it from a Sun Ray client. Yes, this is contradicatory to the behaviour of other clients, but it has been fixed in version 1.1.
Usernames containing spaces are not correctly detected
If the user name assigned to a token contains spaces, then only part of the name will be automatically entered in the login window.
There is a problem with how spaces in the user name are handled in
the kiosk scripts. You can get versions of the scripts containing the
fix here: vdm and vdm-user.sh. You will need to replace the files:
It is necessary to restart any existing kiosk sessions for the changes to be applied.