Closed plasmoduck closed 3 years ago
I have the same problem, and when running cat .xsession-errors the error "/ etc / X11 / Xsession: 5: /etc/profile.d/motd.sh: Syntax error:" ("unexpected"
Here is my forked version with correct way to install https://plasmoduck.github.io/raspberrypi-motd/
On Fri, Jun 22, 2018 at 12:09 PM, P4N1CO notifications@github.com wrote:
I have the same problem, and when running cat .xsession-errors the error "/ etc / X11 / Xsession: 5: /etc/profile.d/motd.sh: Syntax error:" ("unexpected"
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
Source the motd.sh script in the file ~/.profile by placing a link to it at the end of the file like /path/to/motd.sh and it will be executed after login.
On Sun, Jun 24, 2018 at 4:34 AM, Chris Garvin chrisjoelgarvin@gmail.com wrote:
Here is my forked version with correct way to install https://plasmoduck.github.io/raspberrypi-motd/
On Fri, Jun 22, 2018 at 12:09 PM, P4N1CO notifications@github.com wrote:
I have the same problem, and when running cat .xsession-errors the error "/ etc / X11 / Xsession: 5: /etc/profile.d/motd.sh: Syntax error:" ("unexpected"
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
Very good, it worked.
After copying scipt to /etc/profile.d and rebooting. The graphical login screen is stuck in an endless loop asking for password, I input correct password then it loops back to asking for password again. Removing the file from /etc/profile.d and rebooting fixed this and allowed me to login and start the desktop.