hajix
Posts: 2
Joined: Sat Apr 04, 2015 5:52 pm

uninstall mate

Sat Apr 04, 2015 6:24 pm

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

User avatar
AndyD
Posts: 2334
Joined: Sat Jan 21, 2012 8:13 am
Location: Melbourne, Australia
Contact: Website

Re: uninstall mate

Sun Apr 05, 2015 2:16 am

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

hajix
Posts: 2
Joined: Sat Apr 04, 2015 5:52 pm

Re: uninstall mate

Sun Apr 05, 2015 8:57 am

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

Return to “Other”