Tadek wrote:
Kent West <[EMAIL PROTECTED]> wrote in messageAs Luiso, part of the problem may be in your permissions for /tmp. Here's what mine looks like:
Tadek wrote:
I encountered following problem (using debian sarge):Shell out of the graphical login manager (Ctrl-Alt-F2 should do it) and log in as a normal user there. Then shut down your login manager (with something like "sudo /etc/init.d/kdm stop", replacing "sudo" with whatever method you use to perform this function as root, and replacing "kdm" with the name of whatever login manager you're using, almost certainly kdm, wdm, gdm or xdm). Then try starting X with "startx" (as the normal user).
- after installing k3b (apt-get), opera (dpkg from opera for sarge)
and adobe reader in this order, I can not x login as ordinary user; I
can still X login as a root; kde and gnome behave the same. When I
enter user name and password in x client login dialog, screen blanks
for second or two, X grey screen appears with X cursor and login
dialog appears again.
Error output:
/usr/bin/X11/startx: line 132: cannot create temp file for here document: Permission denied /usr/bin/X11/startx: line 132: cannot create temp file for here document: Permission denied
[EMAIL PROTECTED]:/home/westk> ls -ld /tmp drwxrwxrwt 14 root root 7168 Jun 20 10:17 /tmp
So if your /tmp permissions are different, you might need to run "chmod 1777 /tmp" asLuiso says in order to fix the permissions, and maybe "chown root.root /tmp".
X: unable to open wrapper config file /etc/X11/Xwrapper.config
This is odd. This file should be there and should be readable.
X: user not authorized to run the X server, aborting.
giving up.
Because the Xwrapper.config file isn't found.
icewm is a lightweight window manager; you could have just as easily used any window manager, such as fluxbox or wmaker, or even just "xterm" if you don't want a window manager at all but want an xterm, or "mozilla-firefox" for a "kiosk" mode, etc.xinit: No such file or directory (errno 2): unable to connect to X server xinit: No such process (errno 3): unexpected signal 2.
Does it work?
Yes - then something's wrong with the login manager's setup.
No - then try creating a "~/.xinitrc" file and putting the single line of "icewm" in it, and make sure icewm is installed (sudo apt-get install icewm). Now try "startx".
Doesn't work. Same error output as above. BTW what does icewm do?
Does it work?
Yes - then something is wrong with your normal window manager / desktop environment (KDE)?
No - then something's wrong with X itself.
<>I noticed earlier that Xwrapper.config was missing (I found posted message with reference to this file).
Wow. What has happened to your system?!
So it appears to be a problem with X itself, not with KDE.
I'd start by replacing the Xwrapper.config file.
The apt-file tool will help you find which package owns that file. So I did "apt-get install apt-file", followed by "apt-file update" to update the package list, then "apt-file search Xwrapper.config", to discover that this file is in the "xserver-common" package. So I'd start by reinstalling that package:
apt-get --reinstall install xserver-common
-- Kent
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

