You are not logged in.

#1 2023-03-25 16:19:47

Arklay
Member
Registered: 2023-03-21
Posts: 12

Firefox stops the download when ever I use lock screen

First off, I am new to BunsenLabs (great distrobution!) and fairly new to Linux, only been using it for about a month. Hopped today from Linux Mint MATE Edition to BunsenLabs because I wanted a more lightweight distro for my older PC and this one spoke to me somehow, liked the out of the box look and feel, and as you might have figured out already I have never used the window manager OpenBox.

My question: When I'm downloading a file through Firefox and then use lock screen the download stops and it says "failed", this never happened in the MATE DE, there the process continued in the background while using the lock screen option. Something that might be good to know is that I am using a wired connection, so it got nothing to do with a Wi-Fi connection.

I have looked at the "power settings" and don't really know what to change or is it something with the screen saver? Any ideas? And if so a guided way would be much appreciated for this newbie (me).

Edit: *window manager

Last edited by Arklay (2023-04-05 15:18:22)

Offline

#2 2023-04-04 21:26:29

Arklay
Member
Registered: 2023-03-21
Posts: 12

Re: Firefox stops the download when ever I use lock screen

Writing here hoping some dev might know the answer to this question. I have scovered the entire Internet to find the answer to this, asked on Linux related YouTube channels, looked for videos, documentation, asked once more on various Linux forums and of course asked previously about this in the main forum right here in: "Basic Help & Support". No one seems to know the answer or are willing to help out, which to me is baffling.

"When I'm downloading a file through Firefox and then use lock screen the download stops and it says "failed", this never happened in the MATE DE, there the process continued in the background while using the lock screen option. Something that might be good to know is that I am using a wired connection, so it got nothing to do with a Wi-Fi connection.

I have looked at the "power settings" and don't really know what to change or is it something with the screen saver? Any ideas? And if so a guided way would be much appreciated for this newbie (me)"

Update on the issue: This is the only reason keeping me away from using BunsenLabs, I am now using Crunchbangplusplus, which I'm happy with, #!++ uses XScreenSaver and there all my processes keeps running in the background while I'm using screen lock. Is this a bug or does it have to do with LightDM? Or is this not a possibility to do in LightDM? I have had this issue happen once before and that was in Linux Mint Xfce, which also uses LightDM.

I'll have even played around with the power settings, but nothing seems to do the trick.

Thanks in advance for any replies.

Last edited by Arklay (2023-04-04 21:41:01)

Offline

#3 2023-04-04 22:29:58

manyroads
Member
From: around here, somewhere
Registered: 2019-04-16
Posts: 158
Website

Re: Firefox stops the download when ever I use lock screen

FWIW. Why not stick with what works for you....


Pax vobiscum,
Mark Rabideau - https://many-roads.com  https:/eirenicon.org 
i3wm, dwm, hlwm on sid/ arch ~ Reg. Linux User #449130
"For every complex problem there is an answer that is clear, simple, and wrong." H. L. Mencken

Offline

#4 2023-04-04 22:35:49

Arklay
Member
Registered: 2023-03-21
Posts: 12

Re: Firefox stops the download when ever I use lock screen

manyroads wrote:

FWIW. Why not stick with what works for you....

Wow. Maybe because this has a larger community? Did you always stick to what "worked for you" or did you ever evolve? You must be one of those gatekeepers I've been hearing about.

Last edited by Arklay (2023-04-04 22:38:28)

Offline

#5 2023-04-05 03:06:02

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,606
Website

Re: Firefox stops the download when ever I use lock screen

Arklay wrote:

No one seems to know the answer or are willing to help out, which to me is baffling.

Always assume good faith, if lacking clear evidence to the contrary. I'm sure everyone here would be willing to help if they could, at least if all they had to do was utter a Word of Wisdom.

To get to the bottom of this case, someone would have to try to reproduce your issue. Logging in and out of a session is annoying if you've got a lot of things going, so maybe no-one has yet found the time to invest in trying to help.


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#6 2023-04-05 04:08:58

Pinhead
Member
Registered: 2022-12-05
Posts: 98

Re: Firefox stops the download when ever I use lock screen

look at the power manager - sleep


Complete the pattern, solve the puzzle, turn the key.

Offline

#7 2023-04-05 04:28:07

Arklay
Member
Registered: 2023-03-21
Posts: 12

