Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Xorg startx not working
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
akim22
n00b
n00b


Joined: 09 Jul 2017
Posts: 8

PostPosted: Mon Jul 10, 2017 5:55 pm    Post subject: [SOLVED] Xorg startx not working Reply with quote

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
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3664

PostPosted: Mon Jul 10, 2017 5:59 pm    Post subject: Re: Xorg startx not working Reply with quote

https://paste.pound-python.org/show/FbRsqBx0x0iqPtzX7nDh wrote:
Sorry, but the page you requested was not found on this server. ...
Back to top
View user's profile Send private message
akim22
n00b
n00b


Joined: 09 Jul 2017
Posts: 8

PostPosted: Mon Jul 10, 2017 6:01 pm    Post subject: Re: Xorg startx not working Reply with quote

charles17 wrote:
https://paste.pound-python.org/show/FbRsqBx0x0iqPtzX7nDh wrote:
Sorry, but the page you requested was not found on this server. ...


I updated the link as I got confused between the O's and 0's.
Back to top
View user's profile Send private message
fturco
Veteran
Veteran


Joined: 08 Dec 2010
Posts: 1181
Location: Italy

PostPosted: Mon Jul 10, 2017 6:10 pm    Post subject: Re: Xorg startx not working Reply with quote

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
View user's profile Send private message
akim22
n00b
n00b


Joined: 09 Jul 2017
Posts: 8

PostPosted: Mon Jul 10, 2017 7:09 pm    Post subject: Re: Xorg startx not working Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54208
Location: 56N 3W

PostPosted: Mon Jul 10, 2017 7:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3664

PostPosted: Mon Jul 10, 2017 7:54 pm    Post subject: Re: Xorg startx not working Reply with quote

akim22 wrote:
I updated the link as I got confused between the O's and 0's.
https://paste.pound-python.org/show/R3RKiiyGaTvK4snjeaKO/ wrote:
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.

Work though the log and resolve all the (EE).
Back to top
View user's profile Send private message
akim22
n00b
n00b


Joined: 09 Jul 2017
Posts: 8

PostPosted: Mon Jul 10, 2017 10:43 pm    Post subject: Reply with quote

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
View user's profile Send private message
akim22
n00b
n00b


Joined: 09 Jul 2017
Posts: 8

PostPosted: Mon Jul 10, 2017 10:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
akim22
n00b
n00b


Joined: 09 Jul 2017
Posts: 8

PostPosted: Tue Jul 11, 2017 12:35 am    Post subject: Reply with quote

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
View user's profile Send private message
akim22
n00b
n00b


Joined: 09 Jul 2017
Posts: 8

PostPosted: Tue Jul 11, 2017 1:36 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum