I am having a black screen issue on Linux after changing the Nodejs PATH variable.



This content originally appeared on DEV Community and was authored by Thaísa Vieira

Unfortunately, I ended up changing the Nodejs PATH, used the machine normally, and turned it off after finishing use. Yesterday when I tried to turn it on I came across a black screen and I can access it via tty. I would like help trying to recover the graphics system.

I can access the tty2 via CTRL + ALT + F2 so I have access to the login. This is what appears on the screen:

Zorin OS 17.1 eita-thai tty2

eita-thai  login: thai

password:

After entering the correct password, this is the message that is returned:

Welcome to Zorin OS 17.1 (GNU/Linux 6.5.0-35-generic x86_64)


0 updates can be applied immediately
No new release found.


‘lesspipe’ command is available in the following locations
*/bin/lesspipe

*/urs/bin/lesspipe


The command was not found because 'usr/bin:/bin' is not included in the PATH environment variable.

lesspipe: command not found

‘dircolors’ command is available in the following locations
*bin/dircolors

*usr/bin/dircolors

The command was not found because '/bin:/usr/bin' is not included in the PATH environment variable.

dircolors: command not found

Has anyone experienced the same problem? Would reformatting be the only option to restore the graphics system?


This content originally appeared on DEV Community and was authored by Thaísa Vieira