View previous topic :: View next topic |
Author |
Message |
nuxtuxsimple n00b

Joined: 31 Mar 2025 Posts: 2
|
Posted: Mon Mar 31, 2025 7:45 pm Post subject: Problem with startx |
|
|
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 |
|
 |
hal8000 n00b

Joined: 27 Mar 2025 Posts: 11
|
Posted: Mon Mar 31, 2025 9:00 pm Post subject: |
|
|
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:
Now try
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 |
|
 |
Hu Administrator

Joined: 06 Mar 2007 Posts: 23283
|
Posted: Mon Mar 31, 2025 9:24 pm Post subject: |
|
|
nuxtuxsimple: welcome to the forums. Please show the output of cat -n ~/.xinitrc ; emerge --pretend --verbose x11-base/xorg-server. |
|
Back to top |
|
 |
pabloblo Tux's lil' helper

Joined: 24 Jan 2024 Posts: 75
|
Posted: Mon Mar 31, 2025 11:32 pm Post subject: |
|
|
nano ~/.xinitrc
exec startxfce4
? |
|
Back to top |
|
 |
nuxtuxsimple n00b

Joined: 31 Mar 2025 Posts: 2
|
Posted: Tue Apr 01, 2025 12:37 am Post subject: |
|
|
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 |
|
 |
|