Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. From the "CNF Applications" menu, open both an XTerm and a Korat or Minx window.
  2. In the Korat or Minx window, type in:

    Code Block
    languagebash
    $ xpra start --start=netbeans
    /* OR INSTEAD for ipython: */
    $ xpra start --start=xjetstream
    Entering daemon mode; any further errors will be reported to: 
    ActalActual display used: :1
    Actual log file name is now:

    Note the number after the colon in the output from the "Actual display used" line. You can also list your displays with the following in the Korat or Minx window:

    Code Block
    languagebash
    $ xpra list
    Found the following xpra sessions:
    /afs/cnf.cornell.edu/.../.xpra:
         LIVE session at :1
  3. In the XTerm window, connect to your xpra display with (making appropriate substitutions for <username>, <korat_or_minx>, and <display number>:

    Code Block
    languagebash
    $ xpra attach ssh:<username>@<korat_or_minx>:<display number>

    You will see a bunch of error output and then your netbeans window will appear.

  4. Due to a bug in xpra, the menus do not always have proper mouse focus. This makes clicking on menu items hard. If you simply grab the title bar of the netbeans window and move the window slightly, the menus will now work properly. Occasionally, you will have to go back and do this.
  5. After quitting netbeans or ipython, in your Korat or Minx window, quit the xpra server with (you might need to press RETURN once to get a prompt):

    Code Block
    languagebash
    $ xpra stop :<display number>
    server requested disconnect: server shutdown
    xpra at :<display number> has exited.
     

    This will also quit xpra in the regular XTerm window.

...