You are not logged in.

#1 2015-12-09 01:26:58

svalmont
Member
From: Londonderry, NH
Registered: 2013-04-05
Posts: 81
Website

startx error: Can't create cookie

Arch boots to command line instead of my KDM login. When I type startx I get the error "Can't create cookie".

Offline

#2 2015-12-09 01:39:52

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: startx error: Can't create cookie

Please paste the full Xorg log...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2015-12-09 11:09:43

svalmont
Member
From: Londonderry, NH
Registered: 2013-04-05
Posts: 81
Website

Re: startx error: Can't create cookie

No new Xorg log is written.  My assumption is that it never finishes the xinitrc script and the error results from there. 
Here is my /etc/X11/xinit/xinitrc file.  None of those top 4 aliased files exist.  And in my /etc/X11/xinit/xinitrc.d/, I have 3 files: 40-libcanberra-gtk-module.sh, 50-systemd-user.sh, and 60-xdg-user-dirs.sh

#!/bin/sh

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then







    xrdb -merge $sysresources

fi

if [ -f $sysmodmap ]; then
    xmodmap $sysmodmap
fi

if [ -f "$userresources" ]; then







    xrdb -merge "$userresources"

fi

if [ -f "$usermodmap" ]; then
    xmodmap "$usermodmap"
fi

# start some nice programs

if [ -d /etc/X11/xinit/xinitrc.d ] ; then
 for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
  [ -x "$f" ] && . "$f"
 done
 unset f
fi

twm &
xclock -geometry 50x50-1+1 &
xterm -geometry 80x50+494+51 &
xterm -geometry 80x20+494-0 &
exec xterm -geometry 80x66+0+0 -name login

Last edited by svalmont (2015-12-09 11:23:01)

Offline

#4 2015-12-09 11:46:14

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,718
Website

Re: startx error: Can't create cookie

Is your root partition mounted read only?


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#5 2015-12-09 11:53:14

svalmont
Member
From: Londonderry, NH
Registered: 2013-04-05
Posts: 81
Website

Re: startx error: Can't create cookie

Solved: running lsmod | grep fglrx results in no output.
The problem isn't with xorg, it is in fglrx.

Offline

Board footer

Powered by FluxBB