$DISPLAY not set

Lowell Gilbert freebsd-questions-local at be-well.ilk.org
Mon Dec 1 19:42:19 UTC 2014

Paul Cartwright <pbcartwright at gmail.com> writes:

> On 12/01/2014 01:41 PM, Lowell Gilbert wrote:
>>> > am I missing something?
>> Well, you're missing the FreeBSD documentation, which is a lot better
>> than a random Google result.
>> https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11.html
> right, I should have followed that first..
>> Or you might want to try PCBSD (www.pcbsd.org) which will require a lot
>> less understanding of what is going on (at the cost, as usual, of giving
>> you a lot less choice, at least initially).
> no,no, I've used UNIX in the past, but it has been linux for the last 10
> years.. just a little rusty..

starting an X server (in all of the massive variety of way you can do
that) is pretty much *exactly* the same on Linux as on FreeBSD.

>> The "exec startkde" is supposed to go in your .xinitrc file, in which
>> case you would start X with the "startx" command.
> right, I understand the .xinitrc, but I wanted it to work first..

You don't understand the .xinitrc, then. It isn't going to start an X
server for you -- it's supposed to be run *under* the X server.

More information about the freebsd-questions mailing list