When I use the command:
sudo ssh pi@ipAddress -t -X firefox
It asks for the password on the pi, then returns:
(process:3031): GLib-CRITICAL **: g_slice_set_config: assertion ‘sys_page_size == 0’ failed Error: no display specified Connection to ipAddress closed
Thank you so much for any help, I need it ASAP
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
I attempted to duplicate this issue. While I do not have a Raspberry Pi handy I am running an Ubuntu 16.04 Desktop.
I created a new Ubuntu 16.04 droplet and ran just one command:
apt-get install firefox
I then connected to the droplet from my workstation with:
ssh root@droplet_ip -X firefox

and it worked. I would suggest making sure that you are running the ssh command from within an active X session on your raspberry pi and not as root if you are not in a root X session.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.
