Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can open a gui application like firefox only in he second attempt. #43

Closed
Shanky2304 opened this issue Aug 2, 2017 · 8 comments
Closed

Comments

@Shanky2304
Copy link

If I want to run another gui program like firefox to the supervisor.conf file, it doesn't open when I launch my VNCServer for the first time.

If I kill supervisord and I run it the second time, firefox opens as it's supposed to. The only new process that I could see was LXDE's menu-cache.

What could be a possible work around for this?

@fcwu
Copy link
Owner

fcwu commented Aug 7, 2017

It's not likely issue of this image. Please provides more detailed command and configure file or I will close it in this week.

@Shanky2304
Copy link
Author

Doesn't look like a problem with this image.

@JohnPekl
Copy link

JohnPekl commented Aug 14, 2017

I had the same issue as you can see in the following video:

https://www.youtube.com/watch?v=uGL3ECNi3Ak

@Shanky2304
Copy link
Author

@sotoremydocuments I'm sorry the video is too distorted for me to gather anything. Is the solution just appending "--no-sandbox"?
Because that doesn't seem to work for me.

@JohnPekl
Copy link

I made a server program on Node.js. Firefox cannot display the webpage retrieving from the server. Thus, I tried to install Chrome or Chromium. The Chrome browser does not run when I click on the start menu. It showed the dialog as you have seen in the video. I do not know whether it has some other solutions.
How can I help you to gather logs or something else which you want to fix the bug?

@fcwu
Copy link
Owner

fcwu commented Aug 14, 2017 via email

@JohnPekl
Copy link

JohnPekl commented Aug 16, 2017

I have just made a new video here.
I cannot open Chrome or Chromium after selecting from the start menu. I must run the command '--no-sandbox.' When I open my webpage made by Node.js, It closed unexpectedly while the browsers normally run outside of the docker.

We do not have distorted screen problem here.
I installed Chrome and Chromium as the following commands.
Chromium
#1 : apt-get install chromium-browser
Google Chrome
#1 : wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
#2 : sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'
#3 : sudo apt-get update
#4 : sudo apt-get install google-chrome-stable

https://www.youtube.com/watch?v=uGL3ECNi3Ak

@fcwu
Copy link
Owner

fcwu commented Aug 16, 2017 via email

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

No branches or pull requests

3 participants