Pulseaudio stops when in TTY

Dear Arch Community,
I'm running gnome3, but since I've setup kmscon as tty replacement I find myself using vim in TTY rather than gvim in gnome3, as there are less (no) distractions.
However, whenever I switch to TTY (eg. Strg+Alt + F2) mplayer stops playing, "audio device got stuck".
Switching back to gnome, it continues playing.
I'm not quite sure where to look and how to prevent this problem.
It seems that 'someone' stops the pulseaudio-daemon when switching to TTY.
Any hints?
I can't just start another pulseaudio-session in tty as it can't connect to dbus, which relies on X11 apparently.
Against Arch linux philosophy of staying in control, I feel like i've lost it.
Any help would be appreciated.
Richy

I have the same issue after my last upgrade. I have two X sessions and when I switch between them sound stops in one and starts in other. I don't think it is a bug, but a feature .
It has another side effect - MPD is not playing in background. The system wide pulse is not a solution as it is strongly discouraged by upstream and has a lot of limitations.
I tried to search the web about it and found that this behaviour can be achieved (and changed) with polkit.
I found this command to enable inactive sessions to play sound:
sudo polkit-action --set-defaults-inactive org.freedesktop.hal.device-access.sound yes
Unfortunately I didn't find polkit-action in my current Arch installation. Seems like it is replaced by pkaction.
pkaction gives me a list with rules, but there is no org.freedesktop.hal.device-access.sound
Now I have no more ideas where to look forward. Please help

