LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 10-05-2004, 10:32 AM   #16
gsk
LQ Newbie
 
Registered: Oct 2004
Posts: 12

Original Poster
Rep: Reputation: 0

Quote:
Originally posted by quatsch
the user's x-related files are those hidden files starting with .x and .X. Well not all since there are things like .xine. I have
.xinitrc
.xsession
.Xauthority
.Xdefaults
.Xresources

They can be deleted or backed-up to another place w/o problem since X will replace them with the defaults if not found.

I'm wondering if it's your window/desktop manager that's acting up - if the wm/dm exits, X will exit as well (in general, if the last thing that gets started during X startup exits, X exits with it).

You can start just X with an xterm with
startx /usr/X11R6/bin/xterm
maybe this works?
AHHH...I think you are getting somewhere now... starting xterm works! Ugly...but it works.

So you know...I use gnome 2.6 as a dm.
 
Old 10-05-2004, 10:46 AM   #17
gsk
LQ Newbie
 
Registered: Oct 2004
Posts: 12

Original Poster
Rep: Reputation: 0
Okay,...

So I start GDM and try and log in from there...but It doesn't work either...BUT it does give me more information. It points me to the .xsession-errors file. Wish I had know that before!!!


Code:
soinvlaptop1:~# cat /home/poldervc/.xsession-errors
/etc/gdm/PreSession/Default: Registering your session with wtmp and utmp
/etc/gdm/PreSession/Default: running: /usr/bin/X11/sessreg -a -w /var/log/wtmp -u /var/run/utmp -x "/var/lib/gdm/:0.Xservers" -h "" -l ":0" "poldervc"
/etc/gdm/Xsession: Beginning session setup...

** (gnome-session:3220): WARNING **: Unable to read ICE authority file: /home/poldervc/.ICEauthority
I checked the permissions on .ICEauthority , and it was
Code:
-rw-------   1 root     root         13143 Oct  5 09:36 .ICEauthority
Should this be set to different permissions....I'll change it and see....
 
Old 10-05-2004, 10:50 AM   #18
gsk
LQ Newbie
 
Registered: Oct 2004
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by gsk
Should this be set to different permissions....I'll change it and see....
I'M IN!!!!!

I chmod'd the .ICEauthority file to 777...and bada-bing....I am back in X under my user. Somehow down the line something must have changed it's permissions to only allow root to read it, so my user account was dead.

Thanks quatsch and gibiman for your help. It turns out it was a permission thing like every one suspected...but finding out what file was the trick.

Now I know to check .xsession-errors if I ever have another problem. I can't believe this information didn't come up somewhere before.

THANKS AGAIN!!!!

P.S. Interestingly enough...the original font warnings I posted had nothing to do with the problem.

Last edited by gsk; 10-05-2004 at 10:52 AM.
 
Old 10-05-2004, 11:22 AM   #19
ekman
Member
 
Registered: Apr 2004
Location: Sweden
Posts: 41

Rep: Reputation: 15
Note that many X-files (files belonging to X-windows that is :-)
must have the "suid" bit set. For instance;
ls -l /share/usr/X11R6/bin/XFree86
-rws-wx--x 1 root root 1838036 Apr 4 2004 /share/usr/X11R6/bin/XFree86

Note the "s" in the access rights. Check this and add if necessary with; chmod +s (some file)

NOTE: the "suid" bit makes is possible for ordinary users to run
a program as "root", which is necessary for "X", but do not
misuse it because it is a huge security risk.
 
Old 10-06-2004, 01:25 AM   #20
gibiman
LQ Newbie
 
Registered: Aug 2004
Location: -
Posts: 16

Rep: Reputation: 0
Sorry i did not want to post anything

I just do not know how to delete

Last edited by gibiman; 10-06-2004 at 02:18 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
cdparanoia works as root but not as user arubin Linux - Software 8 11-21-2004 02:37 PM
XMMS Works for root, not for user JazzMastaJim Suse/Novell 6 11-20-2004 09:59 PM
Sound works as root but not as user? n0x Linux - Hardware 2 09-11-2004 07:27 AM
X only works with root user joe83 Slackware 14 09-06-2004 08:17 AM
IntelliMouse thumb buttons work as root, broken as non-root user, wheel works always digital vortex Linux - Hardware 7 03-02-2004 04:14 PM


All times are GMT -5. The time now is 03:59 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration