Skip to content

[Question]How you create a xorg server inside a chrome desktop #4692

Answered by supechicken
buddhi-deep asked this question in Q&A
Discussion options

You must be logged in to vote

Correct me if I am wrong :)

Assuming that the user is now starting an X desktop (for example, xfce4) by running startxfce4 in the Chrome OS shell. The startxfce4 command is actually a script that calls enter-chroot and executes the real startxfce4 in the chroot. Now the real startxfce4 command (in the chroot) calls the xinit command, attempting to start an X server, the xinit 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 real xinit binary locates)

After that, some wrapper scripts in /usr/local/bin were called respectively, finally the real xinit command was called. However, xinit w…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@dnschneid
Comment options

Answer selected by dnschneid
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #4691 on February 03, 2022 18:19.