Re: Firefox stops the download when ever I use lock screen

johnraff wrote:
Arklay wrote:

No one seems to know the answer or are willing to help out, which to me is baffling.

To get to the bottom of this case, someone would have to try to reproduce your issue. Logging in and out of a session is annoying if you've got a lot of things going, so maybe no-one has yet found the time to invest in trying to help.

Right, but can you pinpoint me to some documentation that explains how I might be able to change that? Just because "you" find it annoying logging in and out, again I don't see how that is related to my question, some of us need to be able to use the screen lock option for privacy reasons. Do I need to purge LightDM and install something else? Because the reply hints to that it is not possible to do what I'm trying to do with LightDM.

Offline

#8 2023-04-05 04:41:37

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,606
Website

Re: Firefox stops the download when ever I use lock screen

FWIW I'm unable to reproduce your issue. I locked the screen while Firefox was downloading a file, logged in to a console session on TTY2  for a while, when I went back to TTY7 and unlocked the X session Firefox had successfully completed the download. I'm using LightDM.

Remember we're all unpaid volunteers here. No-one is obliged to help you, and whether someone has the time or inclination to investigate on your behalf is entirely up to them.


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#9 2023-04-05 04:58:45

Arklay
Member
Registered: 2023-03-21
Posts: 12

Re: Firefox stops the download when ever I use lock screen

Pinhead wrote:

look at the power manager - sleep

Thanks, but tried it, nothing seems to do the trick. All I want it to do is:

Keep running processes in the background while using the screen lock option. It amaze me that no one knows the answer, I've looked for documentations then asked around... basically everywhere, I find it hard to believe that this might be the hardest question ever asked.

Are you able to lock your screen with LightDM while running, just an example, a download through Firefox without it "failing" to download? Again this only happens to me when it has to do with LightDM, don't matter which distro it is. I am using a wired connection, so should not have anything to do with a Wi-Fi connection dropping out. I'm guessing all processes "stops", not only Firefox.

And why would anyone, if this is not possible, create something where that is not an option? Sounds like going backwards in time.

Offline

#10 2023-04-05 05:02:52

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,606
Website

Re: Firefox stops the download when ever I use lock screen

Arklay wrote:

Are you able to lock your screen with LightDM while running, just an example, a download through Firefox without it "failing" to download?

johnraff wrote:

I locked the screen while Firefox was downloading a file, logged in to a console session on TTY2  for a while, when I went back to TTY7 and unlocked the X session Firefox had successfully completed the download. I'm using LightDM.

PS Are you sure you're not logging out instead of locking the screen?

Last edited by johnraff (2023-04-05 05:54:12)


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#11 2023-04-05 08:23:18

taberacci
Member
Registered: 2023-03-24
Posts: 27

Re: Firefox stops the download when ever I use lock screen

It was never meant to be to lock the screen while downloading something, because resources fight with each other and Firefox is a complex program that gobbles a lot of RAM.

OpenBox is not a desktop environment, that's another thing. It's a window manager. Maybe combine it as it has been done with LXQt (Lubuntu). But I wouldn't know if lock screen could be applied while a lengthy operation is taking place.

Do you know how to use "curl" or "wget", and do you know what to download? You could test this in the terminal. Usually for downloads larger than 1GiB I don't like using any web browser.


