You are not logged in.

#1 2019-12-27 05:02:09

KazanDzibre
Member
Registered: 2019-12-27
Posts: 3

[SOLVED]qutebrowser-can't connect to gmail due to unsecure app problem

so i have this problem on qutebrowser, and i was wondering have anyone else had this, cause i cant find anything about it. The problem is when i configure my config.py file, there is a line saying which backend engine im using, i can choose between webkit and webengine, the problem with webkit youtube videos are not working, and the problem with webengine i cant login to my gmail due to its saying its "unsecure" app, i've tried many thins to get both running but just cant seem to find what causing the problem, adjusting gmail settings to let me access with unsecure apps didnt help, so if anyone had this problem i would very much appreciate the help, ty, peace.

P.S

this is my first posting on arch wiki, or any linux wiki, i was using ubuntu through my college days, now that im finished i switched to arch and cant be more satisifed with it, so if i forgot to add something here, feel free to correct me.

(edit)

kind of solved it, if you change to webkit as engine you can log into gmail, but as ive said youtube then doesnt play videos, so this has to be installed https://wiki.archlinux.org/index.php/GS … stallation, after those plugins it works but doesnt have 1080p option.

(solved)

It works now, so i changed in the config.py (if you generated it with write-config-py --defaults) these 3 lines:

c.backend = 'webengine'
c.content.javascript.enabled = True
c.content.headers.user_agent = 'Mozilla/5.0 (X11; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/77.0'

if you dont have these lines because you didnt generate config.py with --defaults flag, i think just adding them in the file should be enough

Last edited by KazanDzibre (2019-12-27 21:54:06)

Offline

#2 2019-12-27 05:16:46

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED]qutebrowser-can't connect to gmail due to unsecure app problem

Google is blocking some Linux browsers, because reasons...

FWIW, I can access gmail fine with Qute, and play youtube videos. But I have no such setting in my config.py ("backend engine").

#edit: so I am using webengine by default...

Last edited by jasonwryan (2019-12-27 05:23:27)


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2019-12-27 10:44:05

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,649
Website

Re: [SOLVED]qutebrowser-can't connect to gmail due to unsecure app problem

Please change your topic title so that it actually describes your issue: https://wiki.archlinux.org/index.php/Co … ow_to_post


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#4 2019-12-27 13:14:02

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,517
Website

Re: [SOLVED]qutebrowser-can't connect to gmail due to unsecure app problem

I also use qutebrowser as my only browser and have had no problems.  I don't have a setting for backend - it just defaults to webengine (and that's the only one I have installed anyways).

That said, I don't use any web mail interface(s).  Are there any pages that regularly fail for you that do not require an account on that page (so we can test)?

(edit: I just read JWRs link ... are you (*)&)ing kidding me?  Their #1 reason why a browser may be "insecure" is if it has javascript disabled?!  Now that's stupid even by google standards.)

Last edited by Trilby (2019-12-27 13:16:56)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#5 2019-12-27 15:45:28

KazanDzibre
Member
Registered: 2019-12-27
Posts: 3

Re: [SOLVED]qutebrowser-can't connect to gmail due to unsecure app problem

Yea, i saw that javascript problem also, i enabled it but no success, i also tried different config files from different people, still the same problem.

Offline

#6 2019-12-27 16:14:35

progandy
Member
Registered: 2012-05-17
Posts: 5,321

Re: [SOLVED]qutebrowser-can't connect to gmail due to unsecure app problem

Did you change the user agent?


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#7 2019-12-27 17:39:33

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,517
Website

Re: [SOLVED]qutebrowser-can't connect to gmail due to unsecure app problem

KazanDzibre wrote:

... i also tried different config files from different people

Don't do that.  Qutebrowser comes with sane defaults - use those until you have a specific reason to change something to your liking.

(I do customize it quite a bit, but each change is something I wanted to make, not a copy-pasta from someone else's configs).


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#8 2019-12-27 17:53:59

KazanDzibre
Member
Registered: 2019-12-27
Posts: 3

Re: [SOLVED]qutebrowser-can't connect to gmail due to unsecure app problem

yea i usually config it myself, but i had to try if its my configs or not

Offline

Board footer

Powered by FluxBB