LinuxQuestions.org
Help answer threads with 0 replies.
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 03-15-2017, 08:11 AM   #1
LifeForce
LQ Newbie
 
Registered: Mar 2017
Posts: 2

Rep: Reputation: Disabled
Problem with Xsession because of low disk space of base-linux partition.


Hello to you all.I am a newbie and i love the way linuxs' philosophy works.I know i have seen , if not exactly , the same question but i would like to ask more on this matter.

I tried to install netbeans and uninstall rosegarden at the same time (while netbeans was been downloaded).There was an error due to low disk space.Rosegarden could not be uninstalled and i tried again and again.Cinnamon crashed and i could not loggin because of low disk space and xsession errors.I tried by shell to clean and autoclean but could not free some disk space to even login and clear more thing after.I had luck because of a clean script i had and i used it by shell.
Could not login again but the disk space error was not the issue this time.Something with the xsession and some variables on files which changed from true to false (or something like that).I installed cinnamon again and everything went smoothly.

I am trying to find out why this happened from a technical-root-OS perspective.

1.What is mdm logs
2.What is an xsession file
3.When i try to login the kernel writes something on a config or log file that needs space and that is why i could not login?
4.Or is it programmed by default to not login to GUI when there is not enough space , for lets say "security issues"?

I ask these questions here because i cannot find articles thet help me understand (have in mind although that maybe i am searching the wrong way due to newbie ignorance).

Thank you!
 
Old 03-15-2017, 01:40 PM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 13,422
Blog Entries: 9

Rep: Reputation: 3668Reputation: 3668Reputation: 3668Reputation: 3668Reputation: 3668Reputation: 3668Reputation: 3668Reputation: 3668Reputation: 3668Reputation: 3668Reputation: 3668
your disk is full?
it can wreak all sorts of havoc, but it should go away once you fix the issue - that is, freeing disk space.
yes, it's possible your system got "stuck" and you have to do that - freeing space - manually.
 
Old 03-16-2017, 04:27 AM   #3
aragorn2101
Member
 
Registered: Dec 2012
Location: Mauritius
Distribution: Slackware
Posts: 552

Rep: Reputation: 271Reputation: 271Reputation: 271
Hi,

Welcome to LQ, it is good to have a probing mind.

When your system boots, it always uses some space on disk to store logs. Log files are very important since if anything happens on the system it will be in the logs, so you can track any problem/errors. Check out the files in /var/log/.

MDM is Mint Display Manager, so mdm logs will be logging any activity as from the display manager starts. There are all sorts of them, e.g. https://wiki.manjaro.org/index.php/I...splay_Managers

The X session is when the GUI part of the Linux distro kicks in. The program behind is usually known as Xorg and logs concerning this are called Xorg.0.log. The xsession file usually ~/.xsession is a script which tells the system which application is responsible to manage the X session.

Yes, when you try to login some content gets written down in some log. But it is not necessarily the kernel which does that. It can be the desktop manager itself. No, it is not programmed to deny login due to lack of space. It is just that, lack of space is like you do not have enough oxygen to breath or enough space around you to move. The system does cannot write something it needs to, so crashes.

I will just advise that you always check the amount of free space on your root filesystem before starting any install/upgrade/uninstall. Look around for the recommended disk spacing for your distro to work correctly.

Cheers
 
1 members found this post helpful.
Old 03-16-2017, 09:24 PM   #4
X-LFS-2010
Member
 
Registered: Apr 2016
Posts: 423

Rep: Reputation: Disabled
Hello to you all.I am a newbie and i love the way linuxs' philosophy works.I know i have seen , if not exactly , the same question but i would like to ask more on this matter.

I tried to install netbeans and uninstall rosegarden at the same time (while netbeans was been downloaded).There was an error due to low disk space.Rosegarden could not be uninstalled and i tried again and again.Cinnamon crashed and i could not loggin because of low disk space and xsession errors.I tried by shell to clean and autoclean but could not free some disk space to even login and clear more thing after.I had luck because of a clean script i had and i used it by shell.
Could not login again but the disk space error was not the issue this time.Something with the xsession and some variables on files which changed from true to false (or something like that).I installed cinnamon again and everything went smoothly.

DO your self a favor...

#1 realize newbies have to re-install from scratch unless they keep backups of the whole system (i assume you back up your personal files to USB>). it's typical for a newbie to do, since they don't yet know how to fix things. same on any OS.

#2 don't be so cheap - run your new linux on a laptop or PC that actually have enough disc space !! look at the "System Requirements" and do follow them (there's also an HCL, "hardware compatibility list")

NOTE: being a newbie you'll LIKELY regret whatever you choose to run linux on unless you ask around a while and get a consensus on what the "best is". otherwise after some time you'll want to make changes: so don't over-do it.

I am trying to find out why this happened from a technical-root-OS perspective.

1.What is mdm logs

either modem logs or for raid disk usage: depends when you were born

2.What is an xsession file

you have to read the documentation of the original "xdm(1)" (in xfree86 4.8.0 is fine) or in "xdm-options"

however it doesn't matter: your (linux) distro vendor will have hacked it (improperly, and it may or may not be in active use either) so answering the question is impossible without your posting what is in it

the answer to you is: don't use it, log into X visually as they instructed you to

3.When i try to login the kernel writes something on a config or log file that needs space and that is why i could not login?
4.Or is it programmed by default to not login to GUI when there is not enough space , for lets say "security issues"?

a common cause of this problem is that the drive it wants to write to is not mounted yet. however i'm unsure how you could have ended up with that kind of install - the "default install" for your OS should not have ended up with that problem EVER (if it did: switch to a different linux distribution, your leg is getting pulled)

I ask these questions here because i cannot find articles thet help me understand (have in mind although that maybe i am searching the wrong way due to newbie ignorance).

Thank you!
 
Old 03-17-2017, 03:46 AM   #5
LifeForce
LQ Newbie
 
Registered: Mar 2017
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thank you very much for your help.I will be able to understand more now about the philosophy behind this operating system.
 
  


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
Low disk space problem rjvcrisen0 Linux - Hardware 4 07-22-2007 08:55 AM
Getting low on Windows disk space...need partition resizing help. phekno General 12 04-03-2006 02:29 PM
Low disk space problem Maverick1182 Linux - Newbie 3 08-07-2005 05:14 AM
Low disk space, problem deleting files gtzpower Linux - Software 1 05-24-2005 10:57 PM

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

All times are GMT -5. The time now is 05:42 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