Doorgaan naar hoofdcontent

Failed to load session "gnome" and how to fix it on Ubuntu

It has been far too long since I wrote something on my blog.
I have been writing on another site : http://blog.wisclub.nl/#home about my CNC machine, and about the mcHF transceiver I am building.

Today I ran into a little problem after updating some packages on my Ubuntu 12.10 VM. (I know this is very old, but I have no choice since a vendor supplied a gcc/uclib toolchain for a specific product exactly on this version of Linux)

However, my X did not start anymore, I got "Failed to load session gnome".

After some digging I realized what had happened, the default X session was set to gnome (which is not really installed) instead of my normal XFCE4 session.

If you know what the problem is, the fix is easy :

$ sudo update-alternatives --config x-session-manager

Then select the correct session manager.


I hope this helps someone from having to search a long time.
Until next time.




Reacties

Populaire posts van deze blog

Denon DHT T100 DESIGNED TO FAIL : bad caps (ceramic caps this time)

A friend gave me a Denon DHT-T100 to look at. Do not spend much time on it.. ok. It had a problem, it started clicking and ticking after power on, and after some time. (a so called intermittent problem) Sometimes it did not tick or click, but it was basically not usable. The clicking had a sharp click in one channel and repeated after about a second, then sound recovered and it would click and drop out again. He told me, do not spend any time on it, yeah, right. ;-) like I would give up after 15 minutes. I wanted to know what was going on with this thing, I found some schematic online and started measuring the usual things. The power supply, 24V did it drop down when a tick occurred ? Difficult to find out because sometimes the thing would play for hours without a glitch. I eventually found out the 24 V PSU, the step down SMPS on board and the LDO's were all ok, all power rails remained within spec, but it still glitched sometimes. (while power was ok) I investigat

Fixed voltage on cheap buck converter (MP1584) conversion with single 0805 resistor

Everywhere I look on the Ali and Ebays I see these step down converters based on MP1584. I bought a couple and actually they are not bad at all. The output voltage is set by the trimming-resistor in the left top corner of the picture. This works OK, but.. it is dangerous because it is rather sensitive to the touch. I decided that I wanted fixed output, so I had to figure out how this thing worked. The datasheet looks like this : R1 in the datasheet is what I call "R feedback" in my image. The value of R2 is mostly 8.2K Ohm in the boards I have seen.  So to set some common values for output voltage: change R1 to 27K for 3V3 output (actually 3.4 volt, but 27K is a standard value) or change R1 to 43K0 for 5.0 Volt output. (43 K is a standard value) A standard 0805 size resistor fits precisely, how convenient ;-). Make sure the other resistor is really 8.2K because that determines the feedback ratio. This way you can not burn up your circ

Laptop repair (MSI 1035 OEM) saved money again

Today I repaired my laptop. It was not working anymore, completely dead. Here is a link to the manufacturer : http://www.msiwhitebook.com/product_spec.asp?model=MS-1035 It is an old one, it does not support Virtualbox, but runs Debian just fine. I like it because it has a 17" screen, nice to work in bed, full size keyboard too. Searching for problems without any schematic is just gambling so I postponed it. I found a YouTube channel by Louis Rossmann who repairs laptops, https://www.youtube.com/channel/UCl2mFZoRqjw_ELax4Yisf6w and he got some schematics from a website : laptop-schematics.com I ordered my schematics for about 10 euro. I got 57 pages of PDF. I had to take apart the whole laptop to get near the actual hardware. I took my time, did not break any plastic tabs off.. And after what seemed like an hour I was where I needed to be. I started at the beginning, the power input and verified it. 19.14 volts. At the end of the