Results 1 to 4 of 4

Thread: Printing issuse: cannot connect to CUPS server....

  1. #1
    Join Date
    Jun 2009

    Printing issuse: cannot connect to CUPS server....

    Xubuntu is so far my favorite version of Linux, and i've used quite a few! I've been astounded at just how well it supports hardware and how well it runs on older computers.


    I cannot print on my desktop Xubuntu 9.04 installation. I have multiple computers in my house, most of them dual-booted XP and Xubuntu, or with just one or the other. This desktop is the ONLY one giving me trouble.

    It seems the CUPS system does not or can not run, and the printer setup cannot connect to it. I try to start the server:

    cuuser@travis-desktop:~$ cupsd
    cupsd: Child exited with status 1!

    and that's what I get.

    When I run live from USB or cd on this computer, the printing setup works flawlessly. My printer is detected, and a few clicks later, I'm up and printing. So I know everything works: computer, cables, printer, drivers - everything.

    So I re-installed Xubuntu on this computer, and STILL get the same problem. As soon as it's installed, I try to add my printer, and the "Printer Configuration - localhost" window shows up and says "Not Connected" in the bottom status bar of the window.

    I then click SERVER>CONNECT and get this

    `"CUPS server error" window
    There was an error during the CUPS operation: 'httpConnectionEncrypt failed'.

    So I'm stuck. Anyone have any clues??? Thanks! I start my new semester soon and I'm determined to use Linux this year for classes, kind of a proof-of-concept, and I'll be writing up my findings. Looks like the first chapter is writing itself!!

  2. #2
    wojox is offline I Ubuntu, Therefore, I Am
    Join Date
    Apr 2009

    Re: Printing issuse: cannot connect to CUPS server....

    Check you /etc/cupsd.conf file
    Make sure you connecting to localhost:631

  3. #3
    Join Date
    Jun 2009

    Re: Printing issuse: cannot connect to CUPS server....

    thanks for the quick response!

    in the "Printer Configuration - localhost" window, i click SERVER>CONNECT and then i can make it say localhost:631 in the box, but it still won't connect.

    i don't think it's the port. it seems that cups is just not running.

  4. #4
    Join Date
    May 2005

    Re: Printing issuse: cannot connect to CUPS server....

    as Lutz pointed out in the following link,
    it could be an AppArmor issue.

    sudo aa-complain cupsd
    sudo /etc/init.d/cups restart
    It worked for me.

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts