M I have installed xorg and xfce and added entry to xinitrc but when I type startx my pc displays the message "not support!", what to do?

I did this as root.

  • 1
    Try as NON-root! And if it doesn't work please post your ~/.xinitrc.
    – uzsolt
    Jun 9, 2015 at 17:43
  • as root it shows :"exec /usr/local/bin/startxfce4" , as non-root it says it's not found
    – user117203
    Jun 9, 2015 at 17:50
  • 1
    Please post your ~/.xinitrc! "non-root it says it's not found" - please copy the EXACT message!
    – uzsolt
    Jun 10, 2015 at 5:39
  • I am sorry ,but now,I reinstalled the OS again and ran these commands in this order : "pkg install nano";"pkg install xorg";"pkg install slim";"pkg install mate-desktop mate".Then I opened /etc/rc.conf and added to the file "dbus_enable="YES"";"hald_enable="YES"";"slim_enable="YES"".Then i opened .xinitrc and added "exec mate-session" and then I added "exec mate-session" to /home/james/.xinitrc .When I boot the OS my monitor shows "Not support!" .I know it's not xfce but I have followed a tutorial just to get a desktop.
    – user117203
    Jun 10, 2015 at 6:10
  • Typically, a user should be following the Handbook for such things, especially when, in this case, XFCE installation is contained there: freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11-wm.html
    – Rob
    Jun 15, 2015 at 1:38

1 Answer 1


Install the xinit using pkg install xinit

And still if you getting same error try using bellow wich might resolve your problem

pkg install xorg this is only for GUI

You must log in to answer this question.