You are not logged in.

#1 2015-10-07 21:33:59

remn
Member
Registered: 2015-10-01
Posts: 37

Firefox: "Error: no display specified"

I installed firefox and Xorg, which I expected to be enough to use firefox on my new arch installation. But when I try to launch it by just typing "firefox"I get this message: "Error: no display specified"

I think I'm supposed to type "firefox --display:[display name]" but I don't know what display name to use, or if that's the right way to launch it. What am I doing wrong??

Offline

#2 2015-10-07 21:45:44

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,737
Website

Re: Firefox: "Error: no display specified"

How are you starting X? What DE/WM are you using?


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2015-10-07 22:08:35

remn
Member
Registered: 2015-10-01
Posts: 37

Re: Firefox: "Error: no display specified"

I'm trying to become proficient with the command line so I haven't installed a DE or WM yet. I didn't realize I need to start X in order to run firefox, I thought I just needed to install Xorg so I'd have the necessary drivers to run a GUI browser.

I tried to start X manually by installing xinitrc and running startx. But when I do that I get a bunch of error messages and X doesn't start.

Offline

#4 2015-10-07 22:12:16

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Firefox: "Error: no display specified"

Read the wiki and post the error messages along with your ~/.xinitrc.
Tell us more about your setup, what graphics drivers are you using, are you trying to start X as root etc.

Offline

#5 2015-10-07 22:30:47

remn
Member
Registered: 2015-10-01
Posts: 37

Re: Firefox: "Error: no display specified"

I wasn't starting as root before but I tried as root this time. The other error messages went away but I got a new one:

"xauth: file/root/.Xauthority does not exist"

After that message, it seems from the output like it's starting but then there's a line saying it's shutting down and it goes back to the command line, without any further error messages.

I have to go offline for awhile but I'll look over the wiki and post the .xinitrc file a little later.

Offline

Board footer

Powered by FluxBB