[FreeNX-kNX] "Nxspooler 1.0: helping some people to print with FreeNX"

Toni Asensi Esteve asmond at orange.es
Thu Apr 8 09:36:31 UTC 2010


APPENDIX - Example of a system configuration using NxSpooler
___________________________________________________________________

If it can be useful for you, this is an example of a configuration of a 
client/server system using NxSpooler, in this case for working with an 
application called Bulmages that is executed on the server.

Note: to print a report, Bulmages 0.12 first saves it (normally in PDF format) 
on a folder and then it asks the system that the file is opened. Working with 
FreeNX we want:
- that Bulmages saves the file but in the computer of the user.
- that Bulmages opens no report (pdf file).
- that NxSpooler opens the file but in the computer of the user.

* So, the first time:
   + In the server:
      - To achieve that Bulmages 0.12 does not open PDF, ODS and SCX files in 
the server (because they have to be opened in the computer of the user): edit 
/etc/bulmages/bulmages.conf and put the value "echo" in the parameters 
CONF_PDF. CONF_ODS and CONF_SXC.
      - Note: the user that is going to be connected must have his own $HOME 
in the server.
 
   + In the client computer:
      - In Linux: using Samba, share the folder $HOME/.nxspooler as 
"nxspooler", using a particular password and username.
      - In Windows: share the folder %UserProfile%\.nxspooler as "nxspooler$", 
using a particular password and username.
      - Note: when sharing, you must be sure that the particular username that 
will be used to access to the shared resource has permissions to write on it.
      - Configure the NX client program so that the connection normally used to 
access to the FreeNX server  grants the server access to the shared resource 
that we talked about. For example, in the "nx client" program for Linux  you 
can go to a tab called "Services", click on the checkbox "enable SMB printing 
and file sharing" and click on "Add" to add the resource "nxspooler", configure 
that the mount point in the server is ~/.bulmages so that Bulmages uses it in 
a natural way in the remote session; enter the particular password and 
username.

* Every time the user starts the FreeNX session:
      - NxSpooler must be running in the computer of the user, of course :-).
 
This way: the files of reports that Bulmages makes in the server  will be 
opened in the client computer, where the user can print them, save them, send 
them by email, etc.

-- 
Aron Galdón Ginés and Toni Asensi Esteve.



More information about the FreeNX-kNX mailing list