[Question]How you create a xorg server inside a chrome desktop #4692
-
Hi,I'm making a new project which has the same goal of yours,but i don't understand how you guys create a xorg server inside a chrome desktop then let xclients inside the chroot container connect to it. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Correct me if I am wrong :) Assuming that the user is now starting an X desktop (for example, After that, some wrapper scripts in So what does An X server should be started now, with |
Beta Was this translation helpful? Give feedback.
-
@happyeggchen, We got close to having a sommelier target with a wayland display, you might find the pull request interesting: -DennisLfromGA |
Beta Was this translation helpful? Give feedback.
Correct me if I am wrong :)
Assuming that the user is now starting an X desktop (for example,
xfce4
) by runningstartxfce4
in the Chrome OS shell. Thestartxfce4
command is actually a script that callsenter-chroot
and executes the realstartxfce4
in the chroot. Now the realstartxfce4
command (in the chroot) calls thexinit
command, attempting to start an X server, thexinit
wrapper script located at/usr/local/bin/xinit
will be called instead (as the priority of/usr/local/bin/xinit
is higher than/usr/bin/xinit
, which is the realxinit
binary locates)After that, some wrapper scripts in
/usr/local/bin
were called respectively, finally the realxinit
command was called. However,xinit
w…