Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
keyboard and mouse not working in xfce4 for non-root[solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Adel Ahmed
Veteran
Veteran


Joined: 21 Sep 2012
Posts: 1158

PostPosted: Wed Nov 30, 2016 5:23 pm    Post subject: keyboard and mouse not working in xfce4 for non-root[solved] Reply with quote

So far I'm starting my xfce session using startx
keyboard and mouse are working fine as the root user, but not as a regular user
the regular user is part of:
localhost ~ # id adel
uid=1000(adel) gid=1000(adel) groups=1000(adel),19(cdrom),27(video),80(cdrw),85(usb)


thanks


Last edited by Adel Ahmed on Thu Dec 01, 2016 11:15 am; edited 1 time in total
Back to top
View user's profile Send private message
Tony0945
Advocate
Advocate


Joined: 25 Jul 2006
Posts: 2883
Location: Illinois, USA

PostPosted: Wed Nov 30, 2016 6:34 pm    Post subject: Reply with quote

Perhaps "users" group?

Code:
 $ id tony
uid=1002(tony) gid=1002(tony) groups=1002(tony),5(tty),7(lp),10(wheel),18(audio),19(cdrom),26(tape),27(video),80(cdrw),85(usb),100(users),250(portage),120(locate),999(plugdev),16(cron),1004(git)


And here's a usr that can log on to the GUI, play music, watch videos, print homework, surf the net, but not allowed to ever do anything system level
Code:
$ id jacob
uid=1000(jacob) gid=1000(jacob) groups=1000(jacob),5(tty),7(lp),18(audio),19(cdrom),26(tape),27(video),80(cdrw),85(usb),100(users)

And yet another.
Code:
$ id cindy
uid=1001(cindy) gid=1001(cindy) groups=1001(cindy),7(lp),18(audio),19(cdrom),26(tape),27(video),80(cdrw),85(usb),100(users)

"users" seems to be the common thread that I didn't see in yours.
Back to top
View user's profile Send private message
Adel Ahmed
Veteran
Veteran


Joined: 21 Sep 2012
Posts: 1158

PostPosted: Thu Dec 01, 2016 7:33 am    Post subject: Reply with quote

I don't think this is a group issue any longer:
uid=1000(adel) gid=1000(adel) groups=1000(adel),5(tty),7(lp),10(wheel),18(audio),19(cdrom),26(tape),27(video),80(cdrw),85(usb),100(users)

and still the same result :(
Back to top
View user's profile Send private message
Adel Ahmed
Veteran
Veteran


Joined: 21 Sep 2012
Posts: 1158

PostPosted: Thu Dec 01, 2016 8:10 am    Post subject: Reply with quote

I've emerged twm, seems the problem lies within Xorg, because then again as a regular use I'm unable to use the keyboard and mouse(ctrl shift f2 does not work either)
Back to top
View user's profile Send private message
Tony0945
Advocate
Advocate


Joined: 25 Jul 2006
Posts: 2883
Location: Illinois, USA

PostPosted: Thu Dec 01, 2016 10:03 am    Post subject: Reply with quote

Pastebin and post the contents of /var/log/Xorg.0.log immediately after an unsuccessful user attempt. Pastebin it before any other GUI login attempt.
Back to top
View user's profile Send private message
Adel Ahmed
Veteran
Veteran


Joined: 21 Sep 2012
Posts: 1158

PostPosted: Thu Dec 01, 2016 10:29 am    Post subject: Reply with quote

that's a good idea, here it is:
http://pastebin.com/FJxQyRqM
Back to top
View user's profile Send private message
Tony0945
Advocate
Advocate


Joined: 25 Jul 2006
Posts: 2883
Location: Illinois, USA

PostPosted: Thu Dec 01, 2016 5:03 pm    Post subject: Reply with quote

Code:
 (EE) systemd-logind: failed to get session: PID 2049 does not belong to any known session


Didn't realize this was systemd. Sorry I responded. I hope someone else will help you.
Back to top
View user's profile Send private message
Adel Ahmed
Veteran
Veteran


Joined: 21 Sep 2012
Posts: 1158

PostPosted: Thu Dec 01, 2016 5:20 pm    Post subject: Reply with quote

solved the problem by addaing the user to the input group
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