• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

X.Org fails to start: Cannot write to /tmp

OSX

Senior member
When I try to run X.Org, on my Debian box (etch), under kernel 2.6.8-2 and X.Org 6.8, I get an error message that says: Error:Unable to write to /tmp: X Session may exit with an error. I only get this message when starting X.Org as a regular user account.
 
how are you starting x
x works as root?
what are the permissions on /temp
do you have the appropriate .xsession type stuff in your home folder
have you tried (as root) starting something like gdm or kdm and then logging in as a reqular user?
 
X automatically starts upon boot.
/tmp is drwxrwxrwt
X will start as root and run perfectly.
XDM starts normally when I boot the computer. If I login as root, XFCE starts normally. If I login as a regular user, then I get the error message and I go back to the login screen.

Also, apparantly .xsession is a new file. I only have .xsession-errors.
 
startx as non-root from the command line returns the same error, touch /tmp/test doesn't return anything either, and the problem still persists. How do I tell if /tmp is full?
 
df -h should tell you the free space and other information about your partitions.
If touch /tmp/test returned nothing it probably worked just fine (ls /tmp/test should confirm it).

What's on the line or two above the error in the Xorg log file?
 
Okay.

df -h returns

Filesystem size used avail use mounted on
/dev/hda1 1.2G 1.1G 0 100% /
tmpfs 94M 0 94M 0% /dev/shm
/dev/hda6 2.6G 205M 2.3G 9% /home

ls /tmp/test
returns /tmp/test

The error doesn't show up under the XOrg logfile.
 
Filesystem size used avail use mounted on
/dev/hda1 1.2G 1.1G 0 100% /

That can't be good. Especially since whoever set that machine up didn't partition it very well. 😛
 
Originally posted by: OSX
Looks like some format/reinstall funtime.
That'd be the easy way, but if you've got spare space right now (and I'm guessing you do unless that's a really small hard drive), you could probably manage to make another partition, move /usr onto it and then free up that space on / .
 
It's a 4GB Drive, so no. Though I've got a friend with a spare 10GB SCSI drive laying around.
 
Then you probably want to go with all one partition next time (unless you know exactly how much space you'll need for each item you want to seperate).
 
Back
Top