Page 1 of 1

uninstall mate

Posted: Sat Apr 04, 2015 6:24 pm
by hajix
Hi
I install mate according to http://www.raspbian.org/RaspbianMate instructions and it runs successfully when I execute

Code: Select all

startx
but it is too slow. This is interesting that when I execute

Code: Select all

sudo startx
the default raspbian GUI will appear!! anyway due to low performance of pi when I run MATE, I decide to remove it by

Code: Select all

sudo apt-get remove mate-*
, but after this when I try

Code: Select all

startx
, no GUI will appear due to an error that is unknown for me. It looks that it's mandatory to reinstall MATE if I want to see my GUI again!
any suggestion is acceptable.
excuse me for weak english, which is my second language
regards

Re: uninstall mate

Posted: Sun Apr 05, 2015 2:16 am
by AndyD
hajix wrote:no GUI will appear due to an error that is unknown for me.
Is there an error message? If so can you post it?

I would try removing

Code: Select all

exec mate-session
from ~/.xinitrc

Re: uninstall mate

Posted: Sun Apr 05, 2015 8:57 am
by hajix
Thanks a lot for your answer
The error was:
xinit: connection to X server lost
By removing xinit file, the default raspberry pi GUI will appear but commenting

Code: Select all

exec mate-session
in xinit file, cause thrown an error like above.
It seems that xinit file should specifies an xsession file if it exists in home directory of an user, otherwise the default raspberry pi's GUI will be shown.
regards