chromium doesn't launch when using --user-data-dir
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
chromium-browser (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
The command to launch:
chromium-browser --user-
The error:
Gtk-Message: 14:38:15.136: Failed to load module "canberra-
Gtk-Message: 14:38:15.138: Failed to load module "canberra-
[24822:
[24822:
[24822:
[24822:
Some background: was able to use a similar command for years. Then recently when chromium was packed into a snap, I had to move my user directory inside the ~/snap/ folder or it wouldn't launch. After the latest update, I can't launch chromium at all.
Please advice. Thank you.
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: chromium-browser 83.0.4103.
ProcVersionSign
Uname: Linux 5.4.0-42-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.4
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Thu Jul 23 14:36:34 2020
EcryptfsInUse: Yes
InstallationDate: Installed on 2016-06-24 (1489 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
Snap.Changes: Error: command ['snap', 'changes', '--abs-time', 'chromium'] failed with exit code 1: error: no changes found
Snap.ChromeDriv
Snap.ChromiumVe
SourcePackage: chromium-browser
UpgradeStatus: Upgraded to focal on 2020-05-20 (64 days ago)
More info: if I change permissions from 700 to 755 with chmod 755 the ~/snap/ chromium/ 1213/.config/ folder, then the error changes, which makes no sense: it's my user who is launching this process in any case.
Now the error message is a bit different, still a "permission denied" for SingletonLock:
Gtk-Message: 14:45:01.519: Failed to load module "canberra- gtk-module" gtk-module" 26804:0723/ 144501. 541534: ERROR:disk_ cache.cc( 184)] Unable to create cache 26804:0723/ 144501. 541676: ERROR:shader_ disk_cache. cc(606) ] Shader Cache Creation failed: -2 26613:0723/ 144501. 539783: ERROR:process_ singleton_ posix.cc( 280)] Failed to create /home/albert/ snap/chromium/ 1213/.config/ google- chrome/ SingletonLock: Permission denied (13) 26613:0723/ 144501. 543529: ERROR:chrome_ browser_ main.cc( 1246)] Failed to create a ProcessSingleton for your profile directory. This means that running multiple instances would start multiple browser processes rather than opening a new window in the existing process. Aborting now to avoid profile corruption.
Gtk-Message: 14:45:01.521: Failed to load module "canberra-
[26613:
[26613:
[26613:
[26613: