LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-01-2017, 07:28 AM   #1
AvalanchePlus53
LQ Newbie
 
Registered: Nov 2017
Posts: 1

Rep: Reputation: Disabled
Xsession: warning: unable to write to /tmp


After installing linux mint I get this
"Xsession: warning: unable to write to /tmp: X session may exit with an error"

Last edited by AvalanchePlus53; 11-01-2017 at 07:29 AM.
 
Old 11-01-2017, 09:00 AM   #2
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Location: Horgau, Germany
Distribution: Manjaro KDE, Win 10
Posts: 2,197

Rep: Reputation: 164Reputation: 164
Then
1. Xession has not enough permission to write to /tmp
2. The permissions of /tmp are set wrong.
 
Old 11-02-2017, 04:02 AM   #3
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 18,414
Blog Entries: 12

Rep: Reputation: 5626Reputation: 5626Reputation: 5626Reputation: 5626Reputation: 5626Reputation: 5626Reputation: 5626Reputation: 5626Reputation: 5626Reputation: 5626Reputation: 5626
3. /tmp is not large enough/ full?
4. /tmp doesn't exist?

ouput of
Code:
mount
please.
 
Old 11-02-2017, 01:46 PM   #4
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Location: Horgau, Germany
Distribution: Manjaro KDE, Win 10
Posts: 2,197

Rep: Reputation: 164Reputation: 164
Please post /etc/fstab (post above)
 
Old 11-02-2017, 08:22 PM   #5
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Linux From Scratch, Slackware64, Partedmagic
Posts: 2,980

Rep: Reputation: 803Reputation: 803Reputation: 803Reputation: 803Reputation: 803Reputation: 803Reputation: 803
Code:
sudo chmod 777 /tmp
 
Old 11-06-2017, 09:36 AM   #6
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
Quote:
Originally Posted by Keith Hedger View Post
Code:
sudo chmod 777 /tmp
/tmp needs more than that for security. 1777 is better as the sticky bit prevents users from removing files belonging to other users.
 
Old 11-06-2017, 11:57 AM   #7
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Linux From Scratch, Slackware64, Partedmagic
Posts: 2,980

Rep: Reputation: 803Reputation: 803Reputation: 803Reputation: 803Reputation: 803Reputation: 803Reputation: 803
only me on this system so it dont matter but point taken
 
Old 11-07-2017, 04:14 PM   #8
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
Quote:
Originally Posted by Keith Hedger View Post
only me on this system so it dont matter but point taken
It also applies to separation of the system from you...

It is just an added layer of security.
 
  


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
Xsession:warning:unable to write /tmp;X session may exit with an error harif.konndeth Linux - Newbie 2 09-15-2010 08:44 AM
[SOLVED] Xsession: warning: unable to write to /tmp Mark_667 Ubuntu 17 01-12-2010 04:03 PM
Xsession:warning:unable to write to /tmp;X session may exit with an error gabsik Linux - Desktop 9 05-31-2007 10:51 PM
Xsession cannot write to /tmp flebber Ubuntu 5 05-03-2006 01:26 AM
Xsession: warning: unable to write to /tmp whatpot Linux - Newbie 2 11-04-2005 10:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:44 AM.

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
Open Source Consulting | Domain Registration