SSH -X to run Firefox on remote machine

  • Thread starter Thread starter postcd
  • Start date Start date
P

postcd

Hello,

on my home computer i have Debian 6.x

and i can use SSH -X to connect my remote linux server on which is CentOS (Redhat).

I have fluxbox desktop interface there.

I want to ask how i can run somehow Firefox on that remote server and work in that Firefox on my local home linux PC..

Do i need to install Huge X-Window system (yum groupinstall 'X Window System') on remote computer or can i use fluxbox or any other more lightweight?

I want skip VNC and use ssh -X command..

When not having X-window system installed:

im getting errors like:
Error: no display specified
# export DISPLAY=localhost:0.0
# firefox &
[1] 5832
# Error: cannot open display: localhost:0.0

AFTER installing X-Window system using yum command above, im getting same errors:
[root@vps ~]#
[root@vps ~]# firefox
Error: cannot open display:
[root@vps ~]# export DISPLAY=
[root@vps ~]# firefox
Error: cannot open display:
[root@vps ~]# export DISPLAY=localhost:0.0
[root@vps ~]# firefox
Error: cannot open display: localhost:0.0
[root@vps ~]# firefox &
[1] 6426

any ideas please?

Continue reading...
 
Back
Top