I am logging into a remote Fedora 12 machine via SSH. I have enabled X11 forwarding by passing -X parameter to ssh. I also tried trusted forwarding with -Y. Both of them fail with (gedit:3711): Gtk-WARNING **: cannot open display, when I try opening a file with gedit on the remote machine.

What am I missing?


Try running a local X11 application first. If that doesn't work, reinstall Xquartz and log out and back in again.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .