Skip to content

[WIP] Add functionality to run GUI apps from devcontainer#1

Closed
tim-devereux with Copilot wants to merge 1 commit into
mainfrom
copilot/run-gui-apps-devcontainer
Closed

[WIP] Add functionality to run GUI apps from devcontainer#1
tim-devereux with Copilot wants to merge 1 commit into
mainfrom
copilot/run-gui-apps-devcontainer

Conversation

Copilot AI commented Nov 28, 2025

Copy link
Copy Markdown

Cloud agent has begun work on how to run gui apps ... and will update this pull request as work progresses.

Original prompt

how to run gui apps from devcontatiner

root ➜ /workspaces/AMAPVox-Scripts (main) $ R

R version 4.5.2 (2025-10-31) -- "[Not] Part in a Rumble"
Copyright (C) 2025 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

AMAPVox::run()
Running AMAPVox 2.4.1
'/root/.local/share/AMAPVox/bin/AMAPVox-2.4.1-linux/lib/runtime/bin/java' -Xms2048m --add-opens javafx.graphics/javafx.scene=ALL-UNNAMED -jar /root/.local/share/AMAPVox/bin/AMAPVox-2.4.1-linux/lib/app/AMAPVox-2.4.1.jar
WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::load has been called by com.sun.glass.utils.NativeLibLoader in module javafx.graphics (jrt:/javafx.graphics)
WARNING: Use --enable-native-access=javafx.graphics to avoid a warning for callers in this module
WARNING: Restricted methods will be blocked in a future release unless native access is enabled

Authorization required, but no authorization protocol specified

Authorization required, but no authorization protocol specified

Exception in thread "main" java.lang.UnsupportedOperationException: Unable to open DISPLAY
at javafx.graphics/com.sun.glass.ui.gtk.GtkApplication.(Unknown Source)
at javafx.graphics/com.sun.glass.ui.gtk.GtkPlatformFactory.createApplication(Unknown Source)
at javafx.graphics/com.sun.glass.ui.Application.run(Unknown Source)
at javafx.graphics/com.sun.javafx.tk.quantum.QuantumToolkit.startup(Unknown Source)
at javafx.graphics/com.sun.javafx.application.PlatformImpl.startup(Unknown Source)
at javafx.graphics/com.sun.javafx.application.PlatformImpl.startup(Unknown Source)
at javafx.graphics/com.sun.javafx.application.LauncherImpl.startToolkit(Unknown Source)
at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplication1(Unknown Source)
at javafx.graphics/com.sun.javafx.application.LauncherImpl.lambda$launchApplication$0(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)

Created from VS Code via the GitHub Pull Request extension.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

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