Trying to get firefox running on CentOS 6 minimal iso - can't open display
Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
I've got minimal CentOS 6 running on an Oracle VirtualBox on a Mac. I'm trying to get Firefox up and running so I can download some web files into the VM.
I installed Firefox (yum --enablerepo=remi install firefox
). I also installed Xserver (yum install xorg-x11-server-Xvfb
) as I wasn't sure if it was included in the minimal OS install.
I then export DISPLAY=10.0.5.52
and then tried to start firefox
but it said:
Error: can't open display: 10.0.5.52.
What do I need to do to get firefox
to display?
x11 firefox centos
add a comment |Â
up vote
1
down vote
favorite
I've got minimal CentOS 6 running on an Oracle VirtualBox on a Mac. I'm trying to get Firefox up and running so I can download some web files into the VM.
I installed Firefox (yum --enablerepo=remi install firefox
). I also installed Xserver (yum install xorg-x11-server-Xvfb
) as I wasn't sure if it was included in the minimal OS install.
I then export DISPLAY=10.0.5.52
and then tried to start firefox
but it said:
Error: can't open display: 10.0.5.52.
What do I need to do to get firefox
to display?
x11 firefox centos
Do you want Firefox to place its windows on the Mac or inside the CentOS window?
â Mark Plotnick
Jun 29 '14 at 14:26
why not download files usingwget
â debal
Dec 20 '16 at 12:12
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I've got minimal CentOS 6 running on an Oracle VirtualBox on a Mac. I'm trying to get Firefox up and running so I can download some web files into the VM.
I installed Firefox (yum --enablerepo=remi install firefox
). I also installed Xserver (yum install xorg-x11-server-Xvfb
) as I wasn't sure if it was included in the minimal OS install.
I then export DISPLAY=10.0.5.52
and then tried to start firefox
but it said:
Error: can't open display: 10.0.5.52.
What do I need to do to get firefox
to display?
x11 firefox centos
I've got minimal CentOS 6 running on an Oracle VirtualBox on a Mac. I'm trying to get Firefox up and running so I can download some web files into the VM.
I installed Firefox (yum --enablerepo=remi install firefox
). I also installed Xserver (yum install xorg-x11-server-Xvfb
) as I wasn't sure if it was included in the minimal OS install.
I then export DISPLAY=10.0.5.52
and then tried to start firefox
but it said:
Error: can't open display: 10.0.5.52.
What do I need to do to get firefox
to display?
x11 firefox centos
x11 firefox centos
edited Jun 29 '14 at 0:14
slmâ¦
239k65494665
239k65494665
asked Jun 28 '14 at 23:52
Jazzmine
11624
11624
Do you want Firefox to place its windows on the Mac or inside the CentOS window?
â Mark Plotnick
Jun 29 '14 at 14:26
why not download files usingwget
â debal
Dec 20 '16 at 12:12
add a comment |Â
Do you want Firefox to place its windows on the Mac or inside the CentOS window?
â Mark Plotnick
Jun 29 '14 at 14:26
why not download files usingwget
â debal
Dec 20 '16 at 12:12
Do you want Firefox to place its windows on the Mac or inside the CentOS window?
â Mark Plotnick
Jun 29 '14 at 14:26
Do you want Firefox to place its windows on the Mac or inside the CentOS window?
â Mark Plotnick
Jun 29 '14 at 14:26
why not download files using
wget
â debal
Dec 20 '16 at 12:12
why not download files using
wget
â debal
Dec 20 '16 at 12:12
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
Try doing this:
$ export DISPLAY=10.0.5.52:0
Then run Firefox again. Also be sure to run xhost +
on the host 10.0.5.52 so that it's able to accept X applications being "sent" to it from other servers. This method is considered poor from a security stand point but is perfectly fine to use to confirm things are working properly. With that working, spend a bit more time considering your security posture in this use case and do something a bit more explicit using xhost +someremoteserver
instead.
Also you could use ssh
to tunnel the X application instead of using xhost
. There's typically a bit of a performance hit but it's often tolerable and worth it in my opinion.
$ ssh -X someremoteserver firefox
excerpt from ssh man page
-X Enables X11 forwarding. This can also be specified on a per-host
basis in a configuration file.
Actually using export DISPLAY=10.0.5.52:0 had no impact. Still get error: cannot open display 10.0.5.52:0 when issuing the firefox command at a command prompt. I also started xhost + on my host first, which started up an instance of X Windows (I think that's what happened, this is a little new to me).
â Jazzmine
Jun 29 '14 at 0:29
@Jazzmine - you have to run the commandxhost +
on 10.0.5.52 as well. The permission denied is the other server disallowing the Firefox window from being sent.
â slmâ¦
Jun 29 '14 at 0:31
Ok, I just ran xhost + on the guest (VM) terminal and it automatically responded with xhost: Unable to open display "10.0.5.52:0"
â Jazzmine
Jun 29 '14 at 0:35
And a little bit more info: i got my ip address from the VM's ifconfig command and selected the inet ip address. Sound good?
â Jazzmine
Jun 29 '14 at 0:37
@Jazzmine - you ranxhost +
on the host with the actual desktop, right?
â slmâ¦
Jun 29 '14 at 0:37
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
Try doing this:
$ export DISPLAY=10.0.5.52:0
Then run Firefox again. Also be sure to run xhost +
on the host 10.0.5.52 so that it's able to accept X applications being "sent" to it from other servers. This method is considered poor from a security stand point but is perfectly fine to use to confirm things are working properly. With that working, spend a bit more time considering your security posture in this use case and do something a bit more explicit using xhost +someremoteserver
instead.
Also you could use ssh
to tunnel the X application instead of using xhost
. There's typically a bit of a performance hit but it's often tolerable and worth it in my opinion.
$ ssh -X someremoteserver firefox
excerpt from ssh man page
-X Enables X11 forwarding. This can also be specified on a per-host
basis in a configuration file.
Actually using export DISPLAY=10.0.5.52:0 had no impact. Still get error: cannot open display 10.0.5.52:0 when issuing the firefox command at a command prompt. I also started xhost + on my host first, which started up an instance of X Windows (I think that's what happened, this is a little new to me).
â Jazzmine
Jun 29 '14 at 0:29
@Jazzmine - you have to run the commandxhost +
on 10.0.5.52 as well. The permission denied is the other server disallowing the Firefox window from being sent.
â slmâ¦
Jun 29 '14 at 0:31
Ok, I just ran xhost + on the guest (VM) terminal and it automatically responded with xhost: Unable to open display "10.0.5.52:0"
â Jazzmine
Jun 29 '14 at 0:35
And a little bit more info: i got my ip address from the VM's ifconfig command and selected the inet ip address. Sound good?
â Jazzmine
Jun 29 '14 at 0:37
@Jazzmine - you ranxhost +
on the host with the actual desktop, right?
â slmâ¦
Jun 29 '14 at 0:37
add a comment |Â
up vote
0
down vote
Try doing this:
$ export DISPLAY=10.0.5.52:0
Then run Firefox again. Also be sure to run xhost +
on the host 10.0.5.52 so that it's able to accept X applications being "sent" to it from other servers. This method is considered poor from a security stand point but is perfectly fine to use to confirm things are working properly. With that working, spend a bit more time considering your security posture in this use case and do something a bit more explicit using xhost +someremoteserver
instead.
Also you could use ssh
to tunnel the X application instead of using xhost
. There's typically a bit of a performance hit but it's often tolerable and worth it in my opinion.
$ ssh -X someremoteserver firefox
excerpt from ssh man page
-X Enables X11 forwarding. This can also be specified on a per-host
basis in a configuration file.
Actually using export DISPLAY=10.0.5.52:0 had no impact. Still get error: cannot open display 10.0.5.52:0 when issuing the firefox command at a command prompt. I also started xhost + on my host first, which started up an instance of X Windows (I think that's what happened, this is a little new to me).
â Jazzmine
Jun 29 '14 at 0:29
@Jazzmine - you have to run the commandxhost +
on 10.0.5.52 as well. The permission denied is the other server disallowing the Firefox window from being sent.
â slmâ¦
Jun 29 '14 at 0:31
Ok, I just ran xhost + on the guest (VM) terminal and it automatically responded with xhost: Unable to open display "10.0.5.52:0"
â Jazzmine
Jun 29 '14 at 0:35
And a little bit more info: i got my ip address from the VM's ifconfig command and selected the inet ip address. Sound good?
â Jazzmine
Jun 29 '14 at 0:37
@Jazzmine - you ranxhost +
on the host with the actual desktop, right?
â slmâ¦
Jun 29 '14 at 0:37
add a comment |Â
up vote
0
down vote
up vote
0
down vote
Try doing this:
$ export DISPLAY=10.0.5.52:0
Then run Firefox again. Also be sure to run xhost +
on the host 10.0.5.52 so that it's able to accept X applications being "sent" to it from other servers. This method is considered poor from a security stand point but is perfectly fine to use to confirm things are working properly. With that working, spend a bit more time considering your security posture in this use case and do something a bit more explicit using xhost +someremoteserver
instead.
Also you could use ssh
to tunnel the X application instead of using xhost
. There's typically a bit of a performance hit but it's often tolerable and worth it in my opinion.
$ ssh -X someremoteserver firefox
excerpt from ssh man page
-X Enables X11 forwarding. This can also be specified on a per-host
basis in a configuration file.
Try doing this:
$ export DISPLAY=10.0.5.52:0
Then run Firefox again. Also be sure to run xhost +
on the host 10.0.5.52 so that it's able to accept X applications being "sent" to it from other servers. This method is considered poor from a security stand point but is perfectly fine to use to confirm things are working properly. With that working, spend a bit more time considering your security posture in this use case and do something a bit more explicit using xhost +someremoteserver
instead.
Also you could use ssh
to tunnel the X application instead of using xhost
. There's typically a bit of a performance hit but it's often tolerable and worth it in my opinion.
$ ssh -X someremoteserver firefox
excerpt from ssh man page
-X Enables X11 forwarding. This can also be specified on a per-host
basis in a configuration file.
answered Jun 29 '14 at 0:13
slmâ¦
239k65494665
239k65494665
Actually using export DISPLAY=10.0.5.52:0 had no impact. Still get error: cannot open display 10.0.5.52:0 when issuing the firefox command at a command prompt. I also started xhost + on my host first, which started up an instance of X Windows (I think that's what happened, this is a little new to me).
â Jazzmine
Jun 29 '14 at 0:29
@Jazzmine - you have to run the commandxhost +
on 10.0.5.52 as well. The permission denied is the other server disallowing the Firefox window from being sent.
â slmâ¦
Jun 29 '14 at 0:31
Ok, I just ran xhost + on the guest (VM) terminal and it automatically responded with xhost: Unable to open display "10.0.5.52:0"
â Jazzmine
Jun 29 '14 at 0:35
And a little bit more info: i got my ip address from the VM's ifconfig command and selected the inet ip address. Sound good?
â Jazzmine
Jun 29 '14 at 0:37
@Jazzmine - you ranxhost +
on the host with the actual desktop, right?
â slmâ¦
Jun 29 '14 at 0:37
add a comment |Â
Actually using export DISPLAY=10.0.5.52:0 had no impact. Still get error: cannot open display 10.0.5.52:0 when issuing the firefox command at a command prompt. I also started xhost + on my host first, which started up an instance of X Windows (I think that's what happened, this is a little new to me).
â Jazzmine
Jun 29 '14 at 0:29
@Jazzmine - you have to run the commandxhost +
on 10.0.5.52 as well. The permission denied is the other server disallowing the Firefox window from being sent.
â slmâ¦
Jun 29 '14 at 0:31
Ok, I just ran xhost + on the guest (VM) terminal and it automatically responded with xhost: Unable to open display "10.0.5.52:0"
â Jazzmine
Jun 29 '14 at 0:35
And a little bit more info: i got my ip address from the VM's ifconfig command and selected the inet ip address. Sound good?
â Jazzmine
Jun 29 '14 at 0:37
@Jazzmine - you ranxhost +
on the host with the actual desktop, right?
â slmâ¦
Jun 29 '14 at 0:37
Actually using export DISPLAY=10.0.5.52:0 had no impact. Still get error: cannot open display 10.0.5.52:0 when issuing the firefox command at a command prompt. I also started xhost + on my host first, which started up an instance of X Windows (I think that's what happened, this is a little new to me).
â Jazzmine
Jun 29 '14 at 0:29
Actually using export DISPLAY=10.0.5.52:0 had no impact. Still get error: cannot open display 10.0.5.52:0 when issuing the firefox command at a command prompt. I also started xhost + on my host first, which started up an instance of X Windows (I think that's what happened, this is a little new to me).
â Jazzmine
Jun 29 '14 at 0:29
@Jazzmine - you have to run the command
xhost +
on 10.0.5.52 as well. The permission denied is the other server disallowing the Firefox window from being sent.â slmâ¦
Jun 29 '14 at 0:31
@Jazzmine - you have to run the command
xhost +
on 10.0.5.52 as well. The permission denied is the other server disallowing the Firefox window from being sent.â slmâ¦
Jun 29 '14 at 0:31
Ok, I just ran xhost + on the guest (VM) terminal and it automatically responded with xhost: Unable to open display "10.0.5.52:0"
â Jazzmine
Jun 29 '14 at 0:35
Ok, I just ran xhost + on the guest (VM) terminal and it automatically responded with xhost: Unable to open display "10.0.5.52:0"
â Jazzmine
Jun 29 '14 at 0:35
And a little bit more info: i got my ip address from the VM's ifconfig command and selected the inet ip address. Sound good?
â Jazzmine
Jun 29 '14 at 0:37
And a little bit more info: i got my ip address from the VM's ifconfig command and selected the inet ip address. Sound good?
â Jazzmine
Jun 29 '14 at 0:37
@Jazzmine - you ran
xhost +
on the host with the actual desktop, right?â slmâ¦
Jun 29 '14 at 0:37
@Jazzmine - you ran
xhost +
on the host with the actual desktop, right?â slmâ¦
Jun 29 '14 at 0:37
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f139729%2ftrying-to-get-firefox-running-on-centos-6-minimal-iso-cant-open-display%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Do you want Firefox to place its windows on the Mac or inside the CentOS window?
â Mark Plotnick
Jun 29 '14 at 14:26
why not download files using
wget
â debal
Dec 20 '16 at 12:12