Re: [DNG] (Almost) no sound under Beowulf
On Fri, Sep 25, 2020 at 10:54:14PM -0700, Marc Shapiro via Dng wrote: > The issue that I am having is with sound. My daughter reported that it was > not working. I tried playing a video (in Firefox) from my login and also > got no sound. You've already gotten good suggestions in this thread. I'd concur with the advice to get rid of pulseaudio, and use ALSA. If a particular application requires pulseaudio, install the apulse package, and start that application through apulse. One thing I haven't seen mentioned so far is to make sure that each user who is supposed to be able to play sound is a member of the audio group. If they aren't in the audio group, add them to the audio group, log them out, and log them back in. Note, I get sound in Beowulf in firefox just fine with out pulseaudio installed. > 3) The 'play' utility from the sox package gives an error whenever I try to > play an mp3 file. Using 'aplay' to play .wav files works fine. What do I > need to do to play mp3s from the commandline? Do you have the libsox-fmt-mp3 package installed? Better yet, unless you have some reason not to, just install the libsox-fmt-all package. For playing music from the command line, I use mplayer. As you've discovered, aplay works too, and play should work as well once you install the necessary format support. Greg -- web site: http://www.gregn.net gpg public key: http://www.gregn.net/pubkey.asc skype: gregn1 (authorization required, add me to your contacts list first) If we haven't been in touch before, e-mail me before adding me to your contacts. -- Free domains: http://www.eu.org/ or mail dns-mana...@eu.org ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Re: [DNG] (Almost) no sound under Beowulf
On Fri, 25 Sep 2020 22:54:14 -0700 Marc Shapiro via Dng wrote: > I have been running Debian for over 20 years, but I want to avoid > systemd, so I am trying out Devuan. Excellent! > > I installed ASCII a last year and just did an upgrade to Beowulf > about a week ago. My goal now is to get Beowulf to run close enough > to my Debian Stretch system that my wife and daughter can't tell the > difference. I mount the same partition on home for both Debian and > Devuan, so that keeps the local configs the same. > > The issue that I am having is with sound. My daughter reported that > it was not working. I tried playing a video (in Firefox) from my > login and also got no sound. > > I have since determined that pulseaudio was not running (it is > installed). So I started the pulseaudio daemon under my login, > started up Firefox and played a video. Sound. Yay! I logged into > my daughter's account and started the pulseaudio daemon, started > Firefox and played a video. No sound. Boo! Your experience matches mine, on various distros. Pulseaudio is a land of a thousand hidden mutes, and a maze of state dependencies. So I de-installed Pulseaudio several years ago. At the end of this email I'll tell you about my latest Pulseaudio disaster. > 1) If anyone can tell me how to get pulseaudio to see my built-in > audio for all three logins, it would be greatly appreciated. Reboot. Then, every time Pulseaudio fails, reboot. Pulseaudio is a maze of state dependencies. > > 2) How do I get pulseaudio to run for each user when they log into > the system. Put the command to start it in each user's .bashrc, or in each user's .Xdefaults and .xinitrc, or just have sysvinit or runit run the daemon for all users (if all users can share Pulseaudio). [snip] I heard you loud and clear when you said you want your family to have the exact same experience in Devuan that they had in Debian. Unfortunately, Pulseaudio is very connected to dbus and I think somewhat connected to systemd. So what I'd do is: 1) Uninstall Pulseaudio and Pavucontrol 2) Create /usr/local/adjustments 3) Install apulse, the app at a time Pulseaudio replacement 4) Create executable script /usr/local/adjustments/firefox containing following code: apulse firefox 5) Put /usr/local/adjustments at the very front of the path, and make sure it stays there. 6) Use /usr/local/adjustments for any other programs that have irresponsibly required junk software. HTH, SteveT Steve Litt Autumn 2020 featured book: Thriving in Tough Times http://www.troubleshooters.com/thrive ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Re: [DNG] ..devuan to the rescue? Easiest possible newbie email server setup, ideas?
Marjorie Roome via Dng wrote: > I also end up rejecting a lot of spam because it lacks a reverse hostname > (it's easily the largest category). > So it's not just a few such as ntlworld and gmx that check this. IIRC the specific complaint wasn't that they checked for rDNS, but that they matched it against the domain of the sender. That makes no sense at all, it prevents running more than one domain on one mail server. I also use lack of rDNS as a check. I also check it for obvious misconfigurations like (from memory) : it's an IP literal (not allowed by RFC), it's not one of my domains, the domain actually exists. But one thing I don't check is that the rDNS matches the name given by the server in it's greeting - that just gets too many rejections because to many supposedly professional IT people can't get basics right. And I don't just mean "little guys", some of the problems I've seen with DNS and mail servers have been from larger outfits where I know they employ sizeable IT departments. Rick Moen wrote: > :r! dig -t txt _dmarc.linuxmafia.com +short > "DMARC: tragically misdesigned since 2012. Check our SPF RR, instead." Thank you for brightening my day :-) On 26 Sep 2020, at 04:53, Mark Rousell wrote: > Ah, thanks. It does make deliverability easier to send via an established > SMTP server such an one's ISP's server. But then you : a) lose all visibility of what happens to your mail One of the reasons I use my own mail server is because I can then see exactly what's happening to my mail. Especially if it's not getting delivered - which these days doesn't generally seem to be a problem, even for AOL ! It also means I have evidence from my logs. On a number of occasions I've used this along the lines of "as per which was delivered to your mailserver on " when dealing with people who have "conveniently lost" previous communications. b) are reliant on your ISP being capable of running a mail server reliably. I don't think I'm alone in finding ISP mail server offerings to "have shortcomings". I've personally lost mail due to incompetent ISPs. As previously mentioned, unless you are expecting an email that doesn't arrive, you don't know you've lost it. I went through a phase where my ISP was losing mail, but only intermittently. It was only when I could pinpoint something missing, and the sender was tech savvy enough to be able to give me their server logs, did my ISP finally consider I had a complaint to investigate - they then went and changed my settings in their control panel to wrong settings, and lost mail that they'd had queued on the wrong server for some time (triggered delivery without any notice, but from the wrong server and my server rejected them as it only allowed mail specific servers (the ones they listed as inbound relays)). But then, having run mail servers for some years now, I can really really understand the desire to make it an SEP (Someone Else's Problem) ! Simon ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
[DNG] Failed run live usb iso
Did download this: [b]devuan_beowulf_3.0.0_amd64_desktop-live.iso[/b] (1.2GB) and did: [code]sudo dd if=devuan_beowulf_3.0.0_amd64_desktop-live.iso of=/dev/sdc bs=4096[/code] did reboot it, but got sort of this output: Error : cannot run Apparmor ... failed ... ... (Other errors) how to solve ? Thanks before. ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Re: [DNG] (Almost) no sound under Beowulf
il devuanizzato Marc Shapiro via Dng il 26-09-20 07:54:14 ha scritto: The issue that I am having is with sound. My daughter reported that it was not working. I tried playing a video (in Firefox) from my login and also got no sound. Me too when installed beowulf I had problems. Pulseaudio brings trouble and has odd behavior. Alsa it is not without problems. However both works with no|a little|medium effort. I don't like pulseaudio and in my machines tend to remove it. Sometimes install it with disgust. I have since determined that pulseaudio was not running (it is installed). So I started the pulseaudio daemon under my login, started up Firefox and played a video. Sound. Yay! I logged into my daughter's account and started the pulseaudio daemon, started Firefox and played a video. No sound. Boo! The I started pavucontrol under both logins. My login shows the 'Built in Analog Stereo' output device, and its monitor for input. My daughter's login shows a 'Dummy' output device and its monitor for input. under my wife's login, it shows the same 'Dummy' devices as my daughter's login . 1) If anyone can tell me how to get pulseaudio to see my built-in audio for all three logins, it would be greatly appreciated. You need to make a file named .asoundrc in home directory and select correct audio card. You can find it with: cat /proc/asound/cards You may insert a number or (best) the name of audio card. For info: https://www.alsa-project.org/main/index.php/Asoundrc pulseaudio is alsa based and it should work. 2) How do I get pulseaudio to run for each user when they log into the system. I recommend you not to waste time configuring pulseaudio. If pulseaudio don't work and troubleshooting is more difficult than expected remove it and configure alsa. If alsa work then: if is necessary (advanced mixing, trouble with pulseaudio only software as firefox, other...) install pulseaudio else install apulse (sound working in pulseaudio only software as firefox for example), configure dmix plugin in alsa and so on... end if 3) The 'play' utility from the sox package gives an error whenever I try to play an mp3 file. Using 'aplay' to play .wav files works fine. What do I need to do to play mp3s from the commandline? You can try: vlc -Incurses FILE or moc (it also works by freeing the terminal): http://moc.daper.net/ (NOTE: I boot to console only. Each user switches to a different VT and runs startx from there.) Yes, me too run X from VT. -- _ < Viverna > - \^/^ \ / \ // \ \ |\___/| / \// .\ \ /0 0 \__ /// | \ \ ** / / \/_/// | \ \ \ | @_^_@`/ \/_ //| \ \ \/\ \ //_^_/ \/_ // |\\ \ \ ( //) |\/// | \ \ | | ( / /) | // | \ _\ | / ( // /) | ; -.|_ _\.-~ / / (( / / )) |_ *-.|.-~-. .~~ (( // / ))\ / ~-. _ .-~ / (( /// )) `. }{ / (( / )) .~-.\\-` .~ ///...<\ _ -~ ///-._ _ _ _ _ _ _{^ - - - - ~ ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Re: [DNG] Xorg stopped working after upgrade to Beowulf
il devuanizzato spiralofhope il 26-09-20 02:45:21 ha scritto: On Tue, 22 Sep 2020 20:30:53 +0200 viverna wrote: or xinit with custom command line, for example: xinit /home/user/.xinitrc -- /etc/X11/xinit/xserverrc :0 vt2 -keeptty I had some entertainment dealing with this problem over the years. When I switched to Devuan I had to tinker a bit. I can't remember any of the details, but this is what I ended with in my zsh login script: string="$TTY" # I don't know why this works, even though $TTY is actually /dev/pts1 pattern='/dev/tty' tty_to_use='' # I could rewrite this in POSIX sh if someone needs tty_to_use="${string##${pattern}}" tty_to_use="${string##*${pattern}}" xinit /etc/X11/xinit/xinitrc -- /usr/bin/X :$(( tty_to_use - 1 )) \ vt"$tty_to_use" -auth "$( \tempfile --prefix='serverauth.' )" logout xinit parameters sometimes needs tuning. I use my script for start X (don't use startx). In beowulf just upgraded xinit with usual parameters (ascii works well) don't work. I digged inside startx script and get this: # Automatically determine an unused $DISPLAY d=0 while true ; do [ -e "/tmp/.X$d-lock" -o -S "/tmp/.X11-unix/X$d" ] || break d=$(($d + 1)) done defaultdisplay=":$d" unset d and I added this: if tty|grep "/dev/tty[0-9]*" >/dev/null ; then VT="vt`tty|grep "/dev/tty[0-9]*"|sed 's/\/dev\/tty//g'`" else printf "Virtual terminal not found.\n" return 1 fi Passing $defaultdisplay (display number) and $VT (virtual terminal) X start without problem. If anyone really really wants to dig through my history of desperate experimentation throughout multiple Linuxes: https://github.com/spiralofhope/shell-random/commits/master/live/zsh/dot_zsh/4-login.sh Thanks interesting. -- _ < Viverna > - \^/^ \ / \ // \ \ |\___/| / \// .\ \ /0 0 \__ /// | \ \ ** / / \/_/// | \ \ \ | @_^_@`/ \/_ //| \ \ \/\ \ //_^_/ \/_ // |\\ \ \ ( //) |\/// | \ \ | | ( / /) | // | \ _\ | / ( // /) | ; -.|_ _\.-~ / / (( / / )) |_ *-.|.-~-. .~~ (( // / ))\ / ~-. _ .-~ / (( /// )) `. }{ / (( / )) .~-.\\-` .~ ///...<\ _ -~ ///-._ _ _ _ _ _ _{^ - - - - ~ ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng