New FreeBSD user (10.3) here, running on MacBook Pro as a VirtualBox 5.1 machine.
I'm not hugely experienced at command line but I've messed with Linux VBoxes enough, OS X's Terminal and writing documents with LaTeX to have some idea of what I'm doing - but not extensively so.
Anyway, I did a straight install of FreeBSD 10.3, then decided to add the MATE desktop. I used these instructions and the reboot dumps me back at the SLiM login screen. However, when I try to log in I get the message "failed to execute login command".
I found this thead Thread here which has a the same problem. I rebooted (actually, I can't seem to reboot from the SLiM login screen so I had to hard shutdown the VM) and booted into Single User Mode, logged in as root to edit ~/.xinitrc. Now, the first thing I noticed is that the thread references ~/.xinitrc while the directions I followed during Desktop setup simply said to edit /.xinitrc.
The solution for the other user was to edit ~/.xinitrc so it is empty. I added the line of code to that file as suggested in the tutorial and as the other user had:
The file is located at /root. I'm using ee to open the file .xinitrc at this location, remove the line (so it's empty) and save, but get the response:
When I navigate to ~/ to create the ./xinitrc, I get the same error (as it's a read-only location).
So, is my .xinitrc correctly located at ~/root ? And how do I edit the file so it is empty?
Thanks
I'm not hugely experienced at command line but I've messed with Linux VBoxes enough, OS X's Terminal and writing documents with LaTeX to have some idea of what I'm doing - but not extensively so.
Anyway, I did a straight install of FreeBSD 10.3, then decided to add the MATE desktop. I used these instructions and the reboot dumps me back at the SLiM login screen. However, when I try to log in I get the message "failed to execute login command".
I found this thead Thread here which has a the same problem. I rebooted (actually, I can't seem to reboot from the SLiM login screen so I had to hard shutdown the VM) and booted into Single User Mode, logged in as root to edit ~/.xinitrc. Now, the first thing I noticed is that the thread references ~/.xinitrc while the directions I followed during Desktop setup simply said to edit /.xinitrc.
The solution for the other user was to edit ~/.xinitrc so it is empty. I added the line of code to that file as suggested in the tutorial and as the other user had:
Code:
exec mate-session
Code:
unable to create file ".xinitrc"
When I navigate to ~/ to create the ./xinitrc, I get the same error (as it's a read-only location).
So, is my .xinitrc correctly located at ~/root ? And how do I edit the file so it is empty?
Thanks