You are not logged in.

#1 2012-04-01 14:58:59

imv
Member
Registered: 2012-04-01
Posts: 2

"cannot open display" error meaning

I'm trying to get dwm running for a while now, and when I try to run it, it says "cannot open display". Then I thought, ok, maybe i have to install an X server, so I got Xorg, installed it, removed dwm and then recompiled it, but I got the same error. Then I thought that maybe I didn't have the right configurations (even though I never bothered config.h or config.mk), so I got gnome (hoping that it would auto-configure itself) so that I can test if it's something with dwm or some other problem with the system. When I tried to start gnome, I got the "cannot open display" error, again (my keyboard will never forgive me for what I did when I saw that).
I went through dwm's wiki more than once, googled the problem, read about Xorg, I just don't know what I'm doing wrong.
Everything was done on a fresh netinstall.

Could you please help me out with this? (Or just link me to somewhere I can find some meaningful information about the problem)

Last edited by imv (2012-04-01 15:02:00)

Offline

#2 2012-04-01 15:02:23

lifeafter2am
Member
From: 127.0.0.1
Registered: 2009-06-10
Posts: 1,332

Re: "cannot open display" error meaning


#binarii @ irc.binarii.net
Matrix Server: https://matrix.binarii.net
-------------
Allan -> ArchBang is not supported because it is stupid.

Offline

#3 2012-04-01 15:09:15

cesura
Package Maintainer (PM)
From: Tallinn, Estonia
Registered: 2010-01-23
Posts: 1,867

Re: "cannot open display" error meaning

You probably didn't install your video driver. The most common are prefixed with xf86-video-*, so you can determine for yourself which one you need to install (ATI, Intel, etc.)

Offline

#4 2012-04-01 15:27:07

imv
Member
Registered: 2012-04-01
Posts: 2

Re: "cannot open display" error meaning

@lifeafter2am  I read that, xorg_server and xorg_apps were already installed, since I installed xorg (as in, the whole xorg package). xinit, startx   ~/.xinitrc and /etc/X11/xinit/xinitrc , all files/programs mentioned in the wiki, ar missing, though, perhaps it's a hint of some sort
@istbrad212   the video card driver was already installed


Sorry for the slow responses, I have to constantly reboot in order to try everything.

Offline

#5 2012-04-01 21:56:50

mr.MikyMaus
Member
From: disabled
Registered: 2006-03-31
Posts: 285

Re: "cannot open display" error meaning

might seem like a stupid question but is your X server actually running? And if so, from where and how exactly are you trying to run the program?


What happened to Arch's KISS? systemd sure is stupid but I must have missed the simple part ...

... and who is general Failure and why is he reading my harddisk?

Offline

Board footer

Powered by FluxBB