1x2goprint(8) X2Go Server Tool x2goprint(8)
2
3
4
6 x2goprint - Process X2Go Print Job
7
9 x2goprint <username> <session_id> <pdf_file> <title_file>
10
11
13 X2Go print jobs are rendered by the cups-x2go backend on your network's
14 (central) CUPS server and then get copied to the X2Go server that the
15 X2Go print job was issued from.
16
17 On that X2Go server cups-x2go places two print job files (a PDF file
18 and a title file) into the home directory of the POSIX system user
19 ,,x2goprint'' where they await further processing by x2goprint.
20
21 The x2goprint command on the session's X2Go server (executed by cups-
22 x2go backend) then prepares the job files for delivery to the X2Go
23 client-side.
24
25 x2goprint must run with root privileges and is executed by cups-x2go.
26
28 <username>
29 The owner of the incoming print jobs is given as the <username>
30 argument.
31
32 <session_id>
33 The <session_id> is the unique identifier of the X2Go session
34 that the processed print job is coming from.
35
36 <pdf_file>
37 The filename of the PDF file as dropped into ~x2goprint by cups-
38 x2go.
39
40 <title_file>
41 The filename of the title file as dropped into ~x2goprint by
42 cups-x2go.
43
45 X2Go uses the fuse-based SSH filesystem (SSHFS) for transferring print
46 jobs from X2Go server to X2Go client. Users that shall use X2Go
47 printing must be members of the X2Go server's ,,fuse'' POSIX group.
48
50 If X2Go server and CUPS server are the same machine, no further setup
51 for X2Go printing is necessary.
52
53 However, if X2Go server and CUPS server are hosted on separate machines
54 then a special setup of sudo and SSH is required on X2Go server(s) and
55 the central CUPS server.
56
57 Refer to https://wiki.x2go.org/installing_x2go_printing_debian_ubuntu
58 for further information.
59
61 By x2goprint nothing is reported on stdout or stderr.
62
63 If x2goprint has run successfully, an exitcode of 0 is returned. If the
64 script has either been called by a non-root user or with the wrong
65 number of command line arguments, a non-zero exitcode is returned.
66
68 This manual has been written by Mike Gabriel <mike.gabriel@das-
69 netzwerkteam.de> for the X2Go project (https://www.x2go.org).
70
71
72
73Version 4.1.0.3 Nov 2018 x2goprint(8)