[FreeNX-kNX] Ubuntu PPA package broken?

Yang Zhang yanghatespam at gmail.com
Mon Apr 4 03:34:08 UTC 2011


Hi, the Ubuntu 10.04 package of freenx from the PPA seems to have a
syntax error on line 13 of the Upstart conf. Is something wrong with
my installation? Thanks in advance.

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 10.04.2 LTS
Release:        10.04
Codename:       lucid

$ apt-cache policy freenx
freenx:
  Installed: 0.7.3.git100327.e224628-0~ppa7~lucid
  Candidate: 0.7.3.git100327.e224628-0~ppa7~lucid
  Version table:
 *** 0.7.3.git100327.e224628-0~ppa7~lucid 0
        500 http://ppa.launchpad.net/freenx-team/ppa/ubuntu/ lucid/main Packages
        100 /var/lib/dpkg/status

$ sudo service freenx-server status
start: Unknown job: freenx-server

$ sudo initctl reload-configuration

$ tail -1 /var/log/syslog
Apr  3 20:26:45 zs init: /etc/init/freenx-server.conf:13: Unknown stanza

$ cat /etc/init/freenx-server.conf
# apport - automatic crash report generation
#
# While this job is active, core dumps will captured by apport and
# used to generate automatic crash reports.

description     "automatic crash report generation"

start on runlevel [2345]
stop on runlevel [!2345]

env enabled=1

PATH_BIN=/usr/lib/nx

pre-start script
    if [ ! -e "/var/run/freenx-server" ]; then
        [ ! -d "/tmp/.X11-unix" ] && mkdir -m1755 /tmp/.X11-unix/
        $PATH_BIN/nxserver --cleanup
        $PATH_BIN/nxserver --start
        touch "/var/run/freenx-server";
    else
        echo "Not starting freenx-server, it's already started."
    fi
end script

post-stop script
    $PATH_BIN/nxserver --stop
    $PATH_BIN/nxserver --cleanup
    rm -f /var/run/freenx-server
end script

-- 
Yang Zhang
http://yz.mit.edu/



More information about the FreeNX-kNX mailing list