Skip to content

Conversation

esmitperez
Copy link

@esmitperez esmitperez commented Mar 14, 2025

Overview
This PR adds support for running the project in a Linux VM environment by implementing a Docker-based solution. This extends platform support beyond the previous implementation and makes the project more accessible to Linux users.

Once a Linux VM is created and/or started, Omnibox is able to talk to it.

Example

> `./manage_vm.sh create --linux` to create a Linux VM
> `./manage_vm.sh start --linux` to start a Linux VM

Changes
Added Docker-based implementation for running in a Linux VM
Updated README with Linux VM setup and usage instructions
Modified scripts to work with the Linux environment
Removed Windows-specific wording from documentation
Adjusted Python path references to be platform-agnostic

Motivation
Original project assumes Win11 only. This implementation provides a standardized environment using Docker that ensures a working Linux VM is available and receives the commands sent by omnitool.

Documentation
The README has been updated with:

Setup instructions for Linux users
Docker configuration details
Command examples specific to the Linux environment


Screenshot

image

@esmitperez
Copy link
Author

@microsoft-github-policy-service agree

- Remove Windows-specific wording
- Adjust Python path for cross-platform compatibility
- Provide Docker-based Linux VM implementation
- Update README with Linux setup instructions
- Add graceful VM setup and cleanup procedures
mkdir -p "$HOME/.vnc/logs"

if [ $(uname -m) = "aarch64" ]; then
LD_PRELOAD=/lib/aarch64-linux-gnu/libgcc_s.so.1 vncserver :1 -fg -geometry 1920x1080 -depth 24"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There’s an extra double quote (") at the end of the command, that stray " causes the script to silently fail

if [ $(uname -m) = "aarch64" ]; then
LD_PRELOAD=/lib/aarch64-linux-gnu/libgcc_s.so.1 vncserver :1 -fg -geometry 1920x1080 -depth 24"
else
vncserver :1 -fg -geometry 1920x1080 -depth 24"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

another extra double quote (") at the end of the command

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants