[FreeNX-kNX] No Cups Printing in Fedora Core 5

Alastair Johnson alastair at solutiontrax.com
Fri Sep 8 18:45:04 UTC 2006


FreeNX won't do cups printing out of the box anyway. I have had it printing 
from FC3 with CUPS 1.1.x with a couple of variations. You should find the 
changes to be made if you search the list archive. I've not rolled them up 
into a patch though, partly because one of the changes requires the 
non-localhost name or IP of the server.

FC5 is a brings a new problem to the game. Cups 1.2.x as used by FC5 seems not 
to like the way FreeNX uses it to create a cupsd running as the user. I 
haven't worked out yet if this is because we need to specify different things 
in the cupsd.conf we create, or if it just doesn't like to be used this way 
any more. I've not got my head round all the many changes the new cups 
version brings, but if we can sort cups we should be able to get transparent 
printing via cups and samba working on FreeNX.

On Thursday 07 September 2006 14:34, Andreas Tolle wrote:
> Hello,
>
> I'm using Fedora Core 5, cups 1.2.3, freenx 0.5.0, nx 2.0.0 (from the
> fc5-extras) and the nomachine client nxclient 2.0.0-98.
> Unfortunately the cups-printing don't work.
>
> The .nx/cups/error_log tells:
>
> ---begin-error_log---
> I [07/Sep/2006:14:24:20 +0200] Listening to :::20000 (IPv6)
> I [07/Sep/2006:14:24:20 +0200] Listening to 0.0.0.0:20000 (IPv4)
> I [07/Sep/2006:14:24:20 +0200] Loaded configuration file
> "/home/john/.nx/cups/cupsd.conf"
> W [07/Sep/2006:14:24:20 +0200] Repairing ownership of "/var/cache/cups"
> E [07/Sep/2006:14:24:20 +0200] Unable to change ownership of
> "/var/cache/cups" - Operation not permitted
> W [07/Sep/2006:14:24:20 +0200] Repairing ownership of "/var/run/cups"
> E [07/Sep/2006:14:24:20 +0200] Unable to change ownership of
> "/var/run/cups" - Operation not permitted
> W [07/Sep/2006:14:24:20 +0200] Repairing access permissions of
> "/var/run/cups/certs"
> E [07/Sep/2006:14:24:20 +0200] Unable to change permissions of
> "/var/run/cups/certs" - Operation not permitted
> W [07/Sep/2006:14:24:20 +0200] Repairing ownership of
> "/home/john/.nx/cups"
> E [07/Sep/2006:14:24:20 +0200] Unable to change ownership of
> "/home/john/.nx/cups" - Operation not permitted
> E [07/Sep/2006:14:24:20 +0200] Creating missing directory
> "/home/john/.nx/cups/ppd"
> W [07/Sep/2006:14:24:20 +0200] Repairing ownership of
> "/home/john/.nx/cups/ppd"
> E [07/Sep/2006:14:24:20 +0200] Unable to change ownership of
> "/home/john/.nx/cups/ppd" - Operation not permitted
> W [07/Sep/2006:14:24:20 +0200] Repairing ownership of
> "/home/john/.nx/cups/cupsd.conf"
> E [07/Sep/2006:14:24:20 +0200] Unable to change ownership of
> "/home/john/.nx/cups/cupsd.conf" - Operation not permitted
> W [07/Sep/2006:14:24:20 +0200] Repairing ownership of
> "/home/john/.nx/cups/printers.conf"
> E [07/Sep/2006:14:24:20 +0200] Unable to change ownership of
> "/home/john/.nx/cups/printers.conf" - Operation not permitted
> W [07/Sep/2006:14:24:20 +0200] Repairing ownership of
> "/home/john/.nx/cups/passwd.md5"
> E [07/Sep/2006:14:24:20 +0200] Unable to change ownership of
> "/home/john/.nx/cups/passwd.md5" - Operation not permitted
> W [07/Sep/2006:14:24:20 +0200] Repairing ownership of
> "/home/john/.nx/cups/spool"
> E [07/Sep/2006:14:24:20 +0200] Unable to change ownership of
> "/home/john/.nx/cups/spool" - Operation not permitted
> W [07/Sep/2006:14:24:20 +0200] Repairing ownership of
> "/home/john/.nx/cups/spool/tmp"
> E [07/Sep/2006:14:24:20 +0200] Unable to change ownership of
> "/home/john/.nx/cups/spool/tmp" - Operation not permitted
> I [07/Sep/2006:14:24:20 +0200] Cleaning out old temporary files in
> "/home/john/.nx/cups/spool/tmp"...
> I [07/Sep/2006:14:24:20 +0200] Configured for up to 100 clients.
> I [07/Sep/2006:14:24:20 +0200] Allowing up to 100 client connections per
> host.
> I [07/Sep/2006:14:24:20 +0200] Creating CUPS default administrative
> policy:
> I [07/Sep/2006:14:24:20 +0200] <Policy default>
> I [07/Sep/2006:14:24:20 +0200] <Limit Send-Document Send-URI Cancel-Job
> Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes
> Create-Job-Subscription Renew-Subscription Cancel-Subscription
> Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job
> Resume-Job CUPS-Move-Job CUPS-Authenticate-Job>
> I [07/Sep/2006:14:24:20 +0200] Order Deny,Allow
> I [07/Sep/2006:14:24:20 +0200] Require user @OWNER @SYSTEM
> I [07/Sep/2006:14:24:20 +0200] </Limit>
> I [07/Sep/2006:14:24:20 +0200] <Limit Pause-Printer Resume-Printer
> Set-Printer-Attributes Enable-Printer Disable-Printer
> Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs
> Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer
> Startup-Printer Promote-Job Schedule-Job-After CUPS-Add-Printer
> CUPS-Delete-Printer CUPS-Add-Class CUPS-Delete-Class CUPS-Accept-Jobs
> CUPS-Reject-Jobs CUPS-Set-Default>
> I [07/Sep/2006:14:24:20 +0200] Order Deny,Allow
> I [07/Sep/2006:14:24:20 +0200] AuthType Basic
> I [07/Sep/2006:14:24:20 +0200] Require user @SYSTEM
> I [07/Sep/2006:14:24:20 +0200] </Limit>
> I [07/Sep/2006:14:24:20 +0200] <Limit All>
> I [07/Sep/2006:14:24:20 +0200] Order Deny,Allow
> I [07/Sep/2006:14:24:20 +0200] </Limit>
> I [07/Sep/2006:14:24:20 +0200] </Policy>
> I [07/Sep/2006:14:24:20 +0200] Full reload is required.
> E [07/Sep/2006:14:24:20 +0200] Unable to create job cache file
> "/var/cache/cups/job.cache" - Permission denied
> I [07/Sep/2006:14:24:20 +0200] Loaded MIME database from
> '/home/john/.nx/cups': 28 types, 36 filters...
> E [07/Sep/2006:14:24:20 +0200] Unable to open job cache file
> "/var/cache/cups/job.cache": Permission denied
> I [07/Sep/2006:14:24:20 +0200] Full reload complete.
> I [07/Sep/2006:14:24:20 +0200] Listening to :::20000 on fd 1...
> I [07/Sep/2006:14:24:20 +0200] Listening to 0.0.0.0:20000 on fd 3...
> I [07/Sep/2006:14:32:15 +0200] Scheduler shutting down normally.
> E [07/Sep/2006:14:32:15 +0200] Unable to save remote.cache - Permission
> denied
> E [07/Sep/2006:14:32:15 +0200] Unable to create job cache file
> "/var/cache/cups/job.cache" - Permission denied
> ---end-error_log---
>
>
>
> The runlog of the session is:
>
> ---begin-runlog---
> [Do Sep 7 14:24:20 2006]: LoginDialog: login setupGui 1
> [Do Sep 7 14:24:20 2006]: Setting environment variable 'NX_HOME' to
> '/homejohn'
> [Do Sep 7 14:24:20 2006]: Setting environment variable 'NX_ROOT' to
> '/homejohn/.nx'
> [Do Sep 7 14:24:20 2006]: Setting environment variable 'NX_SYSTEM' to
> '/usr/NX'
> [Do Sep 7 14:24:20 2006]: Setting environment variable 'NX_CLIENT' to
> '/usr/NX/bin/nxclient'
> [Do Sep 7 14:24:20 2006]: Trying the XAUTHORITY environment variable
> with value [/homejohn/.Xauthority].
> [Do Sep 7 14:24:20 2006]:
> Utility::getXAuthorityFilePath: /homejohn/.Xauthority
> [Do Sep 7 14:24:20 2006]: Setting environment variable 'XAUTHORITY' to
> '/homejohn/.Xauthority'
> [Do Sep 7 14:24:20 2006]: Setting environment variable 'LD_LIBRARY_PATH'
> to '/usr/NX/lib:/usr/NX/lib'
> [Do Sep 7 14:24:20 2006]: Setting environment variable 'HOME' to
> '/homejohn'
> [Do Sep 7 14:24:20 2006]: Setting environment variable 'PATH' to
> '/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/NX/bin:
>/homejohn/bin:/usr/NX/bin:/usr/X/bin:/usr/NX/bin:/usr/X/bin' [Do Sep 7
> 14:24:20 2006]: Setting environment variable 'NX_TEMP' to '/tmp'
> [Do Sep 7 14:24:20 2006]: Setting environment variable 'TEMP' to '/tmp'
> [Do Sep 7 14:24:20 2006]: Setting environment variable 'NX_VERSION' to
> '2.0.0'
> [Do Sep 7 14:24:20 2006]: Trying to write the ssh key into
> [/homejohn/.nx/temp/3622/keylog]
> [Do Sep 7 14:24:20 2006]: SSH key file path
> [/homejohn/.nx/temp/3622/keylog]
> [Do Sep 7 14:24:20 2006]: LoginDialog: startProgressTimer
> [Do Sep 7 14:24:20 2006]: LoginDialog::ShowConnectionStatus code=[240]
> str=[Setting up the environment] error=[0]
> [Do Sep 7 14:24:20 2006]: ProgressDialog::printNxStatus: [Setting up the
> environment]
> [Do Sep 7 14:24:20 2006]: LoginDialog: startProgressTimer
> [Do Sep 7 14:24:20 2006]: Showing progress dialog: Setting up the
> environment
> [Do Sep 7 14:24:20 2006]: Going to get the X authorization cookie on
> display.
> [Do Sep 7 14:24:20 2006]: Trying the XAUTHORITY environment variable
> with value [/homejohn/.Xauthority].
> [Do Sep 7 14:24:20 2006]: Running command [xauth
> -f /homejohn/.Xauthority nextract - :0.0 | cut -f 9 -d ' '
> 1>/homejohn/.nx/temp/3622/authlog 2>/dev/null].
> [Do Sep 7 14:24:20 2006]: Command run.
> [Do Sep 7 14:24:20 2006]: Got or created the X authorization cookie.
> [Do Sep 7 14:24:20 2006]: LoginDialog: startCups
> [Do Sep 7 14:24:20 2006]: NXClient: cupsCmd=/usr/NX/bin/nxprint -l
> 2>> /homejohn/.nx/temp/3622/printers_log 1>&2
> [Do Sep 7 14:24:20 2006]: LoginDialog::getCupsLaunchCommand: returns
> '/usr/sbin/cupsd -c /homejohn/.nx/cups/cupsd.conf'
> [Do Sep 7 14:24:20 2006]: Utility::getPreferencesFile: 'nxclient' ->
> '/homejohn/.nx/config/nxclient.cfg'
> [Do Sep 7 14:24:20 2006]: Settings::flush
> [Do Sep 7 14:24:20 2006]: LoginDialog::ShowConnectionStatus code=[241]
> str=[Connecting to 192.168.1.105] error=[0]
> [Do Sep 7 14:24:20 2006]: ProgressDialog::printNxStatus: [Connecting to
> 192.168.1.105]
> [Do Sep 7 14:24:20 2006]: LoginDialog::connectHost()
> nxsshline=/usr/NX/bin/nxssh -nx -p 22 -i /homejohn/.nx/temp/3622/keylog
> nx at 192.168.1.105 -x -2 -o RhostsAuthentication no -o
> PasswordAuthentication no -o RSAAuthentication no -o
> RhostsRSAAuthentication no -o PubkeyAuthentication yes -B -E
> [Do Sep 7 14:24:20 2006]: Using NX_STDIN flag redirection for [nxssh]
> process
> [Do Sep 7 14:24:20 2006]: Using NX_STDOUT flag redirection for [nxssh]
> process
> [Do Sep 7 14:24:20 2006]: Using NX_STDERR flag redirection for [nxssh]
> process
> [Do Sep 7 14:24:20 2006]: SpawnProcess method has returned [1]
> [Do Sep 7 14:24:20 2006]: Process [nxssh] running with pid [0xe3a]
> [Do Sep 7 14:24:21 2006]: Received line from nxssh process [NX> 203
> NXSSH running with pid: 3642
> ] with code [203]
> [Do Sep 7 14:24:21 2006]: Received code[203]
> [Do Sep 7 14:24:21 2006]: NXProtocol: trying to read ssh pid from '
> 3642
> ' - read '3642'
> [Do Sep 7 14:24:21 2006]: Received line from nxssh process [NX> 285
> Enabling check on switch command
> ] with code [285]
> [Do Sep 7 14:24:21 2006]: Received code[285]
> [Do Sep 7 14:24:21 2006]: Received line from nxssh process [NX> 285
> Enabling skip of SSH config files
> ] with code [285]
> [Do Sep 7 14:24:21 2006]: Received code[285]
> [Do Sep 7 14:24:21 2006]: Received line from nxssh process [NX> 285
> Setting the preferred NX options
> ] with code [285]
> [Do Sep 7 14:24:21 2006]: Received code[285]
> [Do Sep 7 14:24:21 2006]: Received line from nxssh process [NX> 200
> Connected to address: 192.168.1.105 on port: 22
> ] with code [200]
> [Do Sep 7 14:24:21 2006]: Received code[200]
> [Do Sep 7 14:24:21 2006]: Received line from nxssh process [NX> 202
> Authenticating user: nx
> ] with code [202]
> [Do Sep 7 14:24:21 2006]: Received code[202]
> [Do Sep 7 14:24:21 2006]: LoginDialog::ShowConnectionStatus code=[242]
> str=[Connected to 192.168.1.105] error=[0]
> [Do Sep 7 14:24:21 2006]: ProgressDialog::printNxStatus: [Connected to
> 192.168.1.105]
> [Do Sep 7 14:24:21 2006]: Received line from nxssh process [NX> 208
> Using auth method: publickey
> ] with code [208]
> [Do Sep 7 14:24:21 2006]: Received code[208]
> [Do Sep 7 14:24:21 2006]: Received line from nxssh process [HELLO
> NXSERVER - Version 2.0.0-76 - LFE
> ] with code [1000]
> [Do Sep 7 14:24:21 2006]: Received code[1000]
> [Do Sep 7 14:24:21 2006]: Received line from nxssh process [NX> 105 ]
> with code [105]
> [Do Sep 7 14:24:21 2006]: Received code[105]
> [Do Sep 7 14:24:22 2006]: Received line from nxssh process [Hello
> NXCLIENT - Version 2.0.0
> ] with code [-1]
> [Do Sep 7 14:24:22 2006]: Received code[-1]
> [Do Sep 7 14:24:22 2006]: Received line from nxssh process [NX> 134
> Accepted protocol: 2.0.0
> ] with code [134]
> [Do Sep 7 14:24:22 2006]: Received code[134]
> [Do Sep 7 14:24:22 2006]: Received line from nxssh process [NX> 105 Set
> shell_mode: shell
> ] with code [105]
> [Do Sep 7 14:24:22 2006]: Received code[105]
> [Do Sep 7 14:24:22 2006]: Received line from nxssh process [NX> 105 Set
> auth_mode: password
> ] with code [105]
> [Do Sep 7 14:24:22 2006]: Received code[105]
> [Do Sep 7 14:24:22 2006]: Received line from nxssh process [NX> 105
> Login
> ] with code [105]
> [Do Sep 7 14:24:22 2006]: Received code[105]
> [Do Sep 7 14:24:22 2006]: Received line from nxssh process [NX> 101
> User: ] with code [101]
> [Do Sep 7 14:24:22 2006]: Received code[101]
> [Do Sep 7 14:24:22 2006]: LoginDialog::ShowConnectionStatus code=[243]
> str=[Waiting authentication] error=[0]
> [Do Sep 7 14:24:22 2006]: ProgressDialog::printNxStatus: [Waiting
> authentication]
> [Do Sep 7 14:24:22 2006]: Received line from nxssh process [john
> ] with code [-1]
> [Do Sep 7 14:24:22 2006]: Received code[-1]
> [Do Sep 7 14:24:22 2006]: Received line from nxssh process [NX> 102
> Password: ] with code [102]
> [Do Sep 7 14:24:22 2006]: Received code[102]
> [Do Sep 7 14:24:22 2006]: Received line from nxssh process [*******
> ] with code [-1]
> [Do Sep 7 14:24:22 2006]: Received code[-1]
> [Do Sep 7 14:24:24 2006]: Received line from nxssh process [NX> 103
> Welcome to: vmfc5.home user: john
> ] with code [103]
> [Do Sep 7 14:24:24 2006]: Received code[103]
> [Do Sep 7 14:24:24 2006]: LoginDialog::ShowConnectionStatus code=[244]
> str=[Authentication completed] error=[0]
> [Do Sep 7 14:24:24 2006]: ProgressDialog::printNxStatus: [Authentication
> completed]
> [Do Sep 7 14:24:24 2006]: Settings::flush
> [Do Sep 7 14:24:24 2006]: Settings::flush
> [Do Sep 7 14:24:24 2006]: LoginDialog: runningInExistingProxy called
> [Do Sep 7 14:24:24 2006]: LoginDialog: customUnixSession is [0],
> virtualDesktop is [0]
> [Do Sep 7 14:24:24 2006]: LoginDialog: runningInExistingProxy returns
> sessionID = []
> [Do Sep 7 14:24:24 2006]: Received line from nxssh process [NX> 105 ]
> with code [105]
> [Do Sep 7 14:24:24 2006]: Received code[105]
> [Do Sep 7 14:24:24 2006]: Received line from nxssh process [Listsession
> --user="a] with code [-1]
> [Do Sep 7 14:24:24 2006]: Received code[-1]
> [Do Sep 7 14:24:24 2006]: Received line from nxssh process [nd"
> --status="suspended\054running" --geometry="1024x768x16+render"
> --type="unix-gnome"
> ] with code [-1]
> [Do Sep 7 14:24:24 2006]: Received code[-1]
> [Do Sep 7 14:24:24 2006]: Received line from nxssh process [NX> 127
> Available sessions:
> ] with code [127]
> [Do Sep 7 14:24:24 2006]: Received code[127]
> [Do Sep 7 14:24:24 2006]: Received line from nxssh process [
> ] with code [-1]
> [Do Sep 7 14:24:24 2006]: Received code[-1]
> [Do Sep 7 14:24:24 2006]: Received line from nxssh process [Display Type
> Session ID                       Options  Depth Screen         Status
> Session Name
> ] with code [-1]
> [Do Sep 7 14:24:24 2006]: Received code[-1]
> [Do Sep 7 14:24:24 2006]: Received line from nxssh process [-------
> ---------------- -------------------------------- -------- -----
> -------------- ----------- ------------------------------
> ] with code [-1]
> [Do Sep 7 14:24:24 2006]: Received code[-1]
> [Do Sep 7 14:24:24 2006]: Received line from nxssh process [
> ] with code [-1]
> [Do Sep 7 14:24:24 2006]: Received code[-1]
> [Do Sep 7 14:24:24 2006]: Received line from nxssh process [NX> 148
> Server capacity: not reached for user: john
> ] with code [148]
> [Do Sep 7 14:24:24 2006]: Received code[148]
> [Do Sep 7 14:24:24 2006]: LoginDialog: SlotListSessionMode:
> autoReconnet[0] settings->isAutomaticReconnect[1]
> [Do Sep 7 14:24:24 2006]: LoginDialog::createNewSession
> [Do Sep 7 14:24:24 2006]: Session name passed to
> LoginDialog::createStartSessionString is []
> [Do Sep 7 14:24:24 2006]: Parameters passed to NX server [  --link="lan"
> --backingstore="1" --streaming="1" --nodelay="1" --encryption="1"
> --cache="8M" --images="32M" --shmem="1" --shpix="1" --strict="0"
> --composite="1" --cups="1" --media="0" --session="fc5vm-nomachine"
> --type="unix-gnome" --geometry="800x600+112+59" --client="linux"
> --keyboard="pc105/de"
> ]
> [Do Sep 7 14:24:24 2006]: LoginDialog: createNewSession - trying to
> reuse running session
> [Do Sep 7 14:24:24 2006]: LoginDialog: runningInExistingProxy called
> [Do Sep 7 14:24:24 2006]: LoginDialog: customUnixSession is [0],
> virtualDesktop is [0]
> [Do Sep 7 14:24:24 2006]: LoginDialog: runningInExistingProxy returns
> sessionID = []
> [Do Sep 7 14:24:24 2006]: Start automatically the session with the
> parameters [startsession  --link="lan" --backingstore="1"
> --streaming="1" --nodelay="1" --encryption="1" --cache="8M"
> --images="32M" --shmem="1" --shpix="1" --strict="0" --composite="1"
> --cups="1" --media="0" --session="fc5vm-nomachine" --type="unix-gnome"
> --geometry="800x600+112+59" --client="linux" --keyboard="pc105/de"
> --screeninfo="800x600x16+render"
> ]
> [Do Sep 7 14:24:24 2006]: Received line from nxssh process [NX> 105 ]
> with code [105]
> [Do Sep 7 14:24:24 2006]: Received code[105]
> [Do Sep 7 14:24:25 2006]: Received line from nxssh process [Start
> session with: --link="lan" --backingstore="1" --streaming="1"
> --nodelay="1" --encryption="1" --cache="8M" --images="32M" --shmem="1"
> --shpix="1" --strict="0" --composite="1" --cups="1" --media="0"
> --session="fc5vm-nomachine" --type="unix-gnome" --geometry="800x600+112
> +59" --client="linux" --keyboard="pc105\057de" --screeninfo="800x600x16
> +render"
> ] with code [-1]
> [Do Sep 7 14:24:25 2006]: Received code[-1]
> [Do Sep 7 14:24:30 2006]: Received line from nxssh process [NX> 700
> Session id: vmfc5.home-1002-A5637ABE8F2503D270BBAEBECF2155BC
> ] with code [700]
> [Do Sep 7 14:24:30 2006]: Received code[700]
> [Do Sep 7 14:24:30 2006]: Received line from nxssh process [NX> 705
> Session display: 1002
> ] with code [705]
> [Do Sep 7 14:24:30 2006]: Received code[705]
> [Do Sep 7 14:24:30 2006]: Received line from nxssh process [NX> 703
> Session type: unix-gnome
> ] with code [703]
> [Do Sep 7 14:24:30 2006]: Received code[703]
> [Do Sep 7 14:24:30 2006]: Received line from nxssh process [NX> 701
> Proxy cookie: 904CD48303996EC305AE2B92F4773519
> ] with code [701]
> [Do Sep 7 14:24:30 2006]: Received code[701]
> [Do Sep 7 14:24:30 2006]: Received line from nxssh process [NX> 702
> Proxy IP: 192.168.1.105
> ] with code [702]
> [Do Sep 7 14:24:30 2006]: Received code[702]
> [Do Sep 7 14:24:30 2006]: Received line from nxssh process [NX> 706
> Agent cookie: 904CD48303996EC305AE2B92F4773519
> ] with code [706]
> [Do Sep 7 14:24:30 2006]: Received code[706]
> [Do Sep 7 14:24:30 2006]: Received line from nxssh process [NX> 704
> Session cache: unix-gnome
> ] with code [704]
> [Do Sep 7 14:24:30 2006]: Received code[704]
> [Do Sep 7 14:24:30 2006]: Received line from nxssh process [NX> 707 SSL
> tunneling: 1
> ] with code [707]
> [Do Sep 7 14:24:30 2006]: Received code[707]
> [Do Sep 7 14:24:30 2006]: Received line from nxssh process [NX> 708
> Subscription: LFE/None/LFEN/None
> ] with code [708]
> [Do Sep 7 14:24:30 2006]: Received code[708]
> [Do Sep 7 14:24:30 2006]: Received line from nxssh process [NX> 710
> Session status: running
> ] with code [710]
> [Do Sep 7 14:24:30 2006]: Received code[710]
> [Do Sep 7 14:24:30 2006]: LoginDialog::launchMountOperation
> [Do Sep 7 14:24:30 2006]: NXClient: cupsCmd=/usr/NX/bin/nxprint -l
> 2>> /homejohn/.nx/temp/3622/printers_log 1>&2
> [Do Sep 7 14:24:30 2006]: Received line from nxssh process [NX> 105 ]
> with code [105]
> [Do Sep 7 14:24:30 2006]: Received code[105]
> [Do Sep 7 14:24:30 2006]: Received line from nxssh process [Addprinter
> --type="ipp" --username="john" --port="3002"
> --session_id="A5637ABE8F2503D270BBAEBECF2155BC" --printer="Epson"
> --model="cups\04520printer" --defaultPrinter="1"
> ] with code [-1]
> [Do Sep 7 14:24:30 2006]: Received code[-1]
> [Do Sep 7 14:24:30 2006]: Received line from nxssh process [NX> 110 CUPS
> printer failed to be attached: password cannot be null
> ] with code [110]
> [Do Sep 7 14:24:30 2006]: Received code[110]
> [Do Sep 7 14:24:30 2006]: Received line from nxssh process [NX> 105 Bye
> ] with code [105]
> [Do Sep 7 14:24:30 2006]: Received code[105]
> [Do Sep 7 14:24:31 2006]: Received line from nxssh process [NX> 999 Bye.
> ] with code [999]
> [Do Sep 7 14:24:31 2006]: Received code[999]
> [Do Sep 7 14:24:31 2006]: LoginDialog: setEnvironmentForProxy
> [Do Sep 7 14:24:31 2006]: LoginDialog::ShowConnectionStatus code=[245]
> str=[Negotiating link parameters] error=[0]
> [Do Sep 7 14:24:31 2006]: ProgressDialog::printNxStatus: [Negotiating
> link parameters]
> [Do Sep 7 14:24:31 2006]: Writing:
> 'nx,cookie=904CD48303996EC305AE2B92F4773519,root=/homejohn/.nx,shmem=1,shpi
>x=1,font=1,product=LFE/None/LFEN/None,cups=20000,encryption=1,session=sessio
>n,client=linux,id=vmfc5.home-1002-A5637ABE8F2503D270BBAEBECF2155BC:1002 ' to
> '/homejohn/.nx/S-vmfc5.home-1002-A5637ABE8F2503D270BBAEBECF2155BC/options'
> [Do Sep 7 14:24:31 2006]:
> file='/homejohn/.nx/S-vmfc5.home-1002-A5637ABE8F2503D270BBAEBECF2155BC/opti
>ons' [Do Sep 7 14:24:32 2006]: NXFileMonitor::readData
> [Do Sep 7 14:24:32 2006]: NXFileMonitor: opened file:
> [/homejohn/.nx/S-vmfc5.home-1002-A5637ABE8F2503D270BBAEBECF2155BC/session]
> [Do Sep 7 14:24:32 2006]: NXProxyProtocol::receiveData('NXPROXY -
> Version 2.0.0')
> [Do Sep 7 14:24:32 2006]: NXProxyProtocol::receiveData('')
> [Do Sep 7 14:24:32 2006]: NXProxyProtocol::receiveData('Copyright (C)
> 2001, 2006 NoMachine.')
> [Do Sep 7 14:24:32 2006]: NXProxyProtocol::receiveData('See
> http://www.nomachine.com/ for more information.')
> [Do Sep 7 14:24:32 2006]: NXProxyProtocol::receiveData('')
> [Do Sep 7 14:24:32 2006]: NXProxyProtocol::receiveData('Info: Proxy
> running in client mode with pid '3642'.')
> [Do Sep 7 14:24:32 2006]: NXProxyProtocol::receiveData('Session:
> Starting session at 'Thu Sep  7 14:24:31 2006'.')
> [Do Sep 7 14:24:32 2006]: NXProxyProtocol::receiveData('Info:
> Synchronizing local and remote caches.')
> [Do Sep 7 14:24:32 2006]: NXProxyProtocol::receiveData('Info:
> Handshaking with remote proxy completed.')
> [Do Sep 7 14:24:32 2006]: NXProxyProtocol::receiveData('Info: Using lan
> link parameters 1536/24/1/0.')
> [Do Sep 7 14:24:32 2006]: NXProxyProtocol::receiveData('Info: Using
> image streaming parameters 50/128/1024KB/6144/768.')
> [Do Sep 7 14:24:32 2006]: NXProxyProtocol::receiveData('Info: Using
> image cache parameters 1/1/32768KB.')
> [Do Sep 7 14:24:32 2006]: NXProxyProtocol::receiveData('Info: Using pack
> method '16m-rle-9' with session 'unix-gnome'.')
> [Do Sep 7 14:24:32 2006]: NXProxyProtocol::receiveData('Info: Using
> product 'LFE/None/LFEN/None'.')
> [Do Sep 7 14:24:32 2006]: NXProxyProtocol::receiveData('Info: Not using
> NX delta compression.')
> [Do Sep 7 14:24:32 2006]: NXProxyProtocol::receiveData('Info: Not using
> ZLIB data compression.')
> [Do Sep 7 14:24:32 2006]: NXProxyProtocol::receiveData('Info: Not using
> ZLIB stream compression.')
> [Do Sep 7 14:24:32 2006]: NXProxyProtocol::receiveData('Info: Not using
> persistent cache.')
> [Do Sep 7 14:24:32 2006]: NXProxyProtocol::receiveData('Info: Forwarding
> CUPS connections to port '20000'.')
> [Do Sep 7 14:24:32 2006]: NXProxyProtocol::receiveData('Info: Listening
> for font server connections on port '11002'.')
> [Do Sep 7 14:24:32 2006]: NXProxyProtocol::receiveData('Session: Session
> started at 'Thu Sep  7 14:24:31 2006'.')
> [Do Sep 7 14:24:32 2006]: LoginDialog::ShowConnectionStatus code=[247]
> str=[Established X server connection] error=[0]
> [Do Sep 7 14:24:32 2006]: ProgressDialog::printNxStatus: [Established X
> server connection]
> [Do Sep 7 14:24:32 2006]: NXProxyProtocol: StopTimeout
> [Do Sep 7 14:24:32 2006]: NXProxyProtocol::receiveData('Info:
> Established X server connection.')
> [Do Sep 7 14:24:32 2006]: NXProxyProtocol::receiveData('Info: Using
> shared memory parameters 1/2048K.')
> [Do Sep 7 14:24:32 2006]: NXFileMonitor::readData
> [Do Sep 7 14:24:32 2006]: NXFileMonitor::readData
> [Do Sep 7 14:24:32 2006]: NXFileMonitor::readData
> [Do Sep 7 14:24:32 2006]: LoginDialog: slotAgentTimer
> [Do Sep 7 14:24:32 2006]: NXFileMonitor::readData
> [Do Sep 7 14:24:32 2006]: NXFileMonitor::readData
> [Do Sep 7 14:24:32 2006]: NXFileMonitor::readData
> [Do Sep 7 14:24:32 2006]: NXFileMonitor::readData
> [Do Sep 7 14:24:32 2006]: LoginDialog: slotAgentTimer
> [Do Sep 7 14:24:32 2006]: NXFileMonitor::readData
> [Do Sep 7 14:24:32 2006]: NXFileMonitor::readData
> [Do Sep 7 14:24:32 2006]: NXFileMonitor::readData
> [Do Sep 7 14:24:32 2006]: NXFileMonitor::readData
> [Do Sep 7 14:24:32 2006]: LoginDialog: slotAgentTimer
> [Do Sep 7 14:24:32 2006]: LoginDialog: Agent found closing windows...
> [Do Sep 7 14:24:32 2006]: LoginDialog: Slotsingleapplication: setting
> automatic reconnect to true.
> [Do Sep 7 14:24:32 2006]: Settings::flush
> [Do Sep 7 14:24:32 2006]: Settings::flush
> [Do Sep 7 14:24:32 2006]: LoginDialog: closeEvent received!
> [Do Sep 7 14:24:32 2006]: NXFileMonitor::readData
> [Do Sep 7 14:24:32 2006]: NXFileMonitor::readData
> [Do Sep 7 14:24:32 2006]: LoginDialog::destructor called begin
> [Do Sep 7 14:24:32 2006]: LoginDialog: stopAllTimers
> [Do Sep 7 14:24:32 2006]: LoginDialog: stopProgressTimer
> [Do Sep 7 14:24:32 2006]: Utility::getPreferencesFile: 'nxclient' ->
> '/homejohn/.nx/config/nxclient.cfg'
> [Do Sep 7 14:24:32 2006]: Settings::flush
> [Do Sep 7 14:24:32 2006]: LoginDialog::destructor called end
> ---end-runlog--
>
>
> It seemed to be a password problem, because:
> NX> 110 CUPS printer failed to be attached: password cannot be null
>
> Can anyone help me?
>
> Best Regards  Andreas
>
> ________________________________________________________________
>      Were you helped on this list with your FreeNX problem?
>     Then please write up the solution in the FreeNX Wiki/FAQ:
>   http://openfacts.berlios.de/index-en.phtml?title=FreeNX_FAQ
>          Don't forget to check the NX Knowledge Base:
>                  http://www.nomachine.com/kb/
>
> ________________________________________________________________
>        FreeNX-kNX mailing list --- FreeNX-kNX at kde.org
>       https://mail.kde.org/mailman/listinfo/freenx-knx
> ________________________________________________________________




More information about the FreeNX-kNX mailing list