all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Is there a way to disable pulseaudio on a headless server?
@ 2018-02-12 19:16 George myglc2 Clemmer
  2018-02-12 19:40 ` Leo Famulari
  0 siblings, 1 reply; 3+ messages in thread
From: George myglc2 Clemmer @ 2018-02-12 19:16 UTC (permalink / raw)
  To: help-guix

[-- Attachment #1: Type: text/plain, Size: 570 bytes --]

Is there a way to disable pulseaudio on a headless server?

My server is generting errors like ...

messages:4985:27:Feb 12 09:12:37 localhost pulseaudio[12243]: [pulseaudio] bluez5-util.c: GetManagedObjects() failed: org.freedesktop.DBus.Error.ServiceUnknown: The name org.bluez was not provided by any .service files

debug:345077:27:Feb 12 09:12:37 localhost pulseaudio[12243]: [pulseaudio] bluez5-util.c: GetManagedObjects() failed: org.freedesktop.DBus.Error.ServiceUnknown: The name org.bluez was not provided by any .service files

Config attached. TIA - George


[-- Attachment #2: sys.scm --]
[-- Type: application/octet-stream, Size: 2882 bytes --]

;; GuixSD headless server w/Avahi & nss
(use-modules (gnu))
(use-service-modules networking ssh)
(use-service-modules virtualization) ; libvirt-service-type
(use-service-modules dbus)           ; dbus
(use-service-modules admin mcron)    ; rottlog-service-type
(use-service-modules  avahi)         ; avahi-service avahi (avahi-browse) nss-mdns
(use-service-modules  virtualization);libvirt-service-type
(use-package-modules
 admin                ;
 base                 ; glibc-utf8-locales
 certs
 cups
 disk
 emacs
 freeipmi
 linux                 ; mdadm
 networking            ; openvswitch
 virtualization        ; qemu virt-manager
 rsync
 screen
 ssh
 version-control       ; git
 wget
 xorg                  ; xauth
 )
(operating-system
  (host-name "g1")
  (timezone "America/New_York")
  (locale "en_US.utf8")
  (kernel-arguments '("console=ttyS1,115200"))
  ;; RAID1 root: NVMe M.2 SSD + 2 HDs
  (bootloader (grub-configuration
	       (target "/dev/nvme0n1")
	       (terminal-outputs '(console))
	       (terminal-inputs '(serial console))
	       (serial-speed 115200)
	       ))
  (initrd (lambda (file-systems . rest)
	    (apply base-initrd file-systems
		   #:extra-modules '("raid1")
		   rest)))
  (mapped-devices (list (mapped-device
			 (source '("/dev/nvme0n1p1" "/dev/sda1" "/dev/sdb1"))
			 (target "/dev/md3")
			 (type raid-device-mapping))))
  (file-systems (cons (file-system
			(title 'device)
			(device "/dev/md3")
			(mount-point "/")
			(type "ext4")
			(dependencies mapped-devices))
		      %base-file-systems))
  (swap-devices '("/dev/nvme0n1p2" ))
  (users (cons* (user-account
		 (name "g1")
		 (group "users")
		 (supplementary-groups '("wheel" "kvm" "libvirt"))
		 (home-directory (string-append "/home/" name)))
		%base-user-accounts))
  (packages (cons*
	     cups
	     emacs-no-x-toolkit
	     emacs-guix
	     emacs-zenburn-theme
	     freeipmi
	     git
	     glibc-utf8-locales
	     gnu-make
	     mdadm
	     magit
	     nss-certs
	     openssh
	     openvswitch           ;  networking
	     parted
	     qemu
	     rsync
	     screen
	     smartmontools
	     tree
	     virt-manager
	     wget
	     xauth
	     %base-packages))
  (name-service-switch %mdns-host-lookup-nss)
  (services (cons*
	     (service rottlog-service-type)
	     (dhcp-client-service)       ;needed for multicast
	     (avahi-service)
	     (dbus-service)
	     (ntp-service)
	     (service openssh-service-type
		      (openssh-configuration
		       (x11-forwarding? #t)))
	     (agetty-service
	      (agetty-configuration (tty "ttyS1")
				    (baud-rate "115200")))
	     (service libvirt-service-type ; virt-manager
		      (libvirt-configuration
		       (unix-sock-group "libvirt")
		       (tls-port "16555")))
	     (service openvswitch-service-type
		      (openvswitch-configuration
		       (package openvswitch)))
	     %base-services))
  )

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

* Re: Is there a way to disable pulseaudio on a headless server?
  2018-02-12 19:16 Is there a way to disable pulseaudio on a headless server? George myglc2 Clemmer
@ 2018-02-12 19:40 ` Leo Famulari
  2018-02-12 20:28   ` George myglc2 Clemmer
  0 siblings, 1 reply; 3+ messages in thread
From: Leo Famulari @ 2018-02-12 19:40 UTC (permalink / raw)
  To: George myglc2 Clemmer; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 383 bytes --]

On Mon, Feb 12, 2018 at 02:16:41PM -0500, George myglc2 Clemmer wrote:
> Is there a way to disable pulseaudio on a headless server?

Typically Pulseaudio is started on-demand by applications that use it.
On my headless server, Pulseaudio is not running after boot, but when I
launch the music playback server (MPD), it runs as my user.

So, what is starting Pulseaudio in this case?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* Re: Is there a way to disable pulseaudio on a headless server?
  2018-02-12 19:40 ` Leo Famulari
@ 2018-02-12 20:28   ` George myglc2 Clemmer
  0 siblings, 0 replies; 3+ messages in thread
From: George myglc2 Clemmer @ 2018-02-12 20:28 UTC (permalink / raw)
  To: Leo Famulari; +Cc: help-guix


On 02/12/2018 at 19:40 Leo Famulari writes:

> On Mon, Feb 12, 2018 at 02:16:41PM -0500, George myglc2 Clemmer wrote:
>> Is there a way to disable pulseaudio on a headless server?
>
> Typically Pulseaudio is started on-demand by applications that use it.
> On my headless server, Pulseaudio is not running after boot, but when I
> launch the music playback server (MPD), it runs as my user.
>
> So, what is starting Pulseaudio in this case?

Hi Leo,

I had a spurious '-soundhw hda' in the qemu call.

Thanks for asking the obvious question ;-) - George

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

end of thread, other threads:[~2018-02-12 20:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-12 19:16 Is there a way to disable pulseaudio on a headless server? George myglc2 Clemmer
2018-02-12 19:40 ` Leo Famulari
2018-02-12 20:28   ` George myglc2 Clemmer

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.