[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: WindowMaker: fatal error: could not open display ""



On Thu, Mar 31, 2005 at 10:51:50AM -0800, rds wrote:
> 
> Hi,
> 
> Need some help with installation of wmaker (WindowMaker) on Debian sarge. This
> is what I did:
> # aptitude install wmaker --verbose
> # wmaker
> /usr/lib/WindowMaker/WindowMaker fatal error: could not open display ""
> 
> Any ideas? Thanks
> 
> 
Hi,

you don't start wmaker from the console, first you need an X session
running. So you could do

X :0 & sleep 5; wmaker -display :0

which will start an xserver, sleep 5 seconds and then start wmaker.
The normal way however is to use startx and setting the environmental
variable 'export WINDOWMANAGER=wmaker'. Look at the end of your .xinit
file. For interest, the above command will also work from within your
running display manager as 

Xnest :1 & sleep 5; wmaker -display :1

which will start a nested server. Note the :1, as you already have one
display running. Furthermore, you naturally can use (x|g|k|w)dm to select 
your display manager.

hth,
-- 
Andreas Rippl -- GPG messages preferred
                 Key-ID: 0x81073379

Attachment: signature.asc
Description: Digital signature


Reply to: