Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Thinkpad T420 Cannot startx
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Wed Sep 28, 2011 1:54 pm    Post subject: Reply with quote

You should not add your user to root group, add it to wheel group instead. However, you do not need to be root to post your Xorg log with wgetpaste.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
RazielFMX
l33t
l33t


Joined: 23 Apr 2005
Posts: 835
Location: NY, USA

PostPosted: Wed Sep 28, 2011 1:57 pm    Post subject: Reply with quote

You do not need to be in the root group, you need to be in the wheel group. You should probably have your primary user in the following groups:

Code:
wheel floppy audio cdrom video usb users portage plugdev


Did you follow the Gentoo guides?

Xorg: http://www.gentoo.org/doc/en/xorg-config.xml
Basic System Setup (amd64 as an example): http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?full=1
Specific section in above document relating to users: http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?full=1#book_part1_chap11

EDIT: Jag beat me to the group answer while I was looking for doc links :D
Back to top
View user's profile Send private message
tianqingfei
n00b
n00b


Joined: 11 Sep 2011
Posts: 14

PostPosted: Thu Sep 29, 2011 1:13 am    Post subject: Reply with quote

RazielFMX wrote:
As has been stated several times, get rid of your Xorg.conf file. You do not need it. Do not use Xorg -configure, it will break your system with modern xorg.

In your make.conf, replace your input devices with this:

Code:
INPUT_DEVICES="evdev"


You need to emerge x11-drivers/xf86-input-evdev.

Make sure you have EVDEV support in your kernel.

Code:
nightshade ~ $ grep -i evdev /usr/src/linux/.config
CONFIG_INPUT_EVDEV=m
nightshade ~ $


And make sure its loaded on boot (assuming you are using openrc):

Code:
nightshade ~ $ grep evdev /etc/conf.d/modules
modules_2_6="${modules_2_6} evdev"
module_evdev_args_2_6=""
nightshade ~ $


Also, please make sure your kernel is set up like described here:

http://www.gentoo.org/doc/en/xorg-config.xml


Maybe I didn't show clearly. Currently, I set my bios to use Nvidia graphic card only.
So I don't think I need to load intel's driver.

I did follow the handbook said, except the .config file to the kernel.
I use the kernel config from http://www.thinkwiki.org/wiki/Installing_Gentoo_on_a_ThinkPad_T420
and use make ARCH='x86_64' to make sure it's a configure file for amd64.

Thank you for your advice about evdev setting and user group setting. I'll have a try this night. I'm in Beijing, China.

Glad to meet you if we have chance.
Back to top
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 2158
Location: Berlin, Germany

PostPosted: Sat Oct 01, 2011 11:38 am    Post subject: Reply with quote

su uses the wheel group, as described in the handbook http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?part=1&chap=11

Don't confuse it with sudo, which uses the admin group on some configurations.

Also, adding a user to the root group is a security risk.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
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