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.
I want to create .abs file ( absorption) for simulating solar cell in SCAPS. Can anyone pls provide me information regarding the libraries (websites) where from i can get the absorption data of...
10 February 2021 6,034 7 View
If a journal Impact factor in SCI But no impact factor as per Journal citation reports . Is SCI valid
14 January 2021 325 5 View
Guys, I have a pET vector 30a+ and my gene of interest has been inserted between XhoI and KpnI sites. Nearest to it is only an S-tag present. How can I purify my protein and remove the s-tag from...
17 December 2020 9,718 3 View
I would like to determine the movement of moths in response to mating disruption pheromone traps. Pheromone lures (matting disruption) were placed in the center of the treatment plot. High...
23 September 2020 6,293 4 View
I designed Primers for miRNAs using mirPrimer algorithm. However when l analysed them by Oligoanalyzer 3.1, it shows Primer-dimer and secondary structure formation. I request your suggestion...
19 September 2020 4,149 3 View
Although in electronic media many predictions about COVID-19 abound, is there a scientific prediction when the this pandemic would die down? Would this time come when it has affected 50-70% of the...
27 March 2020 3,069 7 View
I believe it looks like the 'third world war' is going on where entire world is under lockdown, many have died, many are affected by this Covid 19 catastrophy. Why can not countries findout what...
26 March 2020 8,528 15 View
Hi everyone; I need data on comparison of apolipoproteins expression in the normal liver. I want to know which type of the apolipoproteins is highly expressed than others in the normal...
15 March 2020 605 3 View
I have ransacked the web and am unable to find any word or latex template of "safety science" journal. Can anyone suggest the template?
30 January 2020 5,342 2 View
What are the trending Research areas in IoT at Present that need to be more focussed?
21 January 2020 1,994 8 View
Hi, I am trying to construct a multi-layer fibril structure from a single layer in PyMol by translating the layer along the fibril axis. For now, I am able to use the Translate command in PyMol...
02 March 2021 4,569 4 View
I want to do a parameter study of a aixsymmetric cylinder in Abaqus. I want to create several jobs where I get the stresses for 3 different points in my model. These points are defined. I wrote a...
01 March 2021 10,078 1 View
Which is suitable for use with Python? MySQL or SQL Server? What is your suggestion?
01 March 2021 3,422 3 View
I have a virtual machine. My host Pc specs are not that good thats why i went for virtual servers. so basically my host pc has 8gb of ram with nvidia quadro k2200 4Gb DDR5 GPU ,processor intel...
01 March 2021 8,415 1 View
Please, if Gaussian Parameter optimization is possible in this code structure
28 February 2021 278 3 View
I wanted to add an extra parameter to the existing Johnson cook equation in the ABAQUS simulation. How to add those extra parameters. Ref: A modified Johnson-Cook material model with strain...
28 February 2021 4,841 3 View
In actual and virtual class, even if there is rubric for recitation, students may still fail to receive fair grades or scores. Others are active in recitation and others are not or others may fail...
26 February 2021 8,387 3 View
Good day to all, I have no experience with light emitting diodes. I am building a glass mini flume to demonstrate the photo degradation of Methylene Blue in water running over self cleaning...
26 February 2021 4,026 5 View
System Description Cuda 11.2 GeForce GTX 1080ti tensorflow version 2.4.1 keras version 2.2.0 python version 3.8 I was getting the below error when I try to run my code on the...
25 February 2021 6,673 2 View
23 February 2021 7,826 2 View