Giter Club home page Giter Club logo

Comments (7)

mviereck avatar mviereck commented on May 12, 2024

Thanks for your feedback!
Which distribution do you use? Which Xorg version (Xorg -version)?
Here, on debian 9, it works fine, although Xorg -help tells me only a relative config path would be allowed. (More about allowed pathes on x.org )

-config file           specify a configuration file, relative to the
                       xorg.conf search path, only root can use absolute
-configdir dir         specify a configuration directory, relative to the
                       xorg.conf.d search path, only root can use absolute

Does xpra work on its own?

xpra start :10
xpra attach :10 &
DISPLAY=:10 xterm

And xpra started this way?

xpra start :20 --xvfb='Xorg -noreset -nolisten tcp +extension GLX +extension RANDR +extension RENDER -config /etc/xpra/xorg.conf' --no-daemon &
xpra attach :20 &
DISPLAY=:20 xterm

I'm not sure how to solve this, as I want to avoid creating files in /etc/X11.

from x11docker.

mviereck avatar mviereck commented on May 12, 2024

Option --xorg can not be affected by this, it does not use switch -config. Only --xpra and --xdummy need to specify a config file for X to use Xdummy video driver.
Depending on your setup and system, --xorg may only run from console.
If you have an error with --xorg, please show me the logfile for this, too.

from x11docker.

Faeranne avatar Faeranne commented on May 12, 2024

My current OS is Ubuntu 16.04, which seems to be the problem. 16.04 handles Xorg in a very strange and roundabout way, which forces all Xorg instances to be setuid. This in-turn precludes the use of either --config or --logfile.
I'm going to close this, as it seems that these issues affect xpra, not x11docker.

from x11docker.

Faeranne avatar Faeranne commented on May 12, 2024

https://xpra.org/trac/ticket/1220 is the upstream issue.

from x11docker.

mviereck avatar mviereck commented on May 12, 2024

Thanks!
I made a little workaround: If you install xvfb, x11docker will use it instead of Xdummy. That should work on Ubuntu 16.04, too.

For use of option --xorg on Ubuntu 16.04, you need package xserver-xorg-legacy and edit file /etc/X11/Xwrapper.conf.
Replace line:
allowed_users=console
with lines
allowed_users=anybody
needs_root_rights=yes

from x11docker.

Faeranne avatar Faeranne commented on May 12, 2024

Unfortunately xvfb still triggers the -config issue in 16.04. Seems xvfb still runs Xorg at some point with -config.

from x11docker.

mviereck avatar mviereck commented on May 12, 2024

Do you use the latest version of x11docker? Xvfb is independent from Xorg and is called without any -config option. Can you check your x11docker version (x11docker --version). The current one is 3.1.8.
The logfile should show "Xvfb" in "Created X server command".

from x11docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.