How to enable mate/startx on boot in jessie - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: PINE A64(+) (https://forum.pine64.org/forumdisplay.php?fid=4) +--- Forum: Linux on Pine A64(+) (https://forum.pine64.org/forumdisplay.php?fid=6) +---- Forum: Armbian (https://forum.pine64.org/forumdisplay.php?fid=84) +---- Thread: How to enable mate/startx on boot in jessie (/showthread.php?tid=6084) |
How to enable mate/startx on boot in jessie - desai_amogh - 05-22-2018 I have a 2gb pineA64+. I used this image https://www.armbian.com/pine64/ and got a barebones termina. Installed xorg and mate-desktop-environment through apt-get. Now I am having a hardtime getting it to stick at booting. I did add a line exec startx in ~/.profile. But it boots the pine64 and asks for credentials in terminal and only gets to the gui after credentials are entered. I also couldnt fine /etc/default/grub toset it up there. What am I missing here?? RE: How to enable mate/startx on boot in jessie - pfeerick - 05-23-2018 (05-22-2018, 11:55 PM)desai_amogh Wrote: I have a 2gb pineA64+. I used this image https://www.armbian.com/pine64/ and got a barebones termina. You won't find a "/etc/default/grub" as grub isn't used with the pine64. With systemd, you'll need to do a "systemctl set-default graphical.target" in order to make the change from terminal to GUI boot... I don't know if you need to do anything more than that. You may want to have a look at the install-desktop script that ayufan uses on his distros and configure a few other bits whilst you're at it... https://github.com/ayufan-pine64/linux-build/blob/master/package/root/usr/local/sbin/install_desktop.sh RE: How to enable mate/startx on boot in jessie - desai_amogh - 05-23-2018 I did try running the https://github.com/ayufan-pine64/linux-build/blob/master/package/root/usr/local/sbin/install_desktop.sh script by # ./install_desktop.sh script mate but it errored it couldn't find these packages: ubuntu-mate-core ubuntu-mate-desktop ubuntu-mate-lightdm-theme ubuntu-mate-wallpapers-xenial lightdm I can post the exact error in some time and also try systemctl set-default graphical.target RE: How to enable mate/startx on boot in jessie - desai_amogh - 05-26-2018 systemctl set-default graphical.target Above command does set the default target to grapical target through a symlink. But has no effect on reboot. I have to manually run startx after logging in. RE: How to enable mate/startx on boot in jessie - pantera - 11-26-2018 (05-26-2018, 01:14 PM)Pantera: Wrote: systemctl set-default graphical.target RE: How to enable mate/startx on boot in jessie - desai_amogh - 03-29-2019 (11-26-2018, 11:51 AM)pantera Wrote:(05-26-2018, 01:14 PM)Pantera: Wrote: systemctl set-default graphical.target Just to conclude this. I finally gave up on Armbian as the latest version wouldn't boot with the micro usb and 3.2 Amp charger. While Auyfan's Debian minimal booted without any issues. I finally managed to resolve all the errors with repos and dependencies with Mate desktop and get a stable Debian Stretch with Mate Desktop up and running. For reference I have collated all the steps here, if anyone is stuck like me. https://amoghdesai.com/technology/how-to-resolve-errors-and-install-desktop-environment-on-pine64-a/ |