[FreeNX-kNX] Packaging FreeNX 0.7 for Debian
Leopold Palomo-Avellaneda
lepalom at wol.es
Thu Jul 12 15:41:36 UTC 2007
Hi,
first of all you should think that have a package that could be included in
debian or similar is a bit impossible _now_ because of duplication of code
and some licensing issues.
Also, I would like to comment you that we are trying to create, or reborn the
freenx project in the way to make a fork of the nx libs, and trying to solve
all this problems.
If you would like to work in this, there's a group pkg-nx-group that is
working in this for debian. Otherwise, think that it's better to control the
server+ libs+ client stuff coordinated.
Regards,
Leo
A Dijous 12 Juliol 2007 15:26, Aleksander Adamowski va escriure:
> Hi!
>
> I'm trying to package FreeNX 0.7.0 for Debian, basing my work on the
> sources from http://packages.debianbase.de/sources/nx/ .
>
> Here's the result so far:
> http://olo.org.pl/files/debian/freenx/
>
> I'm using this on Debian Etch. I'm using the NX libraries from
> http://packages.debianbase.de/etch/i386/nx/ since the attempt to build
> the debs from sources fails, and the latest sources from NX (3.0) look
> quite different so I don't think I can easily generate new upstream
> debs for the NX stuff.
>
> Here's what NX stuff is installed from binaries on my machine:
> 2007-07-12 14:30:02 install libxcomp1 <none> 1.4.92+1.5.0-4
> 2007-07-12 14:30:02 status half-installed libxcomp1 1.4.92+1.5.0-4
> 2007-07-12 14:30:02 status unpacked libxcomp1 1.4.92+1.5.0-4
> 2007-07-12 14:30:02 status unpacked libxcomp1 1.4.92+1.5.0-4
> 2007-07-12 14:30:02 install libxcompext1 <none> 1.4.92+1.5.0-4
> 2007-07-12 14:30:02 status half-installed libxcompext1 1.4.92+1.5.0-4
> 2007-07-12 14:30:02 status unpacked libxcompext1 1.4.92+1.5.0-4
> 2007-07-12 14:30:02 status unpacked libxcompext1 1.4.92+1.5.0-4
> 2007-07-12 14:30:02 install nxlibs <none> 1.4.92+1.5.0-4
> 2007-07-12 14:30:02 status half-installed nxlibs 1.4.92+1.5.0-4
> 2007-07-12 14:30:02 status unpacked nxlibs 1.4.92+1.5.0-4
> 2007-07-12 14:30:02 status unpacked nxlibs 1.4.92+1.5.0-4
> 2007-07-12 14:30:03 install nxagent <none> 1.4.92+1.5.0-4
> 2007-07-12 14:30:03 status half-installed nxagent 1.4.92+1.5.0-4
> 2007-07-12 14:30:03 status unpacked nxagent 1.4.92+1.5.0-4
> 2007-07-12 14:30:03 status unpacked nxagent 1.4.92+1.5.0-4
> 2007-07-12 14:30:03 status unpacked libxcomp1 1.4.92+1.5.0-4
> 2007-07-12 14:30:03 status half-configured libxcomp1 1.4.92+1.5.0-4
> 2007-07-12 14:30:06 status installed libxcomp1 1.4.92+1.5.0-4
> 2007-07-12 14:30:06 status unpacked libxcompext1 1.4.92+1.5.0-4
> 2007-07-12 14:30:06 status half-configured libxcompext1 1.4.92+1.5.0-4
> 2007-07-12 14:30:06 status installed libxcompext1 1.4.92+1.5.0-4
> 2007-07-12 14:30:06 status unpacked nxlibs 1.4.92+1.5.0-4
> 2007-07-12 14:30:06 status half-configured nxlibs 1.4.92+1.5.0-4
> 2007-07-12 14:30:06 status installed nxlibs 1.4.92+1.5.0-4
> 2007-07-12 14:30:06 status unpacked nxagent 1.4.92+1.5.0-4
> 2007-07-12 14:30:06 status half-configured nxagent 1.4.92+1.5.0-4
> 2007-07-12 14:30:06 status installed nxagent 1.4.92+1.5.0-4
>
> Then comes my freenx-0.7.0 deb.
>
> I've installed it, configured and launched it, but when I connect from
> a client (NX Version 2.1.0-9), the authentication succeeds (using su),
> but then the client terminates without an error message, and on the
>
> server the processes remain running and I have to kill them manually:
> | `-sshd,26283
> | `-sshd,26285,nx
> | `-netcat,26286 127.0.0.1 5000
> | `-nxserver,26443 /usr/lib/nx/nxserver -c
> | /usr/lib/nx/nxserver
> |
> | |-nxserver,26444 /usr/lib/nx/nxserver -c
>
> /usr/lib/nx/nxserver
>
> | | |-nxserver,26462 /usr/lib/nx/nxserver -c
>
> /usr/lib/nx/nxserver
>
> | | | `-nxnode-login,26465
>
> /usr/lib/nx/nxnode-login -- su olo /usr/lib/nx/nxnode --startsession
>
> | | | |-su,26467,olo - olo -c
>
> /usr/lib/nx/nxnode\040--startsession
>
> | | | | `-nxnode,26472
>
> /usr/lib/nx/nxnode --startsession
>
> | | | | |-nxnode,26627
>
> /usr/lib/nx/nxnode --startsession
>
> | | | | | |-nxnode,26628
>
> /usr/lib/nx/nxnode --startsession
>
> | | | | | | `-nxagent,26630
>
> -persistent -R -name
> NX\040-\040olo at host-44-181:1000\040-\040vm\040(GPL\040Edition)
> -option/home/olo/.nx
> /C-host-44-181-1000-349E3
>
> | | | | | |-nxnode,26633
>
> /usr/lib/nx/nxnode --startsession
>
> | | | | | `-tee,26632
>
> /home/olo/.nx/C-host-44-181-1000-349E3A103C8C8353315F88777726E665/session
>
> | | | | `-nxnode,26634
>
> /usr/lib/nx/nxnode --startsession
>
> | | | | `-xterm,26644
> | | |
> | | | `-{nxnode-login},26466
> | |
> | | `-tee,26464 -a /var/log/nxserver.log
> |
> | `-nxserver,26449 /usr/lib/nx/nxserver -c
>
> /usr/lib/nx/nxserver
>
> The /var/log/nxserver.log file looks like this:
>
> HELLO NXSERVER - Version 1.5.0-70 OS (GPL)
> NX> 105 hello NXCLIENT - Version 1.5.0
> NX> 134 Accepted protocol: 1.5.0
> NX> 105 SET SHELL_MODE SHELL
> NX> 105 SET AUTH_MODE PASSWORD
> NX> 105 login
> NX> 101 User: olo
> NX> 102 Password:
> Info: Auth method: passdb ssh su
> NX> 103 Welcome to: host-44-181 user: olo
> NX> 105 listsession --user="olo" --status="suspended,running"
> --geometry="1024x768x24+render" --type="unix-application"
> NX> 127 Sessions list of user 'olo' for reconnect:
>
> Display Type Session ID Options
> Depth Screen Status Session Name
> ------- ---------------- -------------------------------- --------
> ----- -------------- ----------- ------------------------------
>
>
> NX> 148 Server capacity: not reached for user: olo
> NX> 105 startsession --rootless="1" --virtualdesktop="0"
> --application="xterm" --link="adsl" --backingstore="1" --nodelay="1"
> --encryption="1" --cache="32M" --images="12
> 8M" --media="0" --session="vm" --type="unix-application"
> --kbtype="pc102/pl" --screeninfo="800x600x24+render"
>
> &rootless=1&virtualdesktop=0&application=xterm&link=adsl&backingstore=1&nod
>elay=1&encryption=1&cache=32M&images=128M&media=0&session=vm&type=unix-appli
>cation&kbtype=pc102
> /pl&screeninfo=800x600x24+render&clientproto=1.5.0&user=olo&userip=87.204.2
>6.94&uniqueid=349E3A103C8C8353315F88777726E665&display=1000&host=127.0.0.1
> Password:
> NX> 1000 NXNODE - Version 1.5.0-70 OS (GPL)
> server_nxnode_echo: NX> 1000 NXNODE - Version 1.5.0-70 OS (GPL)
> NX> 700 Session id: host-44-181-1000-349E3A103C8C8353315F88777726E665
> NX> 705 Session display: 1000
> NX> 703 Session type: unix-application
> NX> 701 Proxy cookie: 11041d0a9b1d068cd867b0c77a856e35
> NX> 702 Proxy IP: 127.0.0.1
> NX> 706 Agent cookie: 11041d0a9b1d068cd867b0c77a856e35
> NX> 704 Session cache: unix-application
> NX> 707 SSL tunneling: 1
> server_nxnode_echo: NX> 700 Session id:
> host-44-181-1000-349E3A103C8C8353315F88777726E665
> server_nxnode_echo: NX> 705 Session display: 1000
> server_nxnode_echo: NX> 703 Session type: unix-application
> server_nxnode_echo: NX> 701 Proxy cookie: 11041d0a9b1d068cd867b0c77a856e35
> server_nxnode_echo: NX> 702 Proxy IP: 127.0.0.1
> server_nxnode_echo: NX> 706 Agent cookie: 11041d0a9b1d068cd867b0c77a856e35
> server_nxnode_echo: NX> 704 Session cache: unix-application
> server_nxnode_echo: NX> 707 SSL tunneling: 1
> NX> 710 Session status: running
> server_nxnode_echo: NX> 710 Session status: running
> NX> 1002 Commit
> server_nxnode_echo: NX> 1002 Commit
> NX> 1006 Session status: running
> session_status 349E3A103C8C8353315F88777726E665 Running
> server_nxnode_echo: NX> 1006 Session status: running
> NX> 105 bye
> Bye
> NX> 999 Bye
>
> Any Ideas what could be wrong?
>
> I'd really like to bring NX+FreeNX to Debian, but this looks too
> problematic currently.
More information about the FreeNX-kNX
mailing list