[solved]Printing from antiX14-3 x86_64RD(Fluxbox;Icewm etc)

Posts: 325
male
Joined: 04 Nov 2011
#1
Hi,

after a restart shows systemd

Code: Select all

$ systemctl status systemd-hostnamed.service
● systemd-hostnamed.service - Hostname Service
   Loaded: loaded (/lib/systemd/system/systemd-hostnamed.service; static)
   Active: inactive (dead)
     Docs: man:systemd-hostnamed.service(8)
           man:hostname(5)
           man:machine-info(5)
           http://www.freedesktop.org/wiki/Software/systemd/hostnamed
$ systemctl status cups.socket
● cups.socket - CUPS Printing Service Sockets
   Loaded: loaded (/lib/systemd/system/cups.socket; enabled)
  Drop-In: (/)etc/systemd/system/cups.socket.d
           └─cupsd-listen.conf
   Active: active (listening) since Di 2014-10-14 10:40:58 CEST; 1h 59min left
   Listen: (/)var/run/cups/cups.sock (Stream)
           127.0.0.1:631 (Stream)
           [::1]:631 (Stream)
$ systemctl status cups.service
● cups.service - CUPS Printing Service
   Loaded: loaded (/lib/systemd/system/cups.service; enabled)
   Active: inactive (dead)
     Docs: man:cupsd(8)
           man:cupsd.conf(5)

Code: Select all

$ systemctl --failed
0 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.
I click in antixcc > Hardware > Printer Settings
shows systemd me

Code: Select all

$ systemctl --failed
  UNIT                      LOAD   ACTIVE SUB    DESCRIPTION
● cups.service              loaded failed failed CUPS Printing Service
● systemd-hostnamed.service loaded failed failed Hostname Service
● cups.socket               loaded failed failed CUPS Printing Service Sockets

LOAD   = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB    = The low-level unit activation state, values depend on unit type.

3 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.

Code: Select all

$ systemctl status systemd-hostnamed.service
● systemd-hostnamed.service - Hostname Service
   Loaded: loaded (/lib/systemd/system/systemd-hostnamed.service; static)
   Active: failed (Result: exit-code) since Mo 2014-10-13 22:42:19 CEST; 17min ago
     Docs: man:systemd-hostnamed.service(8)
           man:hostname(5)
           man:machine-info(5)
           http://www.freedesktop.org/wiki/Software/systemd/hostnamed
  Process: 19116 ExecStart=/lib/systemd/systemd-hostnamed (code=exited, status=226/NAMESPACE)
 Main PID: 19116 (code=exited, status=226/NAMESPACE)
$ systemctl status cups.socket
● cups.socket - CUPS Printing Service Sockets
   Loaded: loaded (/lib/systemd/system/cups.socket; enabled)
  Drop-In: (/)etc/systemd/system/cups.socket.d
           └─cupsd-listen.conf
   Active: failed (Result: service-failed-permanent) since Mo 2014-10-13 22:42:18 CEST; 15min ago
   Listen: (/)var/run/cups/cups.sock (Stream)
           127.0.0.1:631 (Stream)
           [::1]:631 (Stream)
$ systemctl status cups.service
● cups.service - CUPS Printing Service
   Loaded: loaded (/lib/systemd/system/cups.service; enabled)
   Active: failed (Result: start-limit) since Mo 2014-10-13 22:42:18 CEST; 8min ago
     Docs: man:cupsd(8)
           man:cupsd.conf(5)
  Process: 19112 ExecStart=/usr/sbin/cupsd -f (code=exited, status=226/NAMESPACE)
 Main PID: 19112 (code=exited, status=226/NAMESPACE)
Last edited by male on 04 Nov 2014, 15:41, edited 3 times in total.
Posts: 325
male
Joined: 04 Nov 2011
#2
further

I go on 'Applications'> 'Settings'> 'Printer Settings'
the"Printer Settings" window appears

Here is the"Add" button gray and a printer can not be chosen.

In ~ /fluxbox/menu-applications
changes the entry

Code: Select all

...
...{gksu system-config-printer}...
...
on the gray Button nothing.

The journal gives me the following error:

Code: Select all

