Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Mice and Keyboard don't work after startx
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
Pufikas
n00b
n00b


Joined: 23 Apr 2022
Posts: 20
Location: Lithuania

PostPosted: Sun Feb 05, 2023 4:00 pm    Post subject: [SOLVED] Mice and Keyboard don't work after startx Reply with quote

I'm still new at linux.

After starting the sddm with
Code:
 rc-update add xdm default
 /etc/init.d/xdm start


Everything works fine, but after getting to a login interface neither my mouse or keyboard work. I have already tried to ALT+CTRL+FX it works, but the xdm starts either way and then I am stuck again at the login ui.

How can I halt/pause the xdm from starting on boot so I can debug what's wrong?
What would fix my issue?

I'm running NVIDIA, kde plasma-meta, grub platforms efi-64.


Sincerely, Pufikas.


Last edited by Pufikas on Tue Feb 07, 2023 5:00 pm; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30959
Location: here

PostPosted: Sun Feb 05, 2023 4:49 pm    Post subject: Reply with quote

The xdm is no longer the correct init script to start the display manager.

-- edit --
Welcome to gentoo forum.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Pufikas
n00b
n00b


Joined: 23 Apr 2022
Posts: 20
Location: Lithuania

PostPosted: Tue Feb 07, 2023 9:03 am    Post subject: Reply with quote

Thanks!
This looks promising, how do I do that? I'm pretty much stuck on boot I go to the sddm/xdm login page that means my mice and keyboard don't work.
Do I need to boot via usb and make the changes?



Sincerely, Pufikas.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30959
Location: here

PostPosted: Tue Feb 07, 2023 9:44 am    Post subject: Reply with quote

Pufikas wrote:
Do I need to boot via usb and make the changes?

If you can't access to a text console you should boot from some media and make chroot in your gentoo installation.
But are you sure that problem is only in X?
Don't add the service to the default runlevel but leave it disabled so that from a text console you can do some testing.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Pufikas
n00b
n00b


Joined: 23 Apr 2022
Posts: 20
Location: Lithuania

PostPosted: Tue Feb 07, 2023 4:58 pm    Post subject: Reply with quote

It seems I managed to fix the issue by adding init=/bin/bash to gnu grub.
Then running mount -o remount,rw /and fixing the display manager with the link you provided.

Sincerely, Pufikas.
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