Hi Mihai. Switched back ( removed /etc/profile.d/spike.sh ). We have multi-tenant machines, and that's why we use this setup, so that any user can't see other user/company /tmp/files.
complete /etc/profile.d/spike.sh file ( commented out the TMP env modifiers that are and have been working for last 3 years with old cups-x2go backend ) idnr=`id -u $USER` export UNZIP="-O CP860" export ZIPINFO="-O CP860" export _JAVA_OPTIONS="-Xms128m -Xmx256m -XX:+PerfDisableSharedMem" #if [ ! -d /tmp/.$idnr ]; then # mkdir /tmp/.$idnr # chmod 700 /tmp/.$idnr #fi #export TMPDIR=/tmp/.$idnr #export KDETMP=/tmp/.$idnr #export KDEVARTMP=/tmp/.$idnr The problem is the same First print of http://www.google.com from firefox equals GLOB ( 0x27d2168 ) After the first print, no more printing. Files generated at second printing. -rw------- 1 root lp 0 Jun 15 14:38 75-tes_fds- cupsjob24198.pdfSW01sQLMH2svvcYQ -rw------- 1 root lp 1344 Jun 15 14:38 gs_EhECFV -rw------- 1 root lp 76596 Jun 15 14:38 gs_M6YZfe -rw------- 1 root lp 89493 Jun 15 14:38 gs_nwfOX4 -rw------- 1 root lp 0 Jun 15 14:38 gs_poRbyn >Okay, what gs jobs are running? ps axu | grep -i gs root@lisbon:~# ps axu | grep -i gs tes_fds 19145 0.0 0.2 41524 2780 ? S 14:32 0:00 ssh -x -a - oClearAllForwardings=yes -oServerAliveInterval=300 -oCipher=blowfish - oIdentityFile=/home/.folderstaff/.tes_fds/.x2go/ssh/key.f11476 - oUserKnownHostsFile=/home/.folderstaff/.tes_fds/.x2go/ssh/key.f11476.ident - oPort=30003 -2 [email protected] -s sftp tes_fds 19360 0.0 0.2 41524 2776 ? S 14:33 0:00 ssh -x -a - oClearAllForwardings=yes -oServerAliveInterval=300 -oCipher=blowfish - oIdentityFile=/home/.folderstaff/.tes_fds/.x2go/ssh/key.f11476 - oUserKnownHostsFile=/home/.folderstaff/.tes_fds/.x2go/ssh/key.f11476.ident - oPort=30003 -2 [email protected] -s sftp root 24199 1.4 1.9 125636 19408 ? S 14:38 0:01 /usr/bin/gs - q -dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite - sOutputFile=- -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false - dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -dDoNumCopies -c .setpdfwrite -f /var/spool/cups/d00075-001 root 24998 0.0 0.0 9396 916 pts/3 S+ 14:39 0:00 grep -- color=auto -i gs Also, did you change (after making a backup) /etc/x2go/cups-x2go.conf to reflect the new requirement? gs must be writing to stdout, not a temporary file. What change are you referring to? Never touch(ed) that file except to change loglevel. Also i think we are talking about /etc/cups/cups-x2go.conf -- Regards Helmer Teles http://hteles.wordpress.com “Sent from My Linux Operating System” Please don't send me proprietary file formats, use ISO standard ODF instead (ISO/IEC 26300) On Monday 15 June 2015 15:14:10 Mihai Moldovan wrote: > Not enough information to check signature validity. Show Details > > On 15.06.2015 02:57 PM, Helmer Teles wrote: > > It only print the first job, all the others got held and on a firefox > > print instead of the normal printout it printed a text with GLOB. > > Hm, GLOB. Sounds like it's looking for a file which doesn't exist? > > > Also i think there's another problem at line 290. > > It is assuming that TMPDIR is at /tmp that in the case of this system > > idnr=`id -u $USER` > > TMPDIR="/tmp/.${idnr}. > > Possibly, but this has been unchanged for four years. It's probably a bad > idea to just overwrite $TMPDIR if it's already set (which I assume it is on > your system?) and I should change that. _______________________________________________ x2go-dev mailing list [email protected] http://lists.x2go.org/listinfo/x2go-dev
