theKindOfMe

December 7, 2008

Netbeans, NX server/client and Ubuntu

Filed under: Uncategorized — Tags: , , — yasi8h @ 5:13 pm

when i am using Netbeans to code i usually run it in my desktop because it is a bit resource hoggy(well i am saying this while jugging it by my standard’s. i only have 512 in my lap). i do this using NX. i have a NX server running in my desktop while my client has NX client. both machines are running Ubuntu(what else ;)). desktop is running 8.04 and the lap is running 8.10. so what am i writing all these in my blog? well i came across some problems while using the above setup. so i thought of noting them here.

Keyboard gone nuts: pressing the Arrow(↑) on the client(while logged in to the host via NX) brings up “Take Screenshot”

this is apparently a common issue. you would find plenty of materials on this if you google about it. for me the fix was setting the Keyboard model to Evdev Managed Keyboard in the Desktop(Host). you can go there through Preferences -> Keyboard preferences…

Screen fails to update/refresh it self as needed while on Netbeans, making it confusing to read the source code

this issue was a show stopper for me. i needed to code and with this i cannot. basically the issue is like this. when you are in netbeans writing some code, if you try to scroll an already opened text file, down and up again. the text get scrambled. basically some lines of code gets duplicated. for this to happen you should scroll the document down and then scroll it up again. this is only a display issue. so if you some how managed to refresh that ‘area of the screen’ you can see the code as it is.

after trying different options in the NX client. it seems that disabling the shared memory option in NX client’s display options do the trick. at least it works for me(in the login dialog click configure -> display setting tab -> display options -> disable shared memory).

i love netbeans. its pretty neat stuff. and NX is much better than VNC and stuff. so right now i can code using netbeans which is running in my desktop with a lot of resources, through my lap, which is in a very ‘physicaly’ reachable and comfortable place for me. in case if you are wondering why i can’t just use the desktop it self. well i can. but its not very comfortable due to bad furniture…. it hurts my hands. so that’s the reason i am using my lap.

How to switch from the full screen mode in NX client

simply take your mouse to the top right corner of your screen and click(the pixel in the top most right corner). cool ha? i found it through… google of course! 🙂

alright now i’m goning to sleep…

Advertisements

11 Comments »

  1. I am also suffering from the scrambled text issue. In my case, I am not using VNC or any form of X forwarding. I am just physically sitting at my desktop and tapping away. This happened to me with Netbeans 6.1 and now it’s happening with 6.5 and also 6.7 (pre release)

    Comment by e4c5 — March 11, 2009 @ 8:51 am

  2. @e4c5 disabling shared memory solved it for me. i know you are not using NX. but NX has its own video driver…etc and i think shared memory is some extension that comes with X. try disabling it. it might solve your problem.

    Comment by yasi8h — March 11, 2009 @ 10:30 am

  3. The scrambled screen thing rendered Netbeans unusable via NXClient. The shared memory option solved it for me, many thanks for taking the time to post this. You are a hero!

    Comment by Mike Farewell — June 5, 2009 @ 2:15 pm

    • I’m glad that you found this post helpful.

      Comment by yasi8h — August 22, 2009 @ 3:52 pm

  4. Very useful tips! Scrolling problem is/was annoying.

    Comment by vesko — August 22, 2009 @ 12:58 pm

    • were able to fix it? or not?

      Comment by yasi8h — August 22, 2009 @ 3:53 pm

  5. Thanks for your post! It solved my similar problem (Netbeans at ubuntu desktop – NX from XP laptop). It is the same option to change but apparently in different place in the latest version of the windows client …
    Configure -> General (Tab) -> In Display section tick Use Custom Settings -> Settings -> Disable the shared memory extension

    Voila!
    Love google!

    Comment by truthy — October 22, 2009 @ 7:13 am

    • Glad to be of any help. thank you for your input!

      Comment by yasi8h — October 22, 2009 @ 8:22 am

  6. The “Disable shared memory extension” doesn’t work for me. Text is still scrambled like hell. But probably because I’m using neatx-server. Trying to reinstall freenx-server instead right now…

    Comment by Phuong — October 3, 2010 @ 2:33 pm

  7. Well, with all the latest versions of freenx-server & nx-client, the scrambled text is still there. That what NoMachine & Oracle called progress.

    Comment by Phuong — October 3, 2010 @ 2:52 pm

  8. Oracles in this too? well then…. 🙂

    Comment by yasi8h — October 3, 2010 @ 2:54 pm


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: