You are not logged in.
Hello Guys,
im relativly new to the linux world and its my first time i installed arch linux on my pc. One month ago i have installed Linux Mint on my Pc and had the same problem. I have downloaded the brave and firefox browser on my system. On both browsers i have the problem, that when i close the browser i need to relog on Youtube. I have tried nearly all settings on the brave browser to solve the problem, but it didnt helped. i dont know what i can do to solve the problem. Have anyone maybe an idee?
Thank You
Last edited by Inatrox (2023-09-11 17:09:42)
Offline
You use the Firefox from normal arch package, not aur ?
Create and start Firefox with a new profile, do not change any setting, do not install any plugins.
https://wiki.archlinux.org/title/Firefox#Profiles
Does the issue still persist ?
Last edited by ua4000 (2023-09-11 17:55:34)
Offline
Yes, i use the normal arch package from pacman. Start Firefox with a new profile dont seems to solve the problem. I deleted the BraveConfig at ~/.config too, but that dont changed anything.
Last edited by Inatrox (2023-09-11 19:15:08)
Offline
Purely a sanity check, you're not running as root, are you?
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
No, I don't running it as root.
Last edited by Inatrox (2023-09-12 05:31:16)
Offline
This will rely on cookies, either you're
* blocking them,
* storing them in a volatile position that doesn't survive the browser process (there's typically an option to remove all cookies on exit) or
* using the browsers' porn mode (which discards all cookies on exit)
Online
Cookies was my first idea too. I have tried nearly all cookie settings on the brave browser, but nothing worked. After the login process YouTube put me on am oops something went wrong site. When I leave the site I click on login again and I'm loged in. After closing the browser I need to login again. Cookies are complete allowed and im not on porn mode. The option to delete cookies after exit the browser are also disabled and I habe the same issue with an other browser(Firefox).
Is it possible that maybe Arch is blocking there something or is deleting the cookies l?
Offline
Is it possible that maybe Arch is blocking there something or is deleting the cookies l?
No. Mostly because "Arch" isn't some entity.
FF stores the cokkies in an sqlite database, https://wiki.archlinux.org/title/Firefo … nformation
You could (instead of removing it as you've already tried a fresh profile) inspect that w/ sqlite3 to see what is in there.
Also
YouTube put me on am oops something went wrong site
you might want to elaborate on that.
Online
i have tried to remove the filfe like explained on the link, but that dont seems to work. Sorry, but i dont know really what you mean with w( sqlite3.
When i log in youtube put me on this side: https://www.youtube.com/oops
After that i can click on the youtube button and click on login again. Than im loged in without enter my passwort etc. When i close the broweser i need to login.
Offline
sqlite3 allows you to inspect and "dump" sqlite databases to see what's actually in there.
I suspect youtube oopses you because it cannot place the cookie. Or alternatively: do you block javascript?
Online
And please continue investigating for now only with firefox, with the new fresh profile, and without any plugins.
That will eliminate all questions about cookie blocking, java script etc. and make it for us reproduce-able.
brave is here a bad example for testing, it's from aur and a "Web browser that blocks ads and trackers by default".
Offline
Okay. I use now a fresh profile with firefox for the tests.I dont have installed any plugins. So it shouldnt block javascript.
The problem isnt solved with a new profile anyways sadly.
With sqlite3 i dont know what to do there to check the databases. Maybe you have a link a somethink for me what to do? ![]()
Offline
sqlite3 cookies.sqlite | tee /tmp/cookies.txtThen in sqlite3
.dump(nb. the leading dot!)
and ctrl+d to exit
/tmp/cookies.txt will contain your cookies.
Don't just post them since they might contain senstive information, but you can look for stuff from youtube.
Online
There are a few cookies from youtube and google, so it seems, that they can place the cookies. There are a few Secure Cookies, which i think shoulkd store the things i need. They have this structure:
INSERT INTO moz_cookies VALUES(82,'','__Secure [...] '.google.com'
INSERT INTO moz_cookies VALUES(83,'','__Secure [...] '.google.com'
INSERT INTO moz_cookies VALUES(84,'','__Secure [...] '.youtube.com'
INSERT INTO moz_cookies VALUES(85,'','__Secure [...] '.youtube.com'
INSERT INTO moz_cookies VALUES(86,'','LOGIN_INFO'
On the place of the [...] it looks like there is stored my password hash.
Offline
Do you use VPN or TOR ?
Is your disk healthy ? smart ok ? Filesystem ok ?
Which filesystem is your home ?
AppArmor in use ?
Would you like to try another browser from archlinux.org as sanity check ?
https://archlinux.org/packages/extra/x86_64/chromium/
Offline
No, i dont use a VPN or TOR.
My disk is healthy i had installed windows on this disk a few month ago with no problems. My Filesystems seem to be ok too.
My home filesystem is ext4, like explained on the installation guide of the arch forum.
I dont use AppArmor. My system is nearly fresh. I have just followed a few instructions of the installation guide and have installed KDE Plasma.
I have the same problem with chromium.
I have installed windows on my other disk btw, where this problem dont exists.
Offline
I have installed windows on my other disk btw, where this problem dont exists.
3rd link below. Mandatory.
Disable it (it's NOT the BIOS setting!) and reboot windows and linux twice for voodo reasons.
Online
I have disabled fast start and hibernation on the windows seetings, but it dont fixed the problem sadly.
Offline
https://wiki.archlinux.org/title/Chromi … word_store
Try to force "basic", make sure to kill every chromium process before you run "chromium --password-store=basic"
There has to be sth. VERY unique to your system that crosses all browsers and throws off youtube…
And there's also
One month ago i have installed Linux Mint on my Pc and had the same problem.
what makes me kinda still hang onto the hibernating windows.
Did you reboot windows and linux twice after disabling it (that's not just some funny line, anecdotally that's required to clear the slate)
Edit:
https://support.mozilla.org/de/question … er-1496427
Edit #2:
Also b/c of the dual boot: your system time! Is it ok?
https://wiki.archlinux.org/title/Dual_b … e_standard
Last edited by seth (2023-09-13 19:08:25)
Online
I have checked the hibernation setting twice now. It is disabled. I restarted each system 3 times. That hasn't fixed the problem.
I will try the password force and the Firefox settings on the edit in the next hour.
When I installed Arch, I remember that my Windows time was 2 hours off. I fixed this by changing my BIOS time, I think. When I enable UTC now in the regedit, it's off by 2 hours again. My time zone is correctly set to Berlin in the Windows settings. The BIOS time is set to my local time. I will try a few things there too to solve the problem.
Offline
Unfortunately, it seems that all of this didn't help. However, my system time was actually set incorrectly, and I was able to fix it now. Thank you very much for that. But now, I've had an idea about what might be the issue. For some unknown reason, I have to enter my password twice. The first time, Google tells me that the password is incorrect, even though it's 100% correct. When I enter the password again, the login works. This happens every time after I've closed the browser. After a successful login, I get the "Oops" page from YouTube. I suspect that the hash is somehow generated incorrectly and stored in the cookie. When YouTube tries to access it, it's wrong, resulting in the error. I'm not sure if this could possibly be the problem.
Offline
How do you enter the password?
Manually? Using some password manager? Does the browser store it?
Did you unobfuscate it to check whether it's actually correct before you send it?
Do you have the same problem w/ other google services (mail, drive,…)?
Online
I enter it manually. I have tried it both, with and without the browser storing the password.
Sometimes I have unobfuscate to check it. Sometimes I have written slower to be sure it is correct. On gmail i have the same issue. It seems to be a problem with the Google login general. On this forum I don't need to login again after closing the browser.
Offline
Do you have access to a second google account?
Online
Tested it with another google account. Exactly the same problem.
Offline