Newbie - How do I install Mate desktop for non-root?

Hello,

I am trying to run FreeBSD on a Raspberry Pie for the first time by running it from an SD card. I managed to install Mate desktop from the command line but for some reason Mate Desktop only runs when I log in as root. When I log in as non root and then type startx I get these two windows on my screen:

7164


When I type startx logged in as root the Mate desktop starts normally, but I am not able to run Firefox web browser.

What have I done wrong?
 
When I installed Mate a few times I created .xinitrc in my home directory with exec mate-session. I installed slim and put slim_enable="YES" in /etc/rc.conf. I would log in as normal user. Hope that helps.
 
sign in as a reg user
create a .xinitrc
Code:
#!/bin/sh
exec mates executable name
save make executable.
Code:
chmod +x .xinitrc
startx
or use slim then in your .xinitrc
Code:
#!/bin/sh
exec $1
two: did you install firefox?
 
It is working now, I can start Mate desktop normally as normal (non-root) user.

It took me a while because I first had to find out how to create and edit a text file. None of you explained that here. I used the vi command for that.

And I said I had installed Firefox, I meant Chromium, sorry for that misinfo.

Chromium works but complains at google.com that my clock is set to incorrect time. There is a button in that message windows that says update time but I press it a thousand times and nothing happens.

My screen resolution in Mate desktop is also quite low (18xx something by 9xx something, which is thumbnail size). My monitor is not being recognized, is there a quick solution for that? I cannot change the screen resolution right now.
 
sorry, did think you were that nnneeeewwwwbeeeee
Code:
 $ cat << testxinitrc  >
#!/bin/sh 
exec \$1
EOF

 userx@FreeBSD.edy:~ $ cat testxinitrc
#!/bin/sh
exec $1
would have worked too.
 
Back
Top