Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem with startx
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
nuxtuxsimple
n00b
n00b


Joined: 31 Mar 2025
Posts: 2

PostPosted: Mon Mar 31, 2025 7:45 pm    Post subject: Problem with startx Reply with quote

Hello,

I try to install a new gentoo installation and all seems to be fine until i try to launch startx to start xfce.

I install xinit without problem, and the xfce packages that i want compile with no issues

I confirm that i have elogind enable at boot and that my user "test" is in the video and the wheel group.

Here is the xorg log file after i try to laubch startx

https://bpa.st/UMSOLBDX565G66E2WLXSJX6RSY

Thanks for any help
Back to top
View user's profile Send private message
hal8000
n00b
n00b


Joined: 27 Mar 2025
Posts: 11

PostPosted: Mon Mar 31, 2025 9:00 pm    Post subject: Reply with quote

Well, I'm not the most experienced Gentoo user, but what I suggest is starting with the basic X server.
First rename your .xinitrc as .xinitrcbak

Install the Xserver as per the Wiki:

https://wiki.gentoo.org/wiki/Xorg/Guide

Code:
emerge --ask x11-base/xorg-server


Update the environment and then install xterm:

Code:
emerge --ask xterm


Now try

Code:
startx


If X works you will get a black background with 3 xterm windows.
That should prove you have a working X session, then you can look
at your xinit file.


Normally Xorg gives an EE warning, but I only see II (Information) and WW (Warning) in your pastebin,
so I'm guessing something wrong with your xinit
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 23283

PostPosted: Mon Mar 31, 2025 9:24 pm    Post subject: Reply with quote

nuxtuxsimple: welcome to the forums. Please show the output of cat -n ~/.xinitrc ; emerge --pretend --verbose x11-base/xorg-server.
Back to top
View user's profile Send private message
pabloblo
Tux's lil' helper
Tux's lil' helper


Joined: 24 Jan 2024
Posts: 75

PostPosted: Mon Mar 31, 2025 11:32 pm    Post subject: Reply with quote

nano ~/.xinitrc
exec startxfce4


?
Back to top
View user's profile Send private message
nuxtuxsimple
n00b
n00b


Joined: 31 Mar 2025
Posts: 2

PostPosted: Tue Apr 01, 2025 12:37 am    Post subject: Reply with quote

Thanks to all for your quick replies !

Indeed i forget to write an .xinitrc (even if i was sure of the opposite)

It almost works now, i have another issue : when i try to open a terminal i have an Failed to open PTY error.

I saw an other forum post ( https://forums.gentoo.org/viewtopic-t-1169880-highlight-dev+pty.html ) and try to mount devpts as root before login as user without success.

I also try to use my artix session to chroot in gentoo and unmount all the gentoo partitions without luck

How can i solve this ?

Thanks again
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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