LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-01-2006, 12:59 PM   #1
Thanotos
Member
 
Registered: Oct 2005
Location: Nanaimo, BC. ~CANADA~
Posts: 70

Rep: Reputation: 15
/tmp


I am in a bit of a pickle.

Running Slack 10.2 with KDE and have 5 users set up.
A couple of days ago I attempted to log my kids into their profile with no success. An error appeared explaining a problem with KDE and how it could not start. At the time I did not think of it, and was not bothered to attempt to troubleshoot.
Today (4 days later) I tried to sign into my user with a similar error from KDE say that the temp (/tmp) directory was full and could not load.
My first instinct told me to log into /root (which I did) and delete any files within /tmp. But it would seem that did not work.
I am still getting told that the /tmp directory is full and can not log into any user other than root.

Two questions:
1) what can I do to rectify my login issues
2) and is there a way to enlarge the /tmp directory without reinstalling?
 
Old 05-01-2006, 01:05 PM   #2
ledow
Member
 
Registered: Apr 2005
Location: UK
Distribution: Slackware 13.0
Posts: 241

Rep: Reputation: 34
One, did you delete HIDDEN files within /tmp

Two, what does "df -h" show, i.e. how much free space HAVE you got?

The chances are there's something taking up an awful lot of space and you just literally haven't got enough room in /tmp for everything that wants to use it - this is really strange as it rarely needs more than a few hundred megs. That probably means your hard disk is full up completely. Try deleting those MP3's and ISO's. :-)
 
Old 05-01-2006, 01:11 PM   #3
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 12,297

Rep: Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698
Did you upgrade your x11 to version 6.9.0 before this happened for first time? If so then it's due to a fault in the new x11 package. You can run:
Code:
chmod 4755 /usr/X11R6/bin/Xorg
to see if that solves your problem.
 
Old 05-01-2006, 02:00 PM   #4
tuxdev
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 2,014

Rep: Reputation: 115Reputation: 115
If you have enough RAM, you could use tmpfs. It will expand as neccessary as long as there is enough virtual memory, and clear out when you shut down as recommended by the FHS. Since it is in memory, it will be much faster than a disk based /tmp.
 
Old 05-01-2006, 02:01 PM   #5
d00bid00b
Member
 
Registered: Aug 2005
Location: London, UK
Distribution: Debian Testing
Posts: 157

Rep: Reputation: 31
bathory:

For my own info, what does running
Code:
chmod 4755 /usr/X11R6/bin/Xorg
do and how will this sort out the original problem?

Cheers
 
Old 05-02-2006, 03:08 AM   #6
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 12,297

Rep: Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698
There was a prob with the first x11-6.9.0 slack pagkage, that when you try to run X as normal user it could not create the necessary temp files to run. So perhaps that's the case here, since the thread starter can run X as root but not as normal user. With this command you turn the setuid bit on so you can run X as you were root.

Regards
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
kde, /tmp, /var/tmp and all that garba Linux - Software 4 06-17-2005 01:31 PM
Create file using 'touch ./tmp.$$', file tmp.3941 is created, why? huangyanfeng Linux - General 1 04-13-2004 04:36 AM
"/tmp/sv001.tmp/setup.bin" error while installing OO1.1.0 Choey Linux - Software 0 09-16-2003 05:52 PM
Numerous scb_*.tmp files in /tmp dburk Programming 3 08-18-2003 05:28 PM
Newbie question - /tmp /var/tmp Mr happy Linux - Security 3 01-27-2003 02:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:13 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration