Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.misc > #37163

Re: GUI pauses when on TTY

From "Carlos E.R." <robin_listas@es.invalid>
Newsgroups comp.os.linux.misc
Subject Re: GUI pauses when on TTY
Date 2023-02-19 13:12 +0100
Message-ID <k9g9cjxrug.ln2@Telcontar.valinor> (permalink)
References <877cwf310a.fsf@usenet.ankman.de> <tsqp43$1o00$2@dont-email.me> <qnc7cjx4ne.ln2@Telcontar.valinor> <tsrsqa$61pk$3@dont-email.me>

Show all headers | View raw


On 2023-02-19 02:08, Dan Espen wrote:
> "Carlos E.R." <robin_listas@es.invalid> writes:
> 
>> On 2023-02-18 15:59, Rich wrote:
>>> Andreas Kohlbach <ank@spamfence.net> wrote:
>>>> Yes, I am old school and like to work on a TTY whenever possible. But of
>>>> course I need GUI browsers and other GUI stuff too.
>>>>
>>>> And before someone says, "Use Xterm in full screen", please don't. :-)
>>>>
>>>> My problem is that on MATE (MINT Linux) pretty much everything stalls
>>>> once I switch to a TTY.
>>> If you mean the shift+alt+Fx key to swtich to one of Linux's native
>>> terminals, then this is expected.  The switch out of X and back to a
>>> TTY is a suspend of X, meaning the entire X session is paused.
>>
>> AFAIK the GUI is not suspended. This behaviour is relatively new, I
>> don't remember when it started. It affects multimedia.
>>
>>       You can run a long job, like a backup script, and it
>>       should continue running non stop when switching to a TTY.
>>
>> The same toolset that is used to "detect who is at the seat" does
>> it. Rationale is that it gives permissions to use the sound device to
>> the person that is seated, meaning the person having the GUI. As when
>> in tty mode no one has the GUI, there is no permission to use sound
>> and things stop.
>>
>> This could be HAL/ConsoleKit/PolicyKit. Or could be the display
>> manager doing it.
> 
> I did:
> 
> journalctl -f
> 
> I got this when switching to a TTY:
> 
>   pipewire[1514]: spa.alsa: hw:0,7: Channels doesn't match (requested 8, got 2)
> 
> Looks to me like something is redirecting sound production.

Yes. It (HAL/ConsoleKit/PolicyKit/DM) tries to give control of sound to 
the TTY.

Ah, I see in another post that there is a difference when login with the 
same user.

> 
>> The way to avoid this is not using the TTY, but an xterm.
> 
> Agree.  A terminal session is better than a TTY is so many ways.

:-D

-- 
Cheers, Carlos.

Back to comp.os.linux.misc | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

GUI pauses when on TTY Andreas Kohlbach <ank@spamfence.net> - 2023-02-18 02:07 -0500
  Re: GUI pauses when on TTY The Natural Philosopher <tnp@invalid.invalid> - 2023-02-18 10:02 +0000
    Re: GUI pauses when on TTY Andreas Kohlbach <ank@spamfence.net> - 2023-02-18 14:20 -0500
  Re: GUI pauses when on TTY Rich <rich@example.invalid> - 2023-02-18 14:59 +0000
    Re: GUI pauses when on TTY "Carlos E.R." <robin_listas@es.invalid> - 2023-02-18 17:59 +0100
      Re: GUI pauses when on TTY Andreas Kohlbach <ank@spamfence.net> - 2023-02-18 14:35 -0500
        Re: GUI pauses when on TTY "Carlos E.R." <robin_listas@es.invalid> - 2023-02-18 21:00 +0100
          Re: GUI pauses when on TTY Andreas Kohlbach <ank@spamfence.net> - 2023-02-18 21:29 -0500
        Re: GUI pauses when on TTY The Natural Philosopher <tnp@invalid.invalid> - 2023-02-19 12:03 +0000
      Re: GUI pauses when on TTY Dan Espen <dan1espen@gmail.com> - 2023-02-18 20:08 -0500
        Re: GUI pauses when on TTY Andreas Kohlbach <ank@spamfence.net> - 2023-02-18 21:37 -0500
          Re: GUI pauses when on TTY Dan Espen <dan1espen@gmail.com> - 2023-02-18 22:16 -0500
        Re: GUI pauses when on TTY Dan Espen <dan1espen@gmail.com> - 2023-02-18 22:23 -0500
          Re: GUI pauses when on TTY Andreas Kohlbach <ank@spamfence.net> - 2023-02-19 17:31 -0500
        Re: GUI pauses when on TTY "Carlos E.R." <robin_listas@es.invalid> - 2023-02-19 13:12 +0100
      Re: GUI pauses when on TTY marrgol <marrgol@address.invalid> - 2023-02-19 02:54 +0100

csiph-web