Skip to content

chromium does not work with nsdo #16

@vstoykovbg

Description

@vstoykovbg

This was working:

#!/bin/bash
unset GTK_IM_MODULE
nsdo tornamespace1 chromium --temp-profile --incognito

But recently it does not:

[123989:123989:0926/205657.708350:ERROR:ozone_platform_x11.cc(244)] Missing X server or $DISPLAY
[123989:123989:0926/205657.708391:ERROR:env.cc(258)] The platform failed to initialize.  Exiting.

I found a workaround using Xephyr but it's not pretty.

nsdo tornamespace1 ./stage2.bash

stage2.bash:

#!/bin/bash

unset GTK_IM_MODULE
unset QT_IM_MODULE
unset XMODIFIERS

Xephyr -br -ac -noreset -screen 1600x900 :26 &

export DISPLAY=:26
sleep 1
DISPLAY=:26 fluxbox &

DISPLAY=:26 exec chromium --temp-profile --incognito 

Probably the problem is related with that chromium is from a snap package, not a classic install.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions