Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Aug 2005 21:04:24 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Kun Niu <haoniukun@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Problem about the $DISPLAY environment variable
Message-ID:  <20050803020424.GA93405@dan.emsphone.com>
In-Reply-To: <ec9e7ff1050802173954d7a91c@mail.gmail.com>
References:  <ec9e7ff1050802173954d7a91c@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Aug 03), Kun Niu said:
> This problem occurs when I start to launch "startkde". First, it
> mentioned $DISPLAY was not set. Then I use command "export
> DISPLAY=:0.0" to set it. After that I typed the command startkde. The
> error was "can't connect to :0.0" Can someone tell me how to solve
> the problem? Any help would be appreciated. Thanks in advance.:)

startkde is meant to be run after X has started.  It doesn't start X
itself.  Try putting it in your ~/.xinitrc file, then run "startx".

-- 
	Dan Nelson
	dnelson@allantgroup.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050803020424.GA93405>