LinuxQuestions.org
Visit Jeremy's Blog.
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, 06: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 06:29 AM.
 
Old 11-01-2017, 08:00 AM   #2
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Location: Horgau, Germany
Distribution: Manjaro KDE, Win 10
Posts: 2,192

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, 03:02 AM   #3
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 12,533
Blog Entries: 9

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

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

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

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

Rep: Reputation: 1472Reputation: 1472Reputation: 1472Reputation: 1472Reputation: 1472Reputation: 1472Reputation: 1472Reputation: 1472Reputation: 1472Reputation: 1472
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, 10:57 AM   #7
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Linux From Scratch, Slackware64, Partedmagic
Posts: 2,724

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

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

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

All times are GMT -5. The time now is 07:48 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration