[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 runningstartxfce4in the Chrome OS shell. Thestartxfce4command is actually a script that callsenter-chrootand executes the realstartxfce4in the chroot. Now the realstartxfce4command (in the chroot) calls thexinitcommand, attempting to start an X server, thexinitwrapper script located at/usr/local/bin/xinitwill be called instead (as the priority of/usr/local/bin/xinitis higher than/usr/bin/xinit, which is the realxinitbinary locates)After that, some wrapper scripts in
/usr/local/binwere called respectively, finally the realxinitcommand was called. However,xinitw…