Re: X Authentication Problem
Kent West wrote:
I don't believe this will be the problem, but I'd look at
/etc/X11/Xwrapper.config, which probably should look like:
allowed_users=console
nice_value=-10
I would also try disabling kdm temporarily (sudo /etc/init.d/kdm stop)
and logging in as mythtv via "startx".
Thanks for the suggestion. My /etc/X11/Xwrapper.config is exactly the
same as what you posted. I have shut down kdm and tried "startx" as the
mythtv user several times, but it never works:
$ DISPLAY=:0.0 startx
X: user not authorized to run the X server, aborting.
giving up.
xinit: No such file or directory (errno 2): unable to connect to X server
xinit: No such process (errno 3): Server error.
Couldnt get a file descriptor referring to the console
I have tried it both with and without the "DISPLAY=:0.0" at the
beginning. Also, "startx" works as root.
I have been playing around with the ~/.Xauthority file, but to no avail.
I have added lines using /usr/bin/mcookie but it seems to generate
different keys each time and they never work. I also ran "xauth list"
as root and then used "xauth add" as the mythtv user to manually add
those keys. One thing that I have noticed is that it all of the
MIT-MAGIC-COOKIE-1 lines except the ones for localhost and
localhost.localdomain get removed from the file each time I start kdm.
Could this be a part of the problem?
Thanks,
Dave
--
Dave Parker
Utica College Department of
Integrated Information Technology Services
Data Processing Office
(315) 792-3229
Registered Linux User #408177
Reply to: