all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Cups Web Interface is Disabled
@ 2022-04-26 21:38 Les Campbell
  2022-04-27  0:18 ` Gary Johnson
  0 siblings, 1 reply; 4+ messages in thread
From: Les Campbell @ 2022-04-26 21:38 UTC (permalink / raw)
  To: help-guix

When I attempt to load cups at http://local host631/admin the following 
message is displayed:


  Web Interface is Disabled

The web interface is currently disabled. Run "cupsctl WebInterface=yes" 
to enable it.

 From the terminal I run "cupsctl WebInterface=yes" however I get 
"cupsctl: Internal Server Error".

How can I correct this problem and access the cups menu?

-Les-

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Cups Web Interface is Disabled
  2022-04-26 21:38 Cups Web Interface is Disabled Les Campbell
@ 2022-04-27  0:18 ` Gary Johnson
       [not found]   ` <fef8194d-cfad-81bd-2a08-23984379f4ba@gmail.com>
  0 siblings, 1 reply; 4+ messages in thread
From: Gary Johnson @ 2022-04-27  0:18 UTC (permalink / raw)
  To: Les Campbell; +Cc: help-guix

Les Campbell <lesdelc@gmail.com> writes:

> When I attempt to load cups at http://local host631/admin the
> following message is displayed:
>
>
>  Web Interface is Disabled
>
> The web interface is currently disabled. Run "cupsctl
> WebInterface=yes" to enable it.
>
> From the terminal I run "cupsctl WebInterface=yes" however I get
> "cupsctl: Internal Server Error".
>
> How can I correct this problem and access the cups menu?

Make sure you have set web-interface? to #t in the cups-service-type
definition in your operating-system record's services field.

```
(service cups-service-type
         (cups-configuration
          (web-interface? #t)))
```

-- 
GPG Key ID: 7BC158ED
Use `gpg --search-keys lambdatronic' to find me
Protect yourself from surveillance: https://emailselfdefense.fsf.org
=======================================================================
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments

Why is HTML email a security nightmare? See https://useplaintext.email/

Please avoid sending me MS-Office attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Cups Web Interface is Disabled
       [not found]   ` <fef8194d-cfad-81bd-2a08-23984379f4ba@gmail.com>
@ 2022-05-04 13:28     ` Gary Johnson
  2022-05-06 15:57       ` Les Campbell
  0 siblings, 1 reply; 4+ messages in thread
From: Gary Johnson @ 2022-05-04 13:28 UTC (permalink / raw)
  To: Les; +Cc: help-guix

Les <lesdelc@gmail.com> writes:

> Gary, added the following:
>
> ```
> (service cups-service-type
>          (cups-configuration
>           (web-interface? #t)))
> ```
>
> This did not change the access to cups. The Web Interface still
> remains Disabled.
>

1. Make sure to import `cups-service-type` and `cups-configuration` in your `use-modules` declaration at the top of the file.

2. Make sure that your `operating-system` declaration compiles without errors.

3. Remember to run `sudo guix system reconfigure /path/to/your/config.scm` to add this service.

4. Make sure the CUPS service is running with `sudo herd status cups`.
   If not, you may need to start it manually or simply reboot your
   computer to bring it up automatically at init time.

Good luck!

-- 
GPG Key ID: 7BC158ED
Use `gpg --search-keys lambdatronic' to find me
Protect yourself from surveillance: https://emailselfdefense.fsf.org
=======================================================================
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments

Why is HTML email a security nightmare? See https://useplaintext.email/

Please avoid sending me MS-Office attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Cups Web Interface is Disabled
  2022-05-04 13:28     ` Gary Johnson
@ 2022-05-06 15:57       ` Les Campbell
  0 siblings, 0 replies; 4+ messages in thread
From: Les Campbell @ 2022-05-06 15:57 UTC (permalink / raw)
  To: Gary Johnson; +Cc: help-guix@gnu.org

Thanks for replying Gary.

I tried Nixos and Guix and recently decided on Nixos which I am using on a desktop computer. My laptop I will continue to use Arch which I am familiar with as a user since the late 1990's. One day I will make another change on my laptop.
-Les-
Sent from Mailspring (https://link.getmailspring.com/link/3C5E8431-CC90-4361-93C1-940B856D1C45@getmailspring.com/0?redirect=https%3A%2F%2Fgetmailspring.com%2F&recipient=aGVscC1ndWl4QGdudS5vcmc%3D), the best free email app for work
On May 4 2022, at 7:28 am, Gary Johnson <lambdatronic@disroot.org> wrote:
> Les <lesdelc@gmail.com> writes:
>
> > Gary, added the following:
> >
> > ```
> > (service cups-service-type
> > (cups-configuration
> > (web-interface? #t)))
> > ```
> >
> > This did not change the access to cups. The Web Interface still
> > remains Disabled.
> >
>
> 1. Make sure to import `cups-service-type` and `cups-configuration` in your `use-modules` declaration at the top of the file.
> 2. Make sure that your `operating-system` declaration compiles without errors.
> 3. Remember to run `sudo guix system reconfigure /path/to/your/config.scm` to add this service.
> 4. Make sure the CUPS service is running with `sudo herd status cups`.
> If not, you may need to start it manually or simply reboot your
> computer to bring it up automatically at init time.
>
> Good luck!
> --
> GPG Key ID: 7BC158ED
> Use `gpg --search-keys lambdatronic' to find me
> Protect yourself from surveillance: https://emailselfdefense.fsf.org
> =======================================================================
> () ascii ribbon campaign - against html e-mail
> /\ www.asciiribbon.org - against proprietary attachments
>
> Why is HTML email a security nightmare? See https://useplaintext.email/
> Please avoid sending me MS-Office attachments.
> See http://www.gnu.org/philosophy/no-word-attachments.html
>


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-05-06 16:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-26 21:38 Cups Web Interface is Disabled Les Campbell
2022-04-27  0:18 ` Gary Johnson
     [not found]   ` <fef8194d-cfad-81bd-2a08-23984379f4ba@gmail.com>
2022-05-04 13:28     ` Gary Johnson
2022-05-06 15:57       ` Les Campbell

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.