Giter Site home page Giter Site logo

qtnx's Introduction

  qtnx: A Qt-based NX client linking to nxcl

  George Wright. January 2008. [email protected]

This is an update of the experimental QtNX client which was based on the
now deprecated NXClientLib backend library. This is an experimental port
to Seb James' nxcl library.

Building qtnx
-------------

Prerequisites are:

* libXcomp from NoMachine, provided by the nxcomp package.
* nxssh from NoMachine
* nxproxy from NoMachine
* nxcl from the FreeNX subversion repository

(These three NX components all should be from the 3.x.x series. You can
obtain them from NoMachine's servers at http://www.nomachine.com/sources.php)

Read the nxcl README for details of the first three packages. You will not need
to build the nxcmd daemon nor the doxygen API documentation.

To build QtNX you will need Qt 4.x. You need to run the following commands:

$ qmake
$ make

This will generate a qtnx binary in that directory; install it to /usr/bin
or anywhere you want.

Win32 Builds
------------

In order to build on Win32, you will need a full Cygwin setup. Ensure you have
pkg-config installed in cygwin.

Build Qt 4.3.3 as per the instructions on http://wiki.lyx.org/LyX/LyXOnCygwin;
you will, however, need to patch Qt. Line 528 in src/corelib/codecs/qtextcodec.cpp
should also contain an extra conditional:

&& !defined(Q_CYGWIN_WIN)

You can then build Qt without any trouble by following those instructions. Ensure
you also build the XML module and install qmake and mkspecs.

Afterwards, set QTDIR to point to wherever you installed Qt to, and set the
PATH to point to QTDIR/bin as well:

$ export QTDIR=/usr/local/src/qtwin-4.3.3
$ export PATH=$QTDIR/bin:$PATH

You can then build qtnx normally with the standard steps:

$ qmake
$ make

Mac OS X Builds
---------------

Ensure that you have a build of Qt 4 on OS X, then run qmake from $QTDIR/bin.

Standard procedure then follows:

$ qmake
$ make

You can then put statically linked versions of nxssh and nxproxy and id.key in
qtnx.app/Contents/MacOS - it should then all just work.

qtnx's People

Contributors

gw280 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

qtnx's Issues

readme is not correct

I am trying to build qtnx and I found myself unable. I am using Linux with qt4 and libxcomp. The readme advices me to
$ qmake
$ make

But when I do this, qmake outputs

tweedleburg:~/QtNX # qmake
Usage: qmake [mode] [options] [files]

QMake has two modes, one mode for generating project files based on
some heuristics, and the other for generating makefiles. Normally you
shouldn't need to specify a mode, as makefile generation is the default
mode for qmake, but you may use this to test qmake on an existing project

Mode:
-project Put qmake into project file generation mode
In this mode qmake interprets files as files to
be built,
defaults to *.c; *.ui; *.y; *.l; *.ts; *.xlf; *.qrc; *.h; *.hpp; *.hh; *.hxx; *.H; *.cpp; *.cc; *.cxx; *.C
Note: The created .pro file probably will
need to be edited. For example add the QT variable to
specify what modules are required.
-makefile Put qmake into makefile generation mode (default)
In this mode qmake interprets files as project files to
be processed, if skipped qmake will try to find a project
file in your current working directory

Warnings Options:
-Wnone Turn off all warnings; specific ones may be re-enabled by
later -W options
-Wall Turn on all warnings
-Wparser Turn on parser warnings
-Wlogic Turn on logic warnings (on by default)
-Wdeprecated Turn on deprecation warnings (on by default)

Options:

  • You can place any variable assignment in options and it will be *
  • processed as if it was in [files]. These assignments will be parsed *
  • before [files]. *
    -o file Write output to file
    -d Increase debug level
    -t templ Overrides TEMPLATE as templ
    -tp prefix Overrides TEMPLATE so that prefix is prefixed into the value
    -help This help
    -v Version information
    -after All variable assignments after this will be
    parsed after [files]
    -norecursive Don't do a recursive search
    -recursive Do a recursive search
    -set Set persistent property
    -unset Unset persistent property
    -query Query persistent property. Show all if is empty.
    -cache file Use file as cache [makefile mode only]
    -spec spec Use spec as QMAKESPEC [makefile mode only]
    -nocache Don't use a cache file [makefile mode only]
    -nodepend Don't generate dependencies [makefile mode only]
    -nomoc Don't generate moc targets [makefile mode only]
    -nopwd Don't look for files in pwd [project mode only]

I think qtnx is a very important program and I would love to help with my bug reports - can we fix the readme so the described build process works?

qtnx under Ubuntu 12.04 - using 100% CPU & not connecting (no network activity).

Hi. I'm running Ubuntu 12.04 and qtnx 0.9-3 (from their repos). I'm trying to connect to an OSX machine running NoMachine.

Under "configure", I put in the IP of the server and check "use default key". Platform is Unix/Gnome. I leave the advanced tab as is ("use ssh tunneling"). For uname/password, I put in the uname/pwd of the server. When I hit "connect", CPU use goes up to 100% and there is no network activity.

The only thing the logging output shows is:

"Process started
"stderr> Pseudo-terminal will not be allocated because stdin is not a terminal."

I have to kill it using the command line.

Thoughts?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.