Error can't open dislplay

I trying to configure xorg.
I execute the command Xorg -configure.
The error was Can't open display.
With command xrandr print to.
There is a solution?
Thanks,
 
I was about to direct you to the handbook on installing X. But it seems somewhat outdated.

Is your user part of the video group?
Did you load any graphics drivers? Graphics - FreeBSD Wiki
What version of FreeBSD? 12.2-Release?
I execute the command Xorg -configure
You don't need to do this any more, I think.
 
Ok, I set my user as part of video group. Using the line in the handbook.
The system is running as a virtual machine and host don't have drivers.
I read the manual and i forget somethings, but now I did it.
So, I install xdm because I think I need. I don't know what is my video card, so, tried to use Xorg -configure.
With xrandr print Can't open display.
What can I do.
I just installed XFCE and it work.
 
You don't need to do this any more, I think.
My recollection too. It seems like years, if not decades, since my last mandatory Xorg -configure My only use for it these days is to fine tune resolution and such after gnome3 is up and running..
 
You shouldn't be using Xorg -configure any more. You don't need to create an xorg.conf at all these days. Xorg does a very good job of auto-detecting most things.

I don't know what is my video card
Look at dmesg(8) output. Or look through the output from pciconf -lv.
 
Back
Top