View previous topic :: View next topic |
Author |
Message |
akim22 n00b
Joined: 09 Jul 2017 Posts: 8
|
Posted: Mon Jul 10, 2017 5:55 pm Post subject: [SOLVED] Xorg startx not working |
|
|
I followed the guide to install Xorg and XFCE but when I type in "startx" it fails to load properly.
Here is the /var/log/Xorg.0.log file:
https://paste.pound-python.org/show/R3RKiiyGaTvK4snjeaKO/
I'm using an integrated intel graphics card and I configured it according to the link provided by the Xorg guide.
Last edited by akim22 on Tue Jul 11, 2017 1:36 am; edited 1 time in total |
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3664
|
Posted: Mon Jul 10, 2017 5:59 pm Post subject: Re: Xorg startx not working |
|
|
|
|
Back to top |
|
|
akim22 n00b
Joined: 09 Jul 2017 Posts: 8
|
Posted: Mon Jul 10, 2017 6:01 pm Post subject: Re: Xorg startx not working |
|
|
I updated the link as I got confused between the O's and 0's. |
|
Back to top |
|
|
fturco Veteran
Joined: 08 Dec 2010 Posts: 1181 Location: Italy
|
Posted: Mon Jul 10, 2017 6:10 pm Post subject: Re: Xorg startx not working |
|
|
Quote: | [ 3759.314] (EE) open /dev/dri/card0: No such file or directory |
Maybe you missed something in the kernel configuration.
Quote: | I'm using an integrated intel graphics card and I configured it according to the link provided by the Xorg guide. |
Did you read https://wiki.gentoo.org/wiki/Intel? |
|
Back to top |
|
|
akim22 n00b
Joined: 09 Jul 2017 Posts: 8
|
Posted: Mon Jul 10, 2017 7:09 pm Post subject: Re: Xorg startx not working |
|
|
fturco wrote: | Quote: | [ 3759.314] (EE) open /dev/dri/card0: No such file or directory |
Maybe you missed something in the kernel configuration.
Quote: | I'm using an integrated intel graphics card and I configured it according to the link provided by the Xorg guide. |
Did you read https://wiki.gentoo.org/wiki/Intel? |
I'm pretty sure I did follow the steps. I took another look at it to make sure and the Kernel Configuration is correct. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54208 Location: 56N 3W
|
Posted: Mon Jul 10, 2017 7:52 pm Post subject: |
|
|
akim22,
You are not using your correct kernel then. Did you forget to mount /boot for the kernel install?
Look at Code: | uname -a
Linux NeddySeagoon_Static 4.12.0-gentoo #2 SMP PREEMPT Mon Jul 10 11:02:16 BST 2017 x86_64 AMD Phenom(tm) II X6 1090T Processor AuthenticAMD GNU/Linux |
The date and time is the build time ef the running kernel. If you have made another kernel since that time, you are not using it now. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3664
|
Posted: Mon Jul 10, 2017 7:54 pm Post subject: Re: Xorg startx not working |
|
|
akim22 wrote: | I updated the link as I got confused between the O's and 0's. |
Work though the log and resolve all the (EE). |
|
Back to top |
|
|
akim22 n00b
Joined: 09 Jul 2017 Posts: 8
|
Posted: Mon Jul 10, 2017 10:43 pm Post subject: |
|
|
NeddySeagoon wrote: | akim22,
You are not using your correct kernel then. Did you forget to mount /boot for the kernel install?
Look at Code: | uname -a
Linux NeddySeagoon_Static 4.12.0-gentoo #2 SMP PREEMPT Mon Jul 10 11:02:16 BST 2017 x86_64 AMD Phenom(tm) II X6 1090T Processor AuthenticAMD GNU/Linux |
The date and time is the build time ef the running kernel. If you have made another kernel since that time, you are not using it now. |
I did uname-a and I found that the kernel I have currently isn't the latest one.
I thought I only had to mount /boot if I chrooted from a liveCD.
I'm going to do that now and see if it fixes it. Will I have to reinstall Xorg and XFCE? |
|
Back to top |
|
|
akim22 n00b
Joined: 09 Jul 2017 Posts: 8
|
Posted: Mon Jul 10, 2017 10:48 pm Post subject: |
|
|
NeddySeagoon wrote: | akim22,
You are not using your correct kernel then. Did you forget to mount /boot for the kernel install?
Look at Code: | uname -a
Linux NeddySeagoon_Static 4.12.0-gentoo #2 SMP PREEMPT Mon Jul 10 11:02:16 BST 2017 x86_64 AMD Phenom(tm) II X6 1090T Processor AuthenticAMD GNU/Linux |
The date and time is the build time ef the running kernel. If you have made another kernel since that time, you are not using it now. |
It says in the guide(https://wiki.gentoo.org/wiki/Kernel/Rebuild) that I had to copy the newly compiled kernel into the boot. Where do I find the newly compiled kernel? |
|
Back to top |
|
|
akim22 n00b
Joined: 09 Jul 2017 Posts: 8
|
Posted: Tue Jul 11, 2017 12:35 am Post subject: |
|
|
I tried reinstalling with the mount but it didn't work. The kernel did not update.
I went onto the IRC and I found out that grub is picking my old genkernel kernel instead of the recent manual one I made. So I'm trying to reinstall it based on this tutorial.
https://pikedom.com/recompile-the-gentoo-linux-kernel/ |
|
Back to top |
|
|
akim22 n00b
Joined: 09 Jul 2017 Posts: 8
|
Posted: Tue Jul 11, 2017 1:36 am Post subject: |
|
|
After going through advanced boot and booting through the newer kernel. Startx works so the genkernel is the thing causing the issue. Removing it should solve the problem.
Removed the genkernel kernel and it works. |
|
Back to top |
|
|
|