Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using Ubuntu 11.10 with Xdmx/Xmonad without Gnome on a macbook air 4,2.

Xdmx is an X Server that allows you to use other Linux computers running X11 as monitors. Literally, monitors connected by ethernet.

Xmonad is a window manager that is like Vim for your desktop. It manages your windows for you so you can focus on more important things like programming.

When I go onto my computer, I first stop gnome with sudo service gdm stop and then run xinit & xmonad. This means that xmonad is running directly on top of a bare bones X11 server.

Unfortunately, there is no sound and doing

sneilan@sneilan-MacBookAir:~$ sudo service pulseaudio start * PulseAudio configured for per-user sessions doesn't turn it on.

If I run alsamixer, I get

sneilan@sneilan-MacBookAir:~$ alsamixer cannot open mixer: No such file or directory

Sound works normally in Gnome and Xmonad running on top of Gnome.

How would I start my sound up without going into gnome?

Thank you for your time.

share|improve this question

I am not familiar enough with how xmonad is configured on Ubuntu, but the command you want to run is

/usr/bin/start-pulseaudio-x11 &

I am not sure where you would put that command, you can use ~/.xinitrc or add it to your xmonad start script, depending on how you configured it (w/ or w/o gnome, etc).

share|improve this answer

Per default Pulseaudio is set up to run in a per-user session. If users access the server via a terminal you may want to run pulseaudio as a system-wide daemon.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.