Ken Heard wrote:
Kent West wrote:
I suspect your /etc/X11/Xwrapper.config file is set to allow root only.
or better yet, do as the file says and run "dpkg-reconfigure x11-common"
and change the setting that way.
I ran dpkg-reconfigure x11-common. When the option to set allowed
users appeared, the option Console Users Only was highlighted; so I
assume that x11-common was already configured to that option. In any
event I hit Ok. Nice was set to 0; I changed it as you suggested, to -10.
I then shut the machine off and did a cold boot. No change; problem
persists.
I'd manually look in /etc/X11/Xwrapper.config to make sure it's right;
sometimes the dpkg-reconfigure routine doesn't "take". The three legal
options for that line, according to "man Xwrapper.config", are
"rootonly", "console", and "anybody". For most situations, you'd want
"console".
I logged in as my user and ran startx. It returned three lines:
xauth: creating new authority file /home/ken/.serverauth.3110
/etc/X11/X is not executable
xinit: Server error
What is the output of "ls -lh /etc/X11/X"?
[EMAIL PROTECTED]:/home/westk:> ls -lh /etc/X11/X
lrwxrwxrwx 1 root root 13 2006-04-28 12:11 /etc/X11/X -> /usr/bin/Xorg
(Yours will likely be slightly different.)
Then, what is the output of "ls -lh /usr/bin/Xorg"?
[EMAIL PROTECTED]:/home/westk:> ls -lh /usr/bin/Xorg
-rwxr-xr-x 1 root root 1.6M 2007-02-03 17:30 /usr/bin/Xorg
You will recall however that the sudden inability to run
the xserver occurred on my Sarge desktop the same day (Feb 7) as it
occurred on my laptop. So I will keep on this thread that particular
problem for both computers.
Sarge of course does not have X-common; so I ran dpkg-reconfigure
xfree86, which returned:
System startup links for /etc/init.d/xfree86-common already exist.
Setting up X server socket directory /tmp/.X11-unix...done.
Setting up ICE socket directory /tmp/.ICE-unix...done.
This brings to recollection a vague memory; seems like a year or two ago
there was a problem with permissions in one or more of the Debian
branches. What do these files look like?
[EMAIL PROTECTED]:/home/westk:> ls -lha /tmp
<snips>
drwxrwxrwt 2 root root 1.0K 2007-02-08 10:22 .ICE-unix
drwxrwxrwt 2 root root 1.0K 2007-02-08 10:21 .X11-unix
Also, what do the perms on your /tmp directory look like?
[EMAIL PROTECTED]:/home/westk:> ls -lhd /tmp
drwxrwxrwt 14 root root 4.0K 2007-02-13 17:18 /tmp
--
Kent West
http://kentwest.blogspot.com <http://kentwest.blogspot.com/>
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]