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
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:
I then connected to the droplet from my workstation with:
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.