"Lithium" style is green? Why?! :(

Offline

#12 2023-04-05 08:42:47

or1o9
Member
Registered: 2017-11-15
Posts: 246

Re: Firefox stops the download when ever I use lock screen

Have you tried to purge LightDM and use the tty log in instead to see if that helps?

Is it possible to try XScreenSaver with BL, or any other alternative for LightDM for you?

Offline

#13 2023-04-05 09:55:48

Arklay
Member
Registered: 2023-03-21
Posts: 12

Re: Firefox stops the download when ever I use lock screen

johnraff wrote:

FWIW I'm unable to reproduce your issue. I locked the screen while Firefox was downloading a file, logged in to a console session on TTY2  for a while, when I went back to TTY7 and unlocked the X session Firefox had successfully completed the download. I'm using LightDM.

Remember we're all unpaid volunteers here. No-one is obliged to help you, and whether someone has the time or inclination to investigate on your behalf is entirely up to them.

Strange then, in Linux Mint Xfce, just tried again on my laptop (with wired connection) which also uses LightDM the download "fails" right away when using screen lock and logging right back in, immediately that is. In BunsenLabs it takes a few minutes and then it says "failed", because when logging in and out of screen lock the download continues. If I leave it for 5-10 minutes it fails.

I know that, this is not my first rodeo, coming from all kinds of distros before ending up here at BunsenLabs, I've managed to set it up just the way I want it, this was the only issue I had, all the rest I could read up on, that is why I'll first scoured the Internet for a answer before asking around. Just trying to learn, and if you guys got a problem with that, well... I'm sure there's some good quotes out there for that.

I am 110% sure I'm using screen lock, lol.

Last edited by Arklay (2023-04-05 10:05:22)

Offline

#14 2023-04-05 10:01:17

Arklay
Member
Registered: 2023-03-21
Posts: 12

Re: Firefox stops the download when ever I use lock screen

orionH wrote:

Have you tried to purge LightDM and use the tty log in instead to see if that helps?

Is it possible to try XScreenSaver with BL, or any other alternative for LightDM for you?

Might try that, XScreenSaver worked just fine in Crunchbangplusplus, no issues there. The download kept running in the background.

Offline

#15 2023-04-05 11:08:42

Arklay
Member
Registered: 2023-03-21
Posts: 12

Re: Firefox stops the download when ever I use lock screen

taberacci wrote:

It was never meant to be to lock the screen while downloading something, because resources fight with each other and Firefox is a complex program that gobbles a lot of RAM.

OpenBox is not a desktop environment, that's another thing. It's a window manager. Maybe combine it as it has been done with LXQt (Lubuntu). But I wouldn't know if lock screen could be applied while a lengthy operation is taking place.

Do you know how to use "curl" or "wget", and do you know what to download? You could test this in the terminal. Usually for downloads larger than 1GiB I don't like using any web browser.

It's no issue doing this in Crunchbangplusplus however, but I see your point. The reason for that is that #!++ uses XScreenSaver and not LightDM, at least that is my conclusion. This is only a issue when it comes to LightDM. Yes, I've used wget, but that is not a option, since I need to verify a bunch of stuff before starting the download.

Thanks for your reply!

Offline

#16 2023-04-05 11:40:53

rbh
Moderator
From: South of Lapplands inland
Registered: 2016-08-11
Posts: 1,921

Re: Firefox stops the download when ever I use lock screen

Arklay wrote:

asked previously about this in the main forum right here in: "Basic Help & Support". No one seems to know the answer or are willing to help out, which to me is baffling.

This is not a bug in Bunsenlabs packages. It is probably nor a debian bug.
I will answer your old thread.


// Regards rbh

Please read before requesting help: "Guide to getting help", "Introduction to the Bunsenlabs Lithium Desktop" and other help topics under "Help & Resources" on the BunsenLabs menu

Offline

#17 2023-04-05 12:15:39

Arklay
Member
Registered: 2023-03-21
Posts: 12

Re: Firefox stops the download when ever I use lock screen

rbh wrote:
Arklay wrote:

asked previously about this in the main forum right here in: "Basic Help & Support". No one seems to know the answer or are willing to help out, which to me is baffling.

This is not a bug in Bunsenlabs packages. It is probably nor a debian bug.
I will answer your old thread.

I see, thanks for clarifying that!

Offline

#18 2023-04-05 12:46:03

rbh
Moderator
From: South of Lapplands inland
Registered: 2016-08-11
Posts: 1,921

Re: Firefox stops the download when ever I use lock screen

Arklay wrote:

First off, I am new to BunsenLabs (great distrobution!) and fairly new to Linux, only been using it for about a month.
[...]
My question: When I'm downloading a file through Firefox and then use lock screen the download stops and it says "failed", this never happened in the MATE DE,

I can't reproduce this problem.

I advice you to test BL live session and see if you have same problem there.
If not, create a test user. If test-user don't have any problem, it is not systemwide error.
You can then reset all user config files with command

$ bl-user-setup --reset

.
Read first the manualpage:

$ man bl-user-setup 

.

Default Program in BL, for locking graphical desktop, is "light-locker".
There is a script that is a wrapper around light-locker, that is caled in the menu when issuing "bl-exit" (the power button) or jgmenu entry: "Lock screen".
The script is /usr/bin/bl-lock.
If you in terminal issue command "bl-lock", while downloading a big file. does your download still fail? It should not.

I suspect that instead of locking the desktop, are you suspending it. Logging in after suspending or locking, looks the same...

Before resetting your user configs, can you examine the content of your jgmenu
(Read Basic Introduction to jgmenu on BL Lithium).
Your ~/.config/jgmenu/prepend.csv, should have the code:

Applications,^checkout(apps)
^sep()
Lock Screen,bl-lock,system-lock-screen.

You can test to ping your computer from another. Does the computer stops answer when you lock the screen?

I'm sorry that it took some days before responding. When I saw the post 1½ week ago, I had quite som reading to catch up after being offline for 2 months. Then I caught the flu and was put to beed a week...

If you don't find the cause of your problem, test ot reinstall, without reusing old $HOME.


// Regards rbh

Please read before requesting help: "Guide to getting help", "Introduction to the Bunsenlabs Lithium Desktop" and other help topics under "Help & Resources" on the BunsenLabs menu

Offline

#19 2023-04-05 14:27:48

Arklay
Member
Registered: 2023-03-21
Posts: 12

Re: Firefox stops the download when ever I use lock screen

rbh wrote:
Arklay wrote:

First off, I am new to BunsenLabs (great distrobution!) and fairly new to Linux, only been using it for about a month.
[...]
My question: When I'm downloading a file through Firefox and then use lock screen the download stops and it says "failed", this never happened in the MATE DE,

I can't reproduce this problem.

I advice you to test BL live session and see if you have same problem there.
If not, create a test user. If test-user don't have any problem, it is not systemwide error.
You can then reset all user config files with command

$ bl-user-setup --reset

.
Read first the manualpage:

$ man bl-user-setup 

.

Default Program in BL, for locking graphical desktop, is "light-locker".
There is a script that is a wrapper around light-locker, that is caled in the menu when issuing "bl-exit" (the power button) or jgmenu entry: "Lock screen".
The script is /usr/bin/bl-lock.
If you in terminal issue command "bl-lock", while downloading a big file. does your download still fail? It should not.

I suspect that instead of locking the desktop, are you suspending it. Logging in after suspending or locking, looks the same...

Before resetting your user configs, can you examine the content of your jgmenu
(Read Basic Introduction to jgmenu on BL Lithium).
Your ~/.config/jgmenu/prepend.csv, should have the code:

Applications,^checkout(apps)
^sep()
Lock Screen,bl-lock,system-lock-screen.

You can test to ping your computer from another. Does the computer stops answer when you lock the screen?

I'm sorry that it took some days before responding. When I saw the post 1½ week ago, I had quite som reading to catch up after being offline for 2 months. Then I caught the flu and was put to beed a week...

If you don't find the cause of your problem, test ot reinstall, without reusing old $HOME.

No worries! Nice that your back. I will try and check this sometime this week, for now I'll just keep LightDM unlocked when downloading.

Tack för hjälpen, hade ingen aning att det var en svensk involverad i BunsenLabs (såg nu först "South of Lapplands inland") lite trött idag, nu höjdes BL i mina ögon. Känns mer tryggt. big_smile Måste säga att man lär sig mer via Openbox om GNU/Linux, har lite bakgrund i webbdesign så snappade upp ganska snabbt innebörden av vissa saker, själva upplägget i config filerna, men är långt ifrån att förstå mig på allt.

Vem vet kanske var en dum idé att ge sig in på BL, fast var trött på de mer användar vänliga distrona, då dom är fullproppade med appar som man aldrig kommer att använda och annat skräp. Blev tipsad om BL och #!++, tror BL har fler devs, eller hur? Och #!++ bara en? För mig låter det som lite av en säkerhetsrisk, vad vet jag. BL funkar bra på min gamla dator, #!++ hade lite bättre resultat när det kom till RAM/CPU:n jobbade ungefär lika när jag utförde samma saker.

Sorry for the Swedish anyone reading this, just got happy seeing a fellow swede.

Last edited by Arklay (2023-04-05 15:25:46)

Offline

#20 2023-04-06 01:54:48

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,606
Website

Re: Firefox stops the download when ever I use lock screen

There are two ways to lock the screen, one (via bl-exit) uses loginctl, the other (via bl-lock) calls light-locker.

You might try comparing the behaviour after running

loginctl lock-session $XDG_SESSION_ID

vs

light-locker-command -l

...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

Board footer

Powered by FluxBB