You are not logged in.

#1 2016-12-15 10:43

jrbcn
Member
Registered: 2016-12-15
Posts: 8

x2goprinting not work on Orion. Works well in Scorpion

I tried printing on the local PC from the x2goclient without success.
x2goclient gives no message. In the server logs I don't see the problem.
I installed x2goserver-printing,  cups, cups-x2go and I  have installed x2go virtual printer. On x2go website it indicates that the user using this service must be in fuse group, but I failed to make the group appear installing fuse or sshfs.
This happens to me only in Orion. In Scorpion works perfectly.
Thank you and congratulations for your work.

Offline

#2 2016-12-15 12:12

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 3,686
Website

Re: x2goprinting not work on Orion. Works well in Scorpion

Which version of x2goclient do you use ?

jrbcn wrote:

In Scorpion works perfectly.

Does it mean Scorpion x2goserver and the same x2goclient as for Orion ?

Offline

#3 2016-12-15 13:08

jrbcn
Member
Registered: 2016-12-15
Posts: 8

Re: x2goprinting not work on Orion. Works well in Scorpion

q4osteam wrote:

Which version of x2goclient do you use ?

On Debian: X2Go Client V. 4.0.3.1 (Qt - 4.8.6)
On Windows: XP X2Go Client V. 4.0.52 (Qt - 4.8.6)

jrbcn wrote:

In Scorpion works perfectly.

Does it mean Scorpion x2goserver and the same x2goclient as for Orion ?

I do the following:

1 - I install Q4OS v 1.8 - Orion on a PC (A).
2 - Install "x2go server" from Software Center.
3 - Install x2Goserver-printing, cups-x2go frm Synaptic Package Manager.
4 - Using cups (http://localhost:631) I install Virtual_X2Go_Printer
5 - From another PC (B) I connect to the server PC (A) using x2go client.
6 - I try to print anything in Virtual_X2Go_Printer
7 - Nothing appears on the screen or on the printer.

Then...

1 - I install Q4OS v 2.2 - Scorpion on the same PC (A).
2,3,4,5,6 - Same as before.
7 - Success: The print dialog appears in order to print the PDF document.

Excuse my bad English.

Thank you very much.

Offline

#4 2016-12-15 15:55

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 3,686
Website

Re: x2goprinting not work on Orion. Works well in Scorpion

jrbcn wrote:

7 - Nothing appears on the screen or on the printer.

Are you able to select the X2Go virtual printer, if you run 'kwrite' text editor -> File -> Print ?

Offline

#5 2016-12-15 16:47

jrbcn
Member
Registered: 2016-12-15
Posts: 8

Re: x2goprinting not work on Orion. Works well in Scorpion

Yes, without problem

Offline

#6 2016-12-15 17:34

jrbcn
Member
Registered: 2016-12-15
Posts: 8

Re: x2goprinting not work on Orion. Works well in Scorpion

And cups shows jobs as complete, but it seems these documents ready to print do not arrive at the client side.
I perform these operations on different computers, both client and server.

Offline

#7 2016-12-16 16:59

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 3,686
Website

Re: x2goprinting not work on Orion. Works well in Scorpion

We have performed a more detailed research and can confirm a X2Go Server/Debian Jessie bug. The issue affects X2Go/Debian Jessie systems in general and lies between '/usr/bin/x2goprint' and '/usr/lib/cups/backend/cups-x2go' perl scripts. We can also confirm X2Go/Debian Stretch remote printing works fine. The best action now would be to report a bug at X2Go bug tracker http://bugs.x2go.org/

In general X2Go printing is not used frequently, it's intended for use on low bandwith networks and for printers that are directly connected to X2Go thin-clients. For other scenarios, please use a central CUPS server (see multi-node printing below) without the X2Go printing feature installed, please read this document http://wiki.x2go.org/doku.php/doc:installation:printing

Offline

#8 2016-12-16 18:50

jrbcn
Member
Registered: 2016-12-15
Posts: 8

Re: x2goprinting not work on Orion. Works well in Scorpion

Many thanks for your support. I lament have not imagined that it was a X2go bug running over Debian Jessie.

I need to print remotely over the Internet because my customers access to my invoicing software on a central server. They access from different stores in different cities and they need to print delivery notes, orders, invoices, etc. in their local printers.

I'm going to report this problem to X2Go

Thanks a lot again!

Offline

#9 2016-12-16 19:20

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 3,686
Website

Re: x2goprinting not work on Orion. Works well in Scorpion

jrbcn wrote:

I'm going to report this problem to X2Go

Great, please post a link here as reported, we will add our comments and findings to it. We will also try to look for some temporary workaround and post it here, if possible.

Offline

#10 2016-12-16 20:55

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 3,686
Website

Re: x2goprinting not work on Orion. Works well in Scorpion

We have found a workaround. You only need to edit '/etc/systemd/system/printer.target.wants/cups.service'  file and modify the line:

PrivateTmp=true

to

PrivateTmp=false

See the following thread for detailed description http://lists.x2go.org/pipermail/x2go-us … 03841.html

EDIT: Still has to be considered as a X2Go bug, reporting it and pasting link here would be highly appreciated, thanks.

Offline

#11 2016-12-16 22:34

jrbcn
Member
Registered: 2016-12-15
Posts: 8

Re: x2goprinting not work on Orion. Works well in Scorpion

I tested this workaround and has not worked for me. I rebooted the server and does not work.

Today I tried printing to the local printer with Windows x2goclient unsuccessful. Tomorrow I will try from Linux.

Investigating a little more I tried the workaround also indicated here:

http://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=694

----------------------------------------------
cd /usr/bin

mv x2goprint x2goprint.orig

cat << EOF > x2goprint
#!/bin/bash
umount /tmp
x2goprint.orig $@
EOF

chmod a+x x2goprint
-----------------------------------------------

... but neither worked.

I sent email about the bug to X2Go. I'm waiting for moderator approval for publication.

Thank you very match for your help.

Offline

#12 2016-12-16 23:03

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 3,686
Website

Re: x2goprinting not work on Orion. Works well in Scorpion

jrbcn wrote:

I tested this workaround and has not worked for me. I rebooted the server and does not work.

You may also need to stop/resume the virtual cups-x2go printer using cups webadmin interface.

We have tested the workaround successfully on a clean Q4OS Orion installation with X2Go server and default Debian Jessie client. It should be easily reproducible  for you as well. You could try to make a fresh testing server installation and report back, we are ready to assist you to narrow the issue. Thanks for reporting.

Offline

#13 2016-12-17 18:44

jrbcn
Member
Registered: 2016-12-15
Posts: 8

Re: x2goprinting not work on Orion. Works well in Scorpion

Really! Now, with the workaround (PrivateTmp=false), I have succeeded to print remotely from x2goclient on ubuntu 14.04 by accessing a new q4OS-Orion installation with x2go server.

However, I can not get it from windows xp.

I'll do some more testing with Windows 10, Q4OS-Scorpion, my previous Q4OS-Orion, etc. to contrast results. I'll report on it.

Thanks a lot!

Offline

#14 2016-12-23 17:35

jrbcn
Member
Registered: 2016-12-15
Posts: 8

Re: x2goprinting not work on Orion. Works well in Scorpion

The problem is solved for me with windows x2goclient nightly version 4.0.5.3.

X2go thread:
http://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=1125

Thank you very much!

Offline

Board footer

Powered by FluxBB