Artix Linux Forum

Artix Linux => Applications & Software => Topic started by: RIA77 on 31 July 2021, 12:30:52

Title: Ungoogled chromium won't work [SOLVED]
Post by: RIA77 on 31 July 2021, 12:30:52
Ungoogled chromium won't start. Appimage won't start. I have been using latest appimage and latest Ungoogled from repo.
 Won't work on Open-rc and S-6 XFCE.
Title: Re: Ungoogled chromium won't work
Post by: katinka on 31 July 2021, 15:11:36
Ungoogled Chromium is working here with Artix Mate OpenRC.
Title: Re: Ungoogled chromium won't work
Post by: Arch_user on 31 July 2021, 16:24:36
run from terminal and show output.
Title: Re: Ungoogled chromium won't work
Post by: RIA77 on 31 July 2021, 23:31:07
Code: [Select]
[3080:3094:0731/233004.401202:ERROR:platform_shared_memory_region_posix.cc(250)] Creating shared memory in /dev/shm/.org.chromium.Chromium.K94yhL failed: Овлашћење је одбијено (13)
[3080:3094:0731/233004.401251:ERROR:platform_shared_memory_region_posix.cc(253)] Unable to access(W_OK|X_OK) /dev/shm: Овлашћење је одбијено (13)
[3080:3094:0731/233004.401262:FATAL:platform_shared_memory_region_posix.cc(255)] This is frequently caused by incorrect permissions on /dev/shm.  Try 'sudo chmod 1777 /dev/shm' to fix.
Замка праћења/тачке прекида
(non root start)

Quote
[3395:3395:0731/233126.937306:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.
Quote
chromium --no-sandbox
[3407:3407:0731/233241.697714:ERROR:browser_main_loop.cc(1402)] Unable to open X display.
(running from root)

Title: Re: Ungoogled chromium won't work
Post by: Artist on 01 August 2021, 00:02:07
Never run a programs as root if not required.
There seems to be something wrong with your shm setup.
What is the output of:
- touch /dev/shm/x
- grep shm /proc/mounts

Title: Re: Ungoogled chromium won't work
Post by: RIA77 on 01 August 2021, 11:43:24
Run as a root touch /dev/shm/x, nothing as otput.
 
Code: [Select]
tmpfs /dev/shm tmpfs rw,nosuid,nodev,noexec,relatime,size=1048576k,mode=1770,gid=1001,inode64 0 0
Title: Re: Ungoogled chromium won't work
Post by: Dudemanguy on 01 August 2021, 16:26:59
The init system is what handles setting up /dev/shm (shared memory) which you definitely need for applications to work. I don't know what happened here but something is screwing with your /dev/shm. The permissions are incorrect. The command in s6-scripts that mounts it is:
Code: [Select]
mount -t tmpfs shm /dev/shm -o mode=1777,nosuid,nodev

Note the incorrect mode on yours (1770).
Title: Re: Ungoogled chromium won't work
Post by: RIA77 on 02 August 2021, 14:15:45
Just installed fresh backup of S - 6 system. I don't know what happened, but now it works.