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!
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.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.