Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] gdm locked and X doesn't start as normal user
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
pingoo
Guru
Guru


Joined: 11 Jul 2006
Posts: 324

PostPosted: Sun Jun 02, 2013 9:47 am    Post subject: [solved] gdm locked and X doesn't start as normal user Reply with quote

Hi,
I had to reinstall the system from stage4 after a repair, on a new hard disk. First I had serious difficult to understand why at the begin the system didn't start (kernel panic - cannot open root device), at the end I discovered that I had to change the config because something had changed:
Code:
lshw before:
       *-isa
             description: ISA bridge
             product: HM65 Express Chipset Family LPC Controller
             vendor: Intel Corporation
             physical id: 1f
             bus info: pci@0000:00:1f.0
             version: 04
             width: 32 bits
             clock: 33MHz
             capabilities: isa bus_master cap_list
             configuration: latency=0
        *-storage
>>             description: SATA controller
>>             product: 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller
             vendor: Intel Corporation
             physical id: 1f.2
             bus info: pci@0000:00:1f.2
             version: 04
             width: 32 bits
             clock: 66MHz
             capabilities: storage msi pm ahci_1.0 bus_master cap_list
>>             configuration: driver=ahci latency=0
             resources: irq:41 ioport:4088(size=8) ioport:4094(size=4) ioport:4080(size=8) ioport:4090(size=4) ioport:4060(size=32) memory:d1708000-d17087ff

Code:
lshw after:
        *-isa
             description: ISA bridge
             product: HM65 Express Chipset Family LPC Controller
             vendor: Intel Corporation
             physical id: 1f
             bus info: pci@0000:00:1f.0
             version: 04
             width: 32 bits
             clock: 33MHz
             capabilities: isa bus_master cap_list
>>             configuration: driver=lpc_ich latency=0
             resources: irq:0
        *-ide:0
>>             description: IDE interface
>>             product: 6 Series/C200 Series Chipset Family 4 port SATA IDE Controller
             vendor: Intel Corporation
             physical id: 1f.2
             bus info: pci@0000:00:1f.2
             version: 04
             width: 32 bits
             clock: 66MHz
             capabilities: ide pm bus_master cap_list
>>             configuration: driver=ata_piix latency=0
             resources: irq:19 ioport:1f0(size=8) ioport:3f6 ioport:170(size=8) ioport:376 ioport:4090(size=16) ioport:4080(size=16)

But the disk is the same (?)
Code:
     *-scsi
          physical id: 0
          logical name: scsi0
          capabilities: emulated
        *-disk
             description: ATA Disk
             product: ST320LT020-9YG14

I don't understand what changed (the cable?) and if it's better now...
EDIT: I think they changed the option in the bios, now I selected the AHCI option and is as was before... (but another "OS" didn't appreciate the switch)

But now I had problem with gdm that starts but is locked, just the waiting cursor appears. I stopped gdm and tried startx as normal user but I got the message:
Code:
xauth: file /home/<user>/.serverauth.20440 does not exist
Fatal server error: cannot move old file "/var/log/Xorg.1.log" to "/var/log/Xorg.1.log.old"
(EE)

If I exec startx as root, it starts without problem. Some info:
Code:
 $ groups <user>
wheel audio video usb users plugdev <user>

Code:
# mount
rootfs on / type rootfs (rw)
/dev/sda6 on / type ext4 (rw,noatime,data=ordered)    << no nosuid
proc on /proc type proc (rw,relatime)
tmpfs on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=10240k,nr_inodes=494669,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620)
shm on /dev/shm type devtmpfs (rw,nosuid,nodev,noexec,relatime,size=10240k,nr_inodes=494669,mode=755)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
cgroup_root on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,relatime,size=10240k,mode=755)
openrc on /sys/fs/cgroup/openrc type cgroup (rw,nosuid,nodev,noexec,relatime,release_agent=/lib64/rc/sh/cgroup-release-agent.sh,name=openrc)
cpuset on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cpu on /sys/fs/cgroup/cpu type cgroup (rw,nosuid,nodev,noexec,relatime,cpu)
cpuacct on /sys/fs/cgroup/cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpuacct)
freezer on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
/dev/sda7 on /home type ext4 (rw,noatime)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nodev,noexec,nosuid)
/dev/sda5 on /root/TMP type ext4 (rw)

Code:
 $ cat /etc/fstab
# /etc/fstab: static file system information.
# <fs>                  <mountpoint>    <type>          <opts>          <dump/pass>
/dev/sda6               /               ext4            noatime         0 1
/dev/sda7               /home           ext4            noatime         0 1

proc        /proc        proc    defaults             0 0
shm         /dev/shm     devtmpfs   nodev,nosuid,noexec  0 0

What can I check/do?

EDIT: the problem was solved removing polkit, recompiling with revdep-rebuil and recompiling xinit
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