Skip to content

Conversation

BenraouaneSoufiane
Copy link
Contributor

@BenraouaneSoufiane BenraouaneSoufiane commented Jul 30, 2025

Closes #79

Description

This PR add new module, install minimal desktop environment (xfce), virtual display, ,rustdesk package from deb file, init new screen, export DISPLAY environment variable with last created virtual screen, start new xfce session & execute the rustdesk cli, generate new password, change the default password, then log the ID & password to be used within rustdesk client to connect to the host

Type of Change

  • New module
  • Bug fix
  • Feature/enhancement
  • Documentation
  • Other

Module Information

Overview/test video: live demo that launch rustdesk with GUI in a docker container https://youtu.be/_rR-l7nARN4
Screenshots:
image
image
image
image

Path: registry/BenraouaneSoufiane/modules/rustdesk
New version: v1.0.0
Breaking change: [ ] Yes [x] No

Testing & Validation

  • Tests pass (bun test)
  • Code formatted (bun run fmt)
  • Changes tested locally

Related Issues

/claim #79 (remain asset 150$)

@BenraouaneSoufiane
Copy link
Contributor Author

@matifali can you release the pending asset (150$)?

@DevelopmentCats
Copy link
Contributor

@matifali can you release the pending asset (150$)?

This is released automatically once the PR is merged and closed

@BenraouaneSoufiane
Copy link
Contributor Author

@matifali can you release the pending asset (150$)?

This is released automatically once the PR is merged and closed

No comment! But why I'm being delayed as this PR resolve the issue?

@DevelopmentCats
Copy link
Contributor

@matifali can you release the pending asset (150$)?

This is released automatically once the PR is merged and closed

No comment! But why I'm being delayed as this PR resolve the issue?

There is no intentional delay, as Algora releases the bounty once the PR is approved, and merged.

This is outlined in the Coder Bounty Issue #213

@DevelopmentCats
Copy link
Contributor

@BenraouaneSoufiane Just checking if there is any update on this?

@BenraouaneSoufiane
Copy link
Contributor Author

@BenraouaneSoufiane Just checking if there is any update on this?

Fixed, thank you!

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR introduces a new RustDesk module that enables remote desktop access within Coder workspaces. The module automates the installation of RustDesk, sets up a virtual display using Xvfb, and provides connection credentials for remote access.

Key changes:

  • Adds a complete RustDesk module with cross-platform package manager support
  • Implements automatic password generation and virtual display configuration
  • Provides Terraform integration with configurable parameters

Reviewed Changes

Copilot reviewed 4 out of 6 changed files in this pull request and generated 5 comments.

File Description
registry/BenraouaneSoufiane/modules/rustdesk/run.sh Main installation and setup script with package manager detection and RustDesk configuration
registry/BenraouaneSoufiane/modules/rustdesk/main.tf Terraform module definition with variables and Coder resource configuration
registry/BenraouaneSoufiane/modules/rustdesk/README.md Module documentation with usage instructions and configuration examples
registry/BenraouaneSoufiane/README.md Author profile information

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@BenraouaneSoufiane
Copy link
Contributor Author

@DevelopmentCats Hello again, thank you for you latest commits, I've checked the new version it works fine, https://youtu.be/YAMjDqFsV4I

@DevelopmentCats
Copy link
Contributor

I think we are good to go on this one too. Since it has been a minute let me test this one last time, and then we should be able to get this merged tonight. @BenraouaneSoufiane

@BenraouaneSoufiane
Copy link
Contributor Author

I think we are good to go on this one too. Since it has been a minute let me test this one last time, and then we should be able to get this merged tonight. @BenraouaneSoufiane

Ok, thank you.

@DevelopmentCats
Copy link
Contributor

@BenraouaneSoufiane can you run bun run fmt on this?

@BenraouaneSoufiane
Copy link
Contributor Author

Hello @DevelopmentCats, any updates?

@BenraouaneSoufiane
Copy link
Contributor Author

Hello again @DevelopmentCats, how are you? I see all checks were passed.

@DevelopmentCats
Copy link
Contributor

DevelopmentCats commented Sep 17, 2025

Okay everything looks good. @BenraouaneSoufiane

The last thing I need from you before this is merged, is to upload the icon here: https://github.com/coder/coder/tree/main/site/static/icon

You can make a PR and then comment to sign the authorization for the logo use, and then we should be good.

@BenraouaneSoufiane
Copy link
Contributor Author

Hello again @DevelopmentCats, submitted thank you: coder/coder#19841

BenraouaneSoufiane added a commit to BenraouaneSoufiane/coder that referenced this pull request Sep 19, 2025
@BenraouaneSoufiane
Copy link
Contributor Author

Hello again @DevelopmentCats can you approve the workflow?

@BenraouaneSoufiane
Copy link
Contributor Author

Hello again @DevelopmentCats can you approve changes?

@BenraouaneSoufiane
Copy link
Contributor Author

BenraouaneSoufiane commented Sep 22, 2025

@DevelopmentCats there is a ci fail (does not related with/depends on the my source)

@DevelopmentCats
Copy link
Contributor

@DevelopmentCats there is a ci fail (does not related with/depends on the my source)

Yeah im not too sure what was going on there with the runner but it seems to have passed now.

@DevelopmentCats DevelopmentCats merged commit e516446 into coder:main Sep 23, 2025
10 of 13 checks passed
Copy link

algora-pbc bot commented Sep 23, 2025

🎉🎈 @BenraouaneSoufiane has been awarded $150 by Coder! 🎈🎊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

rustdesk module

2 participants