Similar Messages

  • Application stops when tab is inactive, or application is minimized

    I have an application running in browser and as air(flex3/flex4.1 + air 2.6). Now we noticed the problem that our application upload stops when the tab, in which the application is running during a browser session, becomes inactive. In the air  version similar happens when we minimize it to taskbar. Anyone has some thoughts on how to prevent that flashplayer(10.1) behavior? In both versions the calls are handled async. and the swf, of the browser version, is embeded using swfObject. I know streaming is a seperated topic, but it never appeared to me that a youtube video stoped loading while i switched tabs, so there should be a workaround.
    all the best, florian

    Unfortunately, there is no way to prevent that behavior in the browser.
    Does it really stop?  Or just slow down?
    In AIR, you might be able to set the backgroundFrameRate in a Flex app.

  • I can listen to the Music Library in my Ipad through home sharing, but I can't do it in my Iphone. When Iphone managed to connect my Mac, I can see how a watch turns clockwise but it stops when it arrives at a half of the watch. What can I do?

    I can listen to the Music Library in my Ipad through home sharing, but I can't do it in my Iphone. When Iphone managed to connect my Mac, I can see how a watch turns clockwise but it stops when it arrives at a half of the watch. What can I do?

    Hi there,
    You may want to take a look at some of the troubleshooting steps found in the article below.
    Troubleshooting Home Sharing
    http://support.apple.com/kb/ts2972
    Hope that helps,
    Griff W.

  • Flash html5 - How can i make an internal movie clip slow down and stop when it get to a certain frame?

    I am creating an automotive braking system using flash and have a wheel turning. I want the wheel to slow down and stop after the brake pedal is pushed at a certain frame. I know I could do this with frame by frame animation but was hoping there was a short cut - javascript?? If not the slowing down portion then is there code for just making the internal movie clip (wheel turning) to stop when it gets to a frame.? Thanks

    you can use the ticker class to create a loop that you use to control the wheel's rotation or frame, TweenJS v0.6.0 API Documentation : Ticker

  • [SOLVED] screen brightness too low when switching tty

    I have autologin enabled in LightDM, so when I boot I am taken to my MATE desktop automatically. This happens in the default tty (tty1).
    Sometimes I want to switch to a different virtual terminal (e.g., by pressing Control+Alt+F2) without ending my session in tty1. However, most of the time when I do this I find that the brightness in the new tty (e.g., tty2) is so low that I can hardly see the login prompt. When I switch back to tty1 the brightness in the X session is fine. Switching back to tty2 I see that it is still dim. Hitting either the brightness-up or the brightness-down (!?) key on the laptop causes the brightness in tty2 to jump to normal.
    Does anyone know how to fix this so that when I switch to a different tty the brightness is at a reasonable level right away? I am on a Lenovo Thinkpad T520 (no Nvidia, just integrated Intel graphics) in case it matters.
    Last edited by bdantas (2014-08-19 17:53:05)

    As an experiment, I logged in to non-graphic mode in tty1 (by adding "systemd.unit=multi-user.target" to grub2's kernel line), then tried switching ttys. No brightness problems!
    As another experiment, I allowed regular boot to my desktop in tty1 (LightDM -> MATE autologin) but then got out of graphical mode by opening a terminal emulator and typing "sudo systemctl isolate multi-user.target". Once I had a cli in tty1 I then tried switching ttys. Again, no brightness problems.
    I can conclude that when switching tty's, the new tty is too dim only if I have a graphical session running in tty1. Therefore, I don't think this is a kernel problem. Seems that something related to lightDM or X or MATE running in tty1 is causing the problem.

  • Started to run recovery disc assistant on a backup hard drve-stopped when it said it would erase all data-but now can't inialize the external drive nor repair it with disc utility?

    started to run recovery disc assistant on a backup hard drve-stopped when it said it would erase all data-but now can't inialize the external drive nor repair it with disc utility. what to do?

    Activity Monitor – Monitor Performance Problems  
    Performance Guide
    Why is my computer slow
    Why your Mac runs slower than it should
    Slow Mac After Mavericks
    Things you can do to resolve slowdowns  see post by Kappy
    Try running this program and then copy and paste the output in a reply. The program was created by Etresoft, a frequent contributor.  Please use copy and paste as screen shots can be hard to read.
    Etrecheck – System Information

  • Logical standby stopped when trying to create partitions on primary(Urgent

    RDBMS Version: 10.2.0.3
    Operating System and Version: Solaris 5.9
    Error Number (if applicable): ORA-1119
    Product (i.e. SQL*Loader, Import, etc.): Data Guard on RAC
    Product Version: 10.2.0.3
    logical standby stopped when trying to create partitions on primary(Urgent)
    Primary is a 2node RAC ON ASM, we implemented partitions on primar.
    Logical standby stopped appling logs.
    Below is the alert.log for logical stdby:
    Current log# 4 seq# 860 mem# 0: +RT06_DATA/rt06/onlinelog/group_4.477.635601281
    Current log# 4 seq# 860 mem# 1: +RECO/rt06/onlinelog/group_4.280.635601287
    Fri Oct 19 10:41:34 2007
    create tablespace INVACC200740 logging datafile '+OT06_DATA' size 10M AUTOEXTEND ON NEXT 5M MAXSIZE 1000M EXTENT MANAGEMENT LOCAL
    Fri Oct 19 10:41:34 2007
    ORA-1119 signalled during: create tablespace INVACC200740 logging datafile '+OT06_DATA' size 10M AUTOEXTEND ON NEXT 5M MAXSIZE 1000M EXTENT MANAGEMENT LOCAL...
    LOGSTDBY status: ORA-01119: error in creating database file '+OT06_DATA'
    ORA-17502: ksfdcre:4 Failed to create file +OT06_DATA
    ORA-15001: diskgroup "OT06_DATA" does not exist or is not mounted
    ORA-15001: diskgroup "OT06_DATA" does not exist or is not mounted
    LOGSTDBY Apply process P004 pid=49 OS id=16403 stopped
    Fri Oct 19 10:41:34 2007
    Errors in file /u01/app/oracle/admin/RT06/bdump/rt06_lsp0_16387.trc:
    ORA-12801: error signaled in parallel query server P004
    ORA-01119: error in creating database file '+OT06_DATA'
    ORA-17502: ksfdcre:4 Failed to create file +OT06_DATA
    ORA-15001: diskgroup "OT06_DATA" does not exist or is not mounted
    ORA-15001: diskgroup "OT06_DATA" does not exist or
    Here is the trace file info:
    /u01/app/oracle/admin/RT06/bdump/rt06_lsp0_16387.trc
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    ORACLE_HOME = /u01/app/oracle/product/10.2.0
    System name: SunOS
    Node name: iscsv341.newbreed.com
    Release: 5.9
    Version: Generic_118558-28
    Machine: sun4u
    Instance name: RT06
    Redo thread mounted by this instance: 1
    Oracle process number: 16
    Unix process pid: 16387, image: [email protected] (LSP0)
    *** 2007-10-19 10:41:34.804
    *** SERVICE NAME:(SYS$BACKGROUND) 2007-10-19 10:41:34.802
    *** SESSION ID:(1614.205) 2007-10-19 10:41:34.802
    knahcapplymain: encountered error=12801
    *** 2007-10-19 10:41:34.804
    ksedmp: internal or fatal error
    ORA-12801: error signaled in parallel query server P004
    ORA-01119: error in creating database file '+OT06_DATA'
    ORA-17502: ksfdcre:4 Failed to create file +OT06_DATA
    ORA-15001: diskgroup "OT06_DATA" does not exist or is not mounted
    ORA-15001: diskgroup "OT06_DATA" does not exist or
    KNACDMP: *******************************************************
    KNACDMP: Dumping apply coordinator's context at 7fffd9e8
    KNACDMP: Apply Engine # 0
    KNACDMP: Apply Engine name
    KNACDMP: Coordinator's Watermarks ------------------------------
    KNACDMP: Apply High Watermark = 0x0000.0132b0bc
    Sorry our primary database file structure is different from stdby, we used db_file_name_convert in the init.ora, it look like this:
    *.db_file_multiblock_read_count=16
    *.db_file_name_convert='+OT06_DATA/OT06TSG001/','+RT06_DATA/RT06/','+RECO/OT06TSG001','+RECO/RT06'
    *.db_files=2000
    *.db_name='OT06'
    *.db_recovery_file_dest='+RECO'
    Is there any thing wrong in this parameter.
    I tried this parameter before for cloning using rman backup. This din't work.
    What exactly must be done? for db_file_name_convert to work.
    Even in this case i think this is the problem its not converting the location and the logical halts.
    help me out.....
    let me know if you have any questions.
    Thanks Regards
    Raghavendra rao Yella.

    Hi reega,
    Thanks for your reply, our logical stdby has '+RT06_DATA/RT06'
    and primary has '+OT06_DATA/OT06TSG001'
    so we are using db_file_name_convert init parameter but it doesn't work.
    Is there any thing particular steps hiding to use this parameter? as i tried this parameter for rman cloning it din't work, as a workaround i used rman set new name command for clonning.
    Let me know if you have any questions.
    Thanks in advance.

  • Recharging my iPod (3rd gen.) on my 2010 iMac goes extremely slowly (via usb port at the back). This is mainly because recharging stops when my mac goes to sleep. I just can't believe that Apple doesn't have a sollution for this, but I haven't found itth

    Recharging my iPod shuffle (3rd gen.) on my 2009 iMac (OS 10.5.8) goes extremely slowly (via usb port at the back). This is mainly because recharging stops when my mac goes to sleep. I just can't believe that Apple doesn't have a sollution for this, but I haven't found it yet... What's the most efficient way of recharging?

    Purchase a wall charger for it instead. 
    B-rock

  • Can anyone help with issue whereby Music, Podcasts and Audiable Book Apps keep stopping when listing via Headphones following IOS 7.01 Updates on Iphone 4?

    Can anyone help with issue whereby Music, Podcasts and Audiable Book Apps keep stopping when listing via Headphones following IOS 7.06 Updates on Iphone 4?
    I have tried the following all ready:
    Resetting Phone
    Resetting Settings on phone
    Change Headsets to speakers
    Reinstalled Phone
    Updated to IOS 7.1
    No of the above has resolved the issue does anyone have any ideas?

    Can anyone help with issue whereby Music, Podcasts and Audiable Book Apps keep stopping when listing via Headphones following IOS 7.06 Updates on Iphone 4?
    I have tried the following all ready:
    Resetting Phone
    Resetting Settings on phone
    Change Headsets to speakers
    Reinstalled Phone
    Updated to IOS 7.1
    No of the above has resolved the issue does anyone have any ideas?

  • Received the following error message while trying to install icloud 3.1 and my iTunes stops when I try to access the iTune store, Microsoft.vc80.CRT,type="win32",ver="8.0.50727.6195",processorArchitecture="amd 64".HRESULT:0x800703EE.

    Received the following error message while trying to install icloud 3.1 and my iTunes stops when I try to access the iTune store, Microsoft.vc80.CRT,type="win32",ver="8.0.50727.6195",processorArchitecture="amd 64".HRESULT:0x800703EE. Recently upgraded to windows 8.1 then everything just wouldn't work properly

    Could you solve this problem? I have similr problem. I can't upgrade Itune it generat the error below. I already unistall de all version but the error still appear. Could you help?

  • Why Acrobat Pro XI stops when I open a pdf with post-it?

    Hello,
    Acrobat PRO XI stops when 1 hopen a pdf with comments (post-it) or when I go to preferences.
    Does anyone know why and he knows a solution?
    Thank you for your information.
    BR
    Mac i7 • OS 10.6.8

    Hello,
    Thank you for your reply.
    The Acrobat XI PRO is 11.0.07.
    Post-it : Sticky comments.
    BR
    Mac i7 • OS 10.6.8
    Acrobat XI PRO : 11.0.07

  • The printing of .pdf file from Project 2013 stops when the file name should be written. Project 2013 crashes. Does someone know what is wrong between Project 2013 and Adobe Acrobat 9?

    The printing of .pdf file from Project 2013 stops when the file name should be written. Project 2013 crashes. Does someone know what is wrong between Project 2013 and Adobe Acrobat 9?

    The Acrobat 9.x product family passed into "End of Support" mid-year of 2013.
    Acrobat 9 support of MS Project via PDFMaker stops with Office 2007.
    For Office 2013 support you must use Acrobat XI (11.0.1) or newer. 
    A good to have reference:
    https://helpx.adobe.com/acrobat/kb/compatible-web-browsers-pdfmaker-applications.html
    Acrobat Pro and Standard DC are what are currently available for purchase. 
    Be well...

  • When i charge my ipad mini the charging dosent complete it charges to 91 the it stops, when i charge my ipad mini the charging dosent complete it charge to 91 the it stops

    when i charge my ipad mini the charging dosent complete it charges to 91 the it stops, when i charge my ipad mini the charging dosent complete it charge to 91 the it stops

    :You need to recalibrate a device every few months.  Let it completely run down before charging.

  • Why objet is not stopped when page change

    Hi,
    I'm currently working in my company on a library.
    A have created a class to display ads in a webrowser. A request is executed every 20 seconds.
    I display the ads in a panorama page
    but when i go to a detail page my banner continu to do request.
    The object isn't destroyed when the page change ?
    And if not how can i resolve it ?
    Thank you

    No. You should call the stop method on that timer to ensure it stops when you want it to.  It sounds like there's a handle somewhere on that timer that hasn't been released (perhaps via page caching) so that's why the timer hasn't gone out of scope.
    Ignoring the obvious solutions makes your programming life more difficult.
    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.
    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with
    undefined objects and unknown namespaces.

  • Sustain won't stop when using Logic's Plugins

    I have a CME VX80 and using it with Logic 9.01. I'm getting the sustain staying on all the time once I press the pedal. If I change the polarity then the sustain stops when I press the pedal.
    This seems to happen only with Logic's virtual Instruments. If I use external plug-ins like Ivory Piano the sustain works correctly. If I use Korg's M1/T1 virtual intruments, the pedal works correctly.
    Any suggestions as to why this is happening? Any resolutions?

    It was the pedal itself. I bought a new M-audio pedal and everything is fine now.
    Message was edited by: micdim

Maybe you are looking for

  • Control-c in sqlplus on Windows leaves me at C: prompt

    An annoying "feature" of the command line version of SQL*Plus (sqlplus.exe not sqlplusw.exe) is that a control-c will cause the program to abort. If I set pause on and want to break out of the execution of the query, i end up aborting my sqlplus sess

  • Sales report period wise

    Hi Is there any report in SAP to know the customer wise Sales Organisation wise sales order peport. we need to konw customer wise sales orders report period wise. how many salea orders we booked for the customer wise. EX: Customer No | Customer Name|

  • BPEL Variables in to Transform activity (XSL)

    Hi, I need to access a BPEL variable from within a Transform activity (XSL). I need an output like this: <XML> <val1>1</val1> <val2>2</val2> <val3>3</val3> <val4>4</val4> </XML> Val1 and val2 is reachable from the xsd in the Transform activity (sourc

  • I need to be change plant customer and Vendor address as per plant setup.

    Hi I need to be change plant customer and Vendor address as per plant setup. Pls tell me the t-codes and process configuration to setup these changes. I have already change Plan & shipping point address in configuration. Regard vicky

  • Please help me constructing this query

    please help me .      table a                ===========           transactionid     personname     year     dept r001          person1          y1     d1 r002          person1          y2     d2 r005          person3          y1     d2 r004