Sign up ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

I've install gnome2, xorg, and xinit (should xorg have done that for me?), and startx yields:

"xinit: unable to run server "/usr/local/bin/X": No such file or directory" I checked in the directory, and startx, xpath, and xinit are all there Am I still missing dependencies? If so, which ones?

Both the gnome2 and x11 installations took a lifetime and a half so I thought they got everything...

share|improve this question
Do you have an executable /usr/local/bin/X? Most probably your system's is called /usr/bin/X... – vonbrand Feb 2 '13 at 2:49
are you using [t]csh ? did you run rehash after installing? – Ćukasz Gruner Feb 12 '13 at 5:13
How did you go about installing xorg? It sounds like many components are missing. Did you use packages or the port? If the port, I'd go to /usr/ports/x11/xorg and make depends to verify everything was built. To fix this particular error, you could install the xorg-server package or find the port in /usr/ports/x11-servers/xorg-server – Lucas Holt Aug 17 '13 at 12:01

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.