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

Is the iPhone coming to Verizon in 2011

Writing by on Thursday, 7 of October , 2010 at 10:19 am

It is inevitable. With the surge of Android based phones and reports that sales have overtaken the iPhone, Apple has to go beyond AT&T and attract customers that prefer other carriers. Soon, Apple iPhones will become available on Verizon and Sprint. Are we going to see another version Mac vs PC war again? Is Google’s Android going to emerge victorious? Microsoft is coming with the Windows Phone 7 OS and rumours are that Motorola is collaborating with them.

I’ve been using Research in Motion’s Blackberry Storm for over two years now and having played around with their crappy SDK, I personally think it’s the end of their reign. So, what about HP’s Palm acquisition and their Palm Web OS? Palm was on it’s last legs until they were rescued by HP, but how they’re going to compete with the Androids and iPhones remains to be seen.

The phone market definitely seems hot right now and so many players cranking out the coolest software, the state-of-the-art hardware and the carriers coming up with interesting deals to screw their customers, I wonder when I’d be able to go to a store pick up a phone I like, install any OS I like and use any carrier I want without being on a damn contract? In the meantime, I’m eligible for an upgrade starting tomorrow Oct 8th and I can’t wait to get rid of my Blackberry and go with an Android, but would it be worth to wait and go with the “cool” iPhone? I would go with an Android, but my wife seems rather anxious to get the iPhone and hasn’t done it because AT&T won’t work in our house.

Leave a comment

Category: Android,News

Cannot delete file because it’s being used by another person or program.

Writing by on Sunday, 3 of October , 2010 at 9:23 pm

I was trying to delete a .zip file and wasn’t able to delete it because Google Desktop was holding on to it. I found from computerhope.com a cool tool Unlocker that can unlock these locks held by other programs. It also tells you what programs are holding these locks.

It does it’s job well, but silently installs Bing Toolbar whether you choose to or not. Gosh! Microsoft has the money to spend to promote Bing!

Leave a comment

Category: Tools

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.