LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-19-2007, 12:07 AM   #1
crescent123
LQ Newbie
 
Registered: Apr 2007
Posts: 4

Rep: Reputation: 0
starting firefox in remote machine


Hi,

I am new to Linux.I am trying to start firefox in a remote machine using the command "firefox".I get the terminal of the remote machine using ssh.I have given the following commands.

[root@xyz ~]# ssh ipaddress

[root@xyz ~]# firefox http://www.google.com

But it displays the warning as,

(firefox-bin:3484): Gtk-WARNING **: cannot open display:

Can anyone help me in solving this issue.
 
Old 04-19-2007, 12:16 AM   #2
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
You need to use:
Code:
ssh -X remoteMachine
firefox
This will only work if the remote machine has X forwarding enabled.

--Ian
 
Old 04-19-2007, 12:37 AM   #3
crescent123
LQ Newbie
 
Registered: Apr 2007
Posts: 4

Original Poster
Rep: Reputation: 0
Starting firefox in remote machine

I tried it.

it is not working.

can you pls tell me what options must be enabled in ssh_config to enable x forwarding.
 
Old 04-19-2007, 01:03 AM   #4
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
The option is X11Forwarding. Have a look in the sshd_config file on the remote machine.

--Ian
 
Old 04-19-2007, 01:45 AM   #5
crescent123
LQ Newbie
 
Registered: Apr 2007
Posts: 4

Original Poster
Rep: Reputation: 0
Starting firefox in remote machine

this is what i have changed in the remote host sshd_config

X11Forwarding yes

restarted the sshd service

i have changed the option from no to yes. but still not able to get it.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
scp: copy a file from local machine to remote machine seran Linux - Newbie 8 10-30-2007 12:23 PM
Complicated one: MySQL, rsync, remote machine, local machine daiver Linux - General 2 02-27-2006 12:14 PM
Log on to a remote windows account when starting a Linux machine bothy Linux - Newbie 3 11-16-2005 04:47 AM
how to open a dilog on local machine when i do ssh to remote machine fahad26 Programming 3 05-03-2005 07:39 PM
Starting Manual Dial-Up from remote machine jacobez Linux - Networking 2 10-05-2004 09:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration