If I try to start X.org server with the startx command as a non-root user, the Xorg server crashes gracefully with the following error messages:
Then, if I start X.org with the startx command as root, everything works as expected. X.org also works fine, if started with the X -command as non-root. In this way the desktop is unusable, because .xinitrc was not executed etc. Please do note that I might have not noticed some important details from the /var/log/Xorg.0.log because I am quite illiterate both in English and in anything related to Xorg. I haven't got a simple clue how the apparatus works internally.
Here are the logs:
http://koti.kapsi.fi/~isoa/files/Xorg-7.7-problem/Xorg.0.log.root <--
http://koti.kapsi.fi/~isoa/files/Xorg-7.7-problem/Xorg.0.log.adm <--
http://koti.kapsi.fi/~isoa/files/Xorg-7.7-problem/Xorg.0.log.diff <-- diff of the above logs for convenience
http://koti.kapsi.fi/~isoa/files/Xorg-7.7-problem/dev_dir_list.txt <--
http://koti.kapsi.fi/~isoa/files/Xorg-7.7-problem/dmesg.txt <--
http://koti.kapsi.fi/~isoa/files/Xorg-7.7-problem/loader.conf <--
http://koti.kapsi.fi/~isoa/files/Xorg-7.7-problem/pciconf_-lbcev.txt <--
http://koti.kapsi.fi/~isoa/files/Xorg-7.7-problem/pkg_info.txt <--
http://koti.kapsi.fi/~isoa/files/Xorg-7.7-problem/rc.conf <-- /etc/rc.conf
http://koti.kapsi.fi/~isoa/files/Xorg-7.7-problem/sysctl.conf <-- /etc/sysctl.conf
http://koti.kapsi.fi/~isoa/files/Xorg-7.7-problem/xorg.conf <--/usr/local/etc/X11/xorg.conf
All of the packages in my system have been built with poudriere.
My make.conf is:
My computer is an Acer laptop with Optimus. Regardless, X.org seems to be able to work the display with the intel driver.
Have I done something wrong to prevent startx from invoking the X server correctly? Am I the only person with this problem?
Code:
...
[ 8194.960] (WW) intel(0): drmDropMaster failed: Unknown error: -22
[ 8194.977] Server terminated successfully (0). Closing log file.
...
Then, if I start X.org with the startx command as root, everything works as expected. X.org also works fine, if started with the X -command as non-root. In this way the desktop is unusable, because .xinitrc was not executed etc. Please do note that I might have not noticed some important details from the /var/log/Xorg.0.log because I am quite illiterate both in English and in anything related to Xorg. I haven't got a simple clue how the apparatus works internally.
Here are the logs:
http://koti.kapsi.fi/~isoa/files/Xorg-7.7-problem/Xorg.0.log.root <--
startx
as roothttp://koti.kapsi.fi/~isoa/files/Xorg-7.7-problem/Xorg.0.log.adm <--
startx
as non-root (adm)http://koti.kapsi.fi/~isoa/files/Xorg-7.7-problem/Xorg.0.log.diff <-- diff of the above logs for convenience
http://koti.kapsi.fi/~isoa/files/Xorg-7.7-problem/dev_dir_list.txt <--
ls -al /dev
http://koti.kapsi.fi/~isoa/files/Xorg-7.7-problem/dmesg.txt <--
dmesg
http://koti.kapsi.fi/~isoa/files/Xorg-7.7-problem/loader.conf <--
cat /boot/loader.conf
http://koti.kapsi.fi/~isoa/files/Xorg-7.7-problem/pciconf_-lbcev.txt <--
pciconf -lbcev
http://koti.kapsi.fi/~isoa/files/Xorg-7.7-problem/pkg_info.txt <--
pkg info
http://koti.kapsi.fi/~isoa/files/Xorg-7.7-problem/rc.conf <-- /etc/rc.conf
http://koti.kapsi.fi/~isoa/files/Xorg-7.7-problem/sysctl.conf <-- /etc/sysctl.conf
http://koti.kapsi.fi/~isoa/files/Xorg-7.7-problem/xorg.conf <--/usr/local/etc/X11/xorg.conf
All of the packages in my system have been built with poudriere.
My make.conf is:
Code:
CC=clang
CXX=clang++
CPP=clang-cpp
WITH_PKGNG="YES"
WITH_NEW_XORG="YES"
WITH_KMS="YES"
QT4_OPTIONS= CUPS NAS QGTKSTYLE
.if ${.CURDIR:M*/lang/gcc*}
CC=gcc
CXX=g++
CPP=cpp
.endif
My computer is an Acer laptop with Optimus. Regardless, X.org seems to be able to work the display with the intel driver.
Have I done something wrong to prevent startx from invoking the X server correctly? Am I the only person with this problem?