Package: freenx
Version: 0.4.4+0.4.5-3
Severity: normal
Tags: patch

My NXClient starts, authenticates, talks to the remote freenx and seems
to have gone through all the necessary steps yet I didn't get connected
and got timed-out or "lost connection" errors [1] (the NXClient doesn't
start a new window or a virtual desktop, etc) after much looking I finally
guessed that it might have been a fonts problem on the nxserver side and
I was right.  Many have complained about this (such as in this post/thread
[2]) yet there hasn't been much of a discussion regarding how to address
this problem.  A solution is presented below.

FONT Solution
-------------
In your /etc/nxserver/node.conf add the following lines (or replace
the relevant empty comments sections with),

 XSERVER_CONF="/etc/X11/xorg.conf"
 AGENT_EXTRA_OPTIONS_X="-fp $(echo $(grep -v '^ *#' $XSERVER_CONF | grep 
FontPath | awk '{print $2}' | sed -r "s/^[\"']|[\"']$//g") | sed 's/ /,/g')"

Note the XSERVER_CONF could be what is noted above or "/etc/X11/XF86Config-4"

NO COLOR Solution
-----------------
If your NXClient finally does start yet you can't seem to see the proper
colors (or you end-up with a black-on-black screen) do the following,

 sudo ln -s /etc/X11/rgb.txt /usr/X11R6/lib/X11/rgb.txt

The nxagent (part of freenx) has /usr/X11R6/lib/X11/rgb.txt hard-coded
instead of providing an option to point to where it needs to be (possibly
via the node.conf file).

I've spent close to 4-days (on-n-off) on this and I'm sure there are
others that might appreciate these pointers/solutions.

NOTE: the meta key within the NXClient doesn't seem to work
      (but that is minor related to what is noted above).

[1] "Error: Lost connection to peer proxy on FD#10"
[2] http://mail.kde.org/pipermail/freenx-knx/2006-July/003676.html

Regards,

 - Nadim


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages freenx depends on:
ii  adduser                   3.97           Add and remove users and groups
ii  bash                      3.1-5          The GNU Bourne Again SHell
ii  debconf [debconf-2.0]     1.5.3          Debian configuration management sy
ii  expect                    5.43.0-7       A program that can automate intera
ii  netcat                    1.10-32        TCP/IP swiss army knife
ii  nxagent                   1.4.92+1.5.0-4 NoMachine NX - nesting X server wi
ii  ssh                       1:4.3p2-3      Secure shell client and server (tr
ii  xbase-clients             1:7.1.ds-3     miscellaneous X clients
ii  xfonts-base               1:1.0.0-3      standard fonts for X

freenx recommends no packages.

-- debconf information:
  freenx/configured: true
  freenx/no_shadow:
* freenx/key_type: NoMachine Keys


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to