I am using a laptop with Ubuntu 14.04 and I started building a Samba server at home.I am using Ubuntu-Server 14.04 for this machine.
I use Webmin and SSH (depending on the job) to configure my server.
Recently I googled "run GParted over SSH". I didn't knew that was possible, so I gave it a try. I installed GParted (on server) but when I enter
sudo gparted
I get the error:
"Gtk-WARNING **: cannot open display:"
I vainly followed all guides I could find like: http://www.ossramblings.com/changing-linux-server-partitions-gui
I also tried:
sudo -E gparted
- Setting X11Forwarding yes
- export DISPLAY=
Any other ideas? Thank you all for your time and replies!
ssh -X -p ...
andgksu gparted
it works for me. But I tested it only with a Virtual-box and not a server version of ubuntu. – TuKsn Jun 06 '14 at 17:32