You are not logged in.

#1 2019-10-12 12:14:27

Davy
Member
From: Ireland
Registered: 2016-05-31
Posts: 65
Website

[Solved] Xsession error.Trouble logging in after changes to partitions

Hi all.

I've gotten myself into a spot of trouble. I recently used the live cd to shrink an old unused partition down and expand my home partition right to fill the space. When I reboot into my system, I get the login screen, I login and then it gives me a little window popup thing which says

Xsession: warning: unable to write to /tmp; X session may exit with an error

I click "Okay" on the dialogue and then I get a black screen for a moment and then I'm back on the login screen.
I hop into another tty and check that /tmp is still there and unaffected and it seems fine. All those root folders are on a seperate drive, so I can't imagine why they'd be affected by the partitioning.

Any ideas how I should fix this? Has the xsession somehow lost permissions or something? The partition shifting seems to have gone well. I have all my important stuff backed up, but a brief scan through the filesystem and everything seems in order.

Thanks for reading this, in any case. I look forward to hearing back from you.

All the best,

Davy

Last edited by Davy (2019-10-12 21:25:49)

Offline

#2 2019-10-12 19:50:26

beaker
Unverified Muppet
Registered: 2016-03-06
Posts: 198

Re: [Solved] Xsession error.Trouble logging in after changes to partitions

Not sure about the error you are seeing but I believe you will need to adjust your fstab to match the now changed UUID for your home partition. Fstab is located in /etc and can be viewed in an editor i.e 'sudo nano /etc/fstab'. You can view your UUIDs with 'sudo blkid'. At the very least it's worth checking that these numbers are correct.

Offline

#3 2019-10-12 20:58:45

Davy
Member
From: Ireland
Registered: 2016-05-31
Posts: 65
Website

Re: [Solved] Xsession error.Trouble logging in after changes to partitions

I compared the UUID of what should be root in blkid and it was the same as what was said to be root in /etc/fstab

In any case, it's fixed now. I was double checking things in Gparted to see if I could spot anything weird and I noticed that my windows partition had the "boot" flag. I changed it to my root drive on a whim and tried to log in again and it worked.

I have absolutely no idea why it worked. I would have thought that the boot flag was to tell the bios where grub or the "master boot record" or whatever was, but that hadn't been an issue; the computer was booting into the usual grub screen and from there the usual login screen.

I think I've come to the comfortably hopeless and inevitable conclusion that I have no idea what I'm doing and that sometimes things just work out.

Mine not to question why.

Offline

#4 2019-10-12 21:40:50

deleted0
Guest

Re: [Solved] Xsession error.Trouble logging in after changes to partitions

I couldn't count how many time I took something apart that didn't work, found nothing, put it back together and it worked.

8bit

#5 2019-10-13 15:14:22

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,030

Re: [Solved] Xsession error.Trouble logging in after changes to partitions

Davy wrote:

I think I've come to the comfortably hopeless and inevitable conclusion that I have no idea what I'm doing and that sometimes things just work out.

Mine not to question why.

I do so love that!!!!


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#6 2019-10-14 06:01:12

ohnonot
...again
Registered: 2015-09-29
Posts: 5,592

Re: [Solved] Xsession error.Trouble logging in after changes to partitions

eight.bit.al wrote:

I couldn't count how many time I took something apart that didn't work, found nothing, put it back together and it worked.

Yep.
Also helps to blow on it.
big_smile
PS: eight.bit.al, I am seeing the weirdest thing under your post:
_________________________
Last edited by eight.bit.al (Tomorrow 7:01 pm)

yikes

Offline

#7 2019-10-14 10:10:05

deleted0
Guest

Re: [Solved] Xsession error.Trouble logging in after changes to partitions

ohnonot wrote:

PS: eight.bit.al, I am seeing the weirdest thing under your post:
_________________________
Last edited by eight.bit.al (Tomorrow 7:01 pm)

yikes

I wondered if/when anyone would notice.  wink

8bit

#8 2019-10-14 17:49:02

ohnonot
...again
Registered: 2015-09-29
Posts: 5,592

Re: [Solved] Xsession error.Trouble logging in after changes to partitions

huh. Now it says:

Last edited by eight.bit.al (Tomorrow 6:45 am)

How did it change? You jinxed the forum software?

Offline

#9 2019-10-14 19:25:17

deleted0
Guest

Re: [Solved] Xsession error.Trouble logging in after changes to partitions

I think I'll let the mystery linger for a while longer.

8bit

#10 2019-10-15 00:01:48

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,030

Re: [Solved] Xsession error.Trouble logging in after changes to partitions

You come from the future   big_smile


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#11 2019-10-15 19:47:57

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: [Solved] Xsession error.Trouble logging in after changes to partitions

It is very tempting to manually change the value in his profile, and mess with his head as well! ]:D

But that would be abuse-by-admin  :8


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#12 2019-10-15 20:06:47

deleted0
Guest

Re: [Solved] Xsession error.Trouble logging in after changes to partitions

I've been creative with signatures. Just getting started. smile

8bit

#13 2019-10-15 20:12:56

deleted0
Guest

Re: [Solved] Xsession error.Trouble logging in after changes to partitions

damo wrote:

It is very tempting to manually change the value in his profile, and mess with his head as well! ]:D

The first thing I would have checked is my sig setting, and I would have known the jig was up.  smile

8bit

Board footer

Powered by FluxBB