Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-24-2004, 04:55 AM   #1
Registered: Aug 2003
Posts: 31

Rep: Reputation: 15
Can't Open My X Session

Yesterday when I was doing my job, the electrics shutdown suddenly and my computer was shutdown. After that I began experiencing problems. The main problem was that X server couldn't open because it couldn't open unix:7100 (or something like that) so it can't render fonts.. it said it can't find font fixed etc.. so i disabled this option in XF86Config file.. Now X Window is working and I don't see any view change in fonts.

Another problem is that I can't login my session in X Windows... Here what is says: (I got it in .xsession-errors file..

/etc/X11/gdm/PreSession/Default: Registering your session with wtmp and utmp
/etc/X11/gdm/PreSession/Default: running: /usr/bin/X11/sessreg -a -w /var/log/wtmp -u /var/run/utmp -x "/var/gdm/:0.Xservers" -h "" -l ":0" "tunix"
mkdtemp: private socket dir: Permission denied

What can I do ? I can login via the root account to X... I don't want to re-install the whole Fedora distribution because it's very difficult to update all those packages again. (my connection is slow these days )

Waiting for coming suggestions... Thanx..
Old 03-24-2004, 06:39 PM   #2
LQ Guru
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,734

Rep: Reputation: 262Reputation: 262Reputation: 262
When you rebooted after the crash did you run fsck?

Be prepared. Create a LifeBoat CD.

Steve Stites
Old 03-28-2004, 04:59 PM   #3
Registered: Aug 2003
Posts: 31

Original Poster
Rep: Reputation: 15
I restored my files in my home directory, then recreated the user but it didn't work. Also as I said before I had problems with X.. I removed the unix://7100 line than it worked but I want my Fedora box fully work.. So I re-installed everything.. I hope everytime when the electricity goes, my box still works.. (
Old 04-04-2004, 04:54 PM   #4
Registered: Mar 2004
Distribution: Debian Sarge
Posts: 169

Rep: Reputation: 30
I had the exact same thing happen to me. I just used apt-get (i'm on debian) to remove and re-install kdm and xdm.
Old 08-02-2005, 03:31 PM   #5
LQ Newbie
Registered: Aug 2003
Location: Portugal
Distribution: Debian
Posts: 16

Rep: Reputation: 0
Try checking permissions on /tmp directory.

# ls -ld /tmp

The right ones should be:
drwxrwxrwt 10 root root 376 Apr 22 06:01 /tmp

Try changing permissions (the 1 is for t, sticky bit)

# chmod 1777 /tmp



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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
could not open session bigcc Linux - General 7 04-15-2004 07:40 AM
Cannot open X session spid Linux - General 4 01-28-2004 02:14 PM
could not open session Frankie Linux - Newbie 1 12-01-2003 09:47 AM
How to open several Session X bart59 Linux - General 13 05-23-2003 12:45 PM
could not open session czech Linux - General 0 08-29-2002 06:49 PM

All times are GMT -5. The time now is 05:46 AM.

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