This is a research for xorg on Gentoo using USE="-*" on amdgpu, debugging on chroot environment.
sysresccd / # startx-lxqt
/usr/bin/startx-lxqt: line 146: hostname: command not found
xauth: file /root/.serverauth.3639 does not exist
X.Org X Server 1.20.3
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.18.18-gentoo-r1 x86_64 Gentoo
Current Operating System: Linux sysresccd 4.14.80-std532-amd64 #2 SMP Sun Nov 11 18:59:44 UTC 2018 x86_64
Kernel command line: initrd=initram.igz BOOT_IMAGE=rescue64 docache
Build Date: 05 February 2019 05:09:00AM
Current version of pixman: 0.36.0
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.1.log", Time: Tue Feb 5 05:57:33 2019
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE)
Fatal server error:
(EE) no screens found(EE)
(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
(EE) Please also check the log file at "/var/log/Xorg.1.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.
^Cxinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: unexpected signal 2
startx-lxqt
/usr/bin/startx-lxqt: line 146: hostname: command not found
xauth: error in locking authority file /home/kreyren/.serverauth.4116
xauth: timeout in locking authority file /root/.Xauthority
^C^Cxauth: timeout in locking authority file /root/.Xauthority
(EE)
Fatal server error:
(EE) Cannot open log file "/home/kreyren/.local/share/xorg/Xorg.1.log"
(EE)
(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
(EE)
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
Couldn't get a file descriptor referring to the console
- Kernel configuration is correct assuming that same configuration worked on profile use flags. -> recompiling just to be sane.
- udev?
- is emerged.. ?
- system didn't change resolution once booted -> AMDGPU not loaded, confirmed in
lspci -k | grep kernel
.- radeonsi is disabled in grub and not loaded.
- xauth?
- Seems sane?
- from https://www.starnet.com/xwin32kb/error-in-locking-authority-file/ invoked
sudo chmod 400 .Xauthority
-> same issue-r-------- 1 kreyren kreyren 103 Feb 5 05:37 .Xauthority
-> not a permission issue with .Xauthority - from https://www.linuxquestions.org/questions/slackware-14/xauth-error-in-locking-authority-file-701740/
kreyren@sysresccd ~ $ xauth merge /home/kreyren/.Xauthority
->xauth: timeout in locking authority file /root/.Xauthority
-> can't find relevant source
- from https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=856351 https://www.systutorials.com/docs/linux/man/5-Xwrapper.config/ created
/etc/X11/Xwrapper.config
withallowed_users=console
-> same issueallowed_users=anybody
(seems insane) -> same issue- Removed
Xwrapper.config
kreyren@sysresccd ~ $ startx
/usr/bin/startx: line 146: hostname: command not found
xauth: file /home/kreyren/.serverauth.16275 does not exist
xauth: timeout in locking authority file /root/.Xauthority
xauth: timeout in locking authority file /root/.Xauthority
xauth: timeout in locking authority file /root/.Xauthority
xauth: timeout in locking authority file /root/.Xauthority
X.Org X Server 1.20.3
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.18.18-gentoo-r1 x86_64 Gentoo
Current Operating System: Linux sysresccd 4.14.80-std532-amd64 #2 SMP Sun Nov 11 18:59:44 UTC 2018 x86_64
Kernel command line: initrd=initram.igz BOOT_IMAGE=rescue64 docache
Build Date: 05 February 2019 05:09:00AM
Current version of pixman: 0.36.0
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/home/kreyren/.local/share/xorg/Xorg.1.log", Time: Tue Feb 5 06:38:34 2019
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE)
Fatal server error:
(EE) parse_vt_settings: Cannot open /dev/tty0 (Permission denied)
(EE)
(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
(EE) Please also check the log file at "/home/kreyren/.local/share/xorg/Xorg.1.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.
^Cxinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: unexpected signal 2
^CCouldn't get a file descriptor referring to the console
- File is present and non-corrupted -> nano broken? -> confirmed broken nano -> re-emerging needs optimization.. nano works in different chroot.. wth? killed broken chroot using new chroot -> re-emerging nano with optimization anyway
app-editors/nano magic spell unicode nls ncurses
is set inpackage.use
and nano is reemerged.- SOLVED