journalctl -b -p err
-- Logs begin at Di 2014-10-14 09:17:39 CEST, end at Di 2014-10-14 07:25:06 CEST. --
Okt 14 09:17:39 antix14RD kernel: end_request: I/O error, dev fd0, sector 0
Okt 14 09:17:41 antix14RD kernel: CX24123: cx24123_i2c_readreg: reg=0x0 (error=-121)
Okt 14 09:17:41 antix14RD kernel: CX24123: wrong demod revision: 87
Okt 14 09:17:44 antix14RD systemd-tmpfiles[494]: rm_rf(/tmp): Too many levels of symbolic links
Okt 14 09:17:44 antix14RD ntpdate[614]: Can't find host 0.debian.pool.ntp.org: Name or service not known (-2)
Okt 14 09:17:44 antix14RD ntpdate[614]: Can't find host 1.debian.pool.ntp.org: Name or service not known (-2)
Okt 14 09:17:44 antix14RD ntpdate[614]: Can't find host 2.debian.pool.ntp.org: Name or service not known (-2)
Okt 14 09:17:44 antix14RD ntpdate[614]: Can't find host 3.debian.pool.ntp.org: Name or service not known (-2)
Okt 14 09:17:44 antix14RD ntpdate[614]: no servers can be used, exiting
Okt 14 09:17:45 antix14RD kernel: fbcondecor: picture dimensions mismatch
Okt 14 09:17:45 antix14RD kernel: 1280x1024 vs 1680x1050
Okt 14 09:17:47 antix14RD slim[735]: PAM unable to dlopen(pam_gnome_keyring.so): /lib/security/pam_gnome_keyring.so: cannot open shared object file: No such file or directory
Okt 14 09:17:47 antix14RD slim[735]: PAM adding faulty module: pam_gnome_keyring.so
In which package is located?

Code: Select all

pam_gnome_keyring.so

Code: Select all

$ apt-cache policy gnome-keyring*
iceweasel-gnome-keyring:
  Installiert:           (keine)
  Installationskandidat: (keine)
  Versionstabelle:
monodoc-gnome-keyring-manual:
  Installiert:           (keine)
  Installationskandidat: 1.0.0-4
  Versionstabelle:
     1.0.0-4 0
        500 http://ftp.de.debian.org/debian/ testing/main amd64 Packages
libgnome-keyring0:
  Installiert:           3.12.0-1
  Installationskandidat: 3.12.0-1
  Versionstabelle:
 *** 3.12.0-1 0
        500 http://ftp.de.debian.org/debian/ testing/main amd64 Packages
        100 /var/lib/dpkg/status
libgnome-keyring-common:
  Installiert:           3.12.0-1
  Installationskandidat: 3.12.0-1
  Versionstabelle:
 *** 3.12.0-1 0
        500 http://ftp.de.debian.org/debian/ testing/main amd64 Packages
        100 /var/lib/dpkg/status
libgnome-keyring1.0-cil-dev:
  Installiert:           (keine)
  Installationskandidat: 1.0.0-4
  Versionstabelle:
     1.0.0-4 0
        500 http://ftp.de.debian.org/debian/ testing/main amd64 Packages
libgnome-keyring0-dbg:
  Installiert:           (keine)
  Installationskandidat: 3.12.0-1
  Versionstabelle:
     3.12.0-1 0
        500 http://ftp.de.debian.org/debian/ testing/main amd64 Packages
gnome-keyring:
  Installiert:           (keine)
  Installationskandidat: 3.14.0-1
  Versionstabelle:
     3.14.0-1 0
        500 http://ftp.de.debian.org/debian/ testing/main amd64 Packages
libgnome-keyring1.0-cil:
  Installiert:           (keine)
  Installationskandidat: 1.0.0-4
  Versionstabelle:
     1.0.0-4 0
        500 http://ftp.de.debian.org/debian/ testing/main amd64 Packages
xul-ext-gnome-keyring:
  Installiert:           (keine)
  Installationskandidat: 0.6.11-3
  Versionstabelle:
     0.6.11-3 0
        500 http://ftp.de.debian.org/debian/ testing/main amd64 Packages
libpam-gnome-keyring:
  Installiert:           (keine)
  Installationskandidat: 3.14.0-1
  Versionstabelle:
     3.14.0-1 0
        500 http://ftp.de.debian.org/debian/ testing/main amd64 Packages
libgnome-keyring-dev:
  Installiert:           (keine)
  Installationskandidat: 3.12.0-1
  Versionstabelle:
     3.12.0-1 0
        500 http://ftp.de.debian.org/debian/ testing/main amd64 Packages
icedove-gnome-keyring:
  Installiert:           (keine)
  Installationskandidat: (keine)
  Versionstabelle:
Or was I respect PRINT wrong? __{{emoticon}}__
Posts: 325
male
Joined: 04 Nov 2011
#3
The solution of the printer problem is the following:
If the command

Code: Select all

file /tmp
/tmp: symbolic link to `/var/tmp'
outputs, then these commands are successively as root

Code: Select all

rm /tmp
mv /var/tmp /tmp
mkdir -m 1777 /var/tmp
enter.

Then the command is correct

Code: Select all

file /tmp
/tmp: sticky, directory
Found here:
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.forums.solydxk.com/viewtopic.php?f=32&t=4351#p46752"
linktext was:"http://www.forums.solydxk.com/viewtopic ... 351#p46752"
====================================


...and the printer runs. __{{emoticon}}__