Problem about the $DISPLAY environment variable

Dan Nelson dnelson at allantgroup.com
Wed Aug 3 02:04:26 GMT 2005


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 at allantgroup.com


More information about the freebsd-questions mailing list