LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   can not open display through ssh (https://www.linuxquestions.org/questions/linux-newbie-8/can-not-open-display-through-ssh-711157/)

SuperDude123 03-12-2009 03:46 PM

can not open display through ssh
 
When I try to run firefox, I get the following

user@box:~$ firefox

(firefox-bin:8344): Gtk-WARNING **: cannot open display:
user@box:~$

x_terminat_or_3 03-12-2009 04:26 PM

Try doing

Code:

ssh -X hostname

SuperDude123 03-12-2009 05:45 PM

I did, but once I'm logged in, I got those messages.

alpha01 03-13-2009 01:23 AM

I had this same issue and it worked by adding the -Y option when initiating the ssh connection.

Code:

ssh -X hostname -Y
note that you have enable X11 forwarding on the ssh server in order for this to work.


All times are GMT -5. The time now is 01:42 PM.