On Wed, 29 Jan 2020 12:03:29 -0500 Allan Streib <[email protected]> wrote:
> Per the man page I have tried to launch chrome with an alternate data > directory hoping to achieve separate profiles. > > $ chrome --user-data-dir=~/.config/chromium_a > > > [75336:1591778608:0129/114259.294272:ERROR:process_singleton_posix.cc(280)] > Failed to create /home/astreib/.config/chromium_a/SingletonLock: No such file > or directory (2) > [75336:1591778608:0129/114259.294449:ERROR:chrome_browser_main.cc(1413)] > 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. > [75336:-995142592:0129/114259.302586:ERROR:cache_util.cc(141)] Unable to > move cache folder /home/astreib/.config/chromium_a/ShaderCache/GPUCache to > /home/astreib/.config/chromium_a/ShaderCache/old_GPUCache_000 > [75336:-995142592:0129/114259.302696:ERROR:disk_cache.cc(178)] Unable to > create cache > [75336:-995142592:0129/114259.302721:ERROR:shader_disk_cache.cc(605)] > Shader Cache Creation failed: -2 > > I have tried this with ~/.config/chromium_a as an empty directory, and > as a copy of ~/.config/chromium (which is created successfully when > chrome is started without any args). I do have multiple users set up on my machine for this purpose (chrome and other applications) Launching with a script similar to this #allow connection to xserver xhost +si:localuser:chromeuser #start browser cd /home/chrome && doas -u chromeuser env HOME=/home/chrome chrome xhost -si:localuser:chromeuser

