How to get NX Client to connect to an existing session

Writing by on Tuesday, 30 of November , 2010 at 4:51 pm

I’ve been trying to do this for a while and finally found out how it’s done.
Use the Shadow option.

In the NX Client Configuration GUI –> General Tab –> Desktop Section –> Select Shadow in the drop down.
Then login and select which session to attach to (Local Machine, or any other session)

That should do it!

Couple of things to remember, even though NX does an excellent job and I love NX:

  • Since my local machine has a Dual monitor configuration (with different resolutions), I had some blur issues (even when my client spanned two monitors) – Yes I have 4 monitors (2 for Windows and 2 for Linux)
  • When connecting from my laptop (single monitor), the dual monitor layout on the local machine was squeezed into a single screen and made it difficult to read

Leave a comment

Category: Linux

Alt+Tab Key combination doesn’t work with NX Client

Writing by on Tuesday, 16 of November , 2010 at 10:05 pm

Alt+Tab key combination catching can be achieved through a slight configuration change in your NX Client session.

In the NX Client GUI -> Advanced tab…
Check the Grab the keyboard when the client has focus

Leave a comment

Category: Tips and Tricks

Convert list of string List to string array String[] in Java

Writing by on Tuesday, 16 of November , 2010 at 1:19 pm

This is such a common task, yet needs a bit of thinking.

List <string> strList = getListOfString();
String[] strArr = strList.toArray(new String[strList.size()]);

Leave a comment

Category: Java

Implement a case insensitive contains() method for Java String class

Writing by on Friday, 12 of November , 2010 at 12:57 pm

One simple solution is to convert both strings to lower case and then use the contains() method.

public boolean containsIgnoreCase(String longString, String shortString) {
    return (longString.toLowerCase().contains(shortString.toLowerCase()));
}

Leave a comment

Category: Java

Shivdev Kalambi's Blog

Shivdev Kalambi is a Software Development Manager, previously a Principal Software Engineer at ArcSight/HP. With over 16 years' experience in software development, he's worked on several technologies and played different roles and contributed to all phases of projects. Non-tech activies include Ping-pong, Rock Climbing and Yoga at PG, Golf, Skiing, Swimming & a beer enthusiast.