Actually I developed a gui app using tkinter(Python). But can't display tkinter gui from within docker.
Did someone has this problem before ? How can I fix it ?
Please suggest me some useful links.
Take that
https://www.youtube.com/watch?v=RDg6TRwiPtg
https://stackoverflow.com/questions/50326335/display-host-computer-with-tkinter-from-a-python-app-run-on-docker
You need to share your host X11 socket with the container and export your display variables.
-v stands for Bind mount a Volume
-e stands for Export Environment variables
$docker run -it \ -e DISPLAY=$DISPLAY \ -v /tmp/.X11-unix:/tmp/.X11-unix \ bash
#
Dear Suheel Yousuf Wani,
Please try with following command to docker run for solving your $DISPLAY error:
-e DISPLAY=$DISPLAY \ -v /tmp/.X11-unix:/tmp/.X11-unix:rw \ your app
Also, http://www.mit.edu/~arosinol/2019/08/06/Docker_Display_GUI_with_X_server/ web address can help you more.
In nanofluids, surfactants play a great role in stability. What is the impact of surfactant in viscosity in nanofluids? If surfactant concentration increases, then viscosity will increase/decrease...
24 June 2024 6,288 4 View
I have calibrated my GC-MS for 16 EPA PAHs using available methods. However, the last three compounds (Indeno[1,2,3-c,d]pyrene, Dibenzo[a,h]anthracene, and Benzo[g,h,i,]perylene) are not showing...
13 May 2024 4,966 2 View
Researchers typically use micrograms per milliliter (µg/mL) standards to calibrate gas chromatography-mass spectrometry (GC-MS) instruments for the analysis of polycyclic aromatic hydrocarbons...
12 May 2024 6,259 5 View
Hi All, I am working on electric discharge and breakdown of lubricants (synthetic Group IV) under applied DC. I have observed that when a potential exceeding breakdown voltage is applied the...
01 April 2024 3,181 0 View
Probiotics in mucosal inflammation
06 December 2023 5,814 0 View
Hello everyone, i want dataset about missing people.
16 November 2023 7,513 1 View
Pathophysiology of Biomarkers of Head and Neck Cancer
12 October 2023 3,616 2 View
https://www.igi-global.com/publish/call-for-papers/call-details/6855
09 October 2023 9,039 0 View
Hello, I am trying to use mlogit package in R. I have SP data with following columns ID , choice, ALT, IVT, TC, AS Each individual has 18 rows choice is my dependent variable and IVT, TC and...
19 September 2023 8,315 5 View
I want to adsorb methane onto Cu(111).
17 September 2023 1,748 2 View
I'm currently exploring the application of Python in textile engineering, specifically in areas like data analysis, process automation, and the development of smart textiles. I'm interested in...
10 August 2024 7,429 2 View
Request Python code from this article : Gender equity of authorship in pulmonary medicine over the past decade. THANKS!
08 August 2024 6,242 2 View
Visual Studio Code (VS Code) has become a popular choice among developers for several reasons: 1. **Free and Open Source**: VS Code is free to use and open source, making it accessible to...
07 August 2024 7,013 4 View
I need the python code to forecast what crop production will be in the next decade considering climate and crop production variables as seen in the attached.csv file.
05 August 2024 2,977 3 View
Hello everyone, I am currently working on a research project that aims to integrate machine learning techniques into an open source SIEM tool to automate the creation of security use cases from...
04 August 2024 3,196 2 View
Your comments
28 July 2024 2,822 2 View
Novel areas especially
24 July 2024 8,416 0 View
In molecular dynamics simulation, to get FEL analysis, I got an error. My Python version is 3.10.7. My input files are made with a lower version of Python. But the final command to generate the...
23 July 2024 5,646 2 View
I have immunized BalB/C mice with a protein using the intradermal (ID) method with Complete Freund's Adjuvant (CFA) and Incomplete Freund's Adjuvant (IFA), following a 14-day interval and three...
22 July 2024 9,160 2 View
I am now developing a python module for ms2 database searching, would like to realize a function that similar to what Xcalibur did, choose multiple mass spectra and get an averaged spectra. But...
22 July 2024 3,975 1 View