[SOLVED] Colors are not displayed in Proxmox's Node Shell.

NoriDev

New Member
May 18, 2024
2
2
3
1765659894786.png

Yes. This might be a stupid question, but the colors aren't displayed in the Proxmox Node Shell.
It works fine, but the lack of color differentiation makes it difficult to see.

I haven't modified any environment variables like .bashrc. The only thing I'm suspicious of is that I upgraded from PVE 7 to 8 and then to 9.

Below is the shell of a node installed with PVE 9 from the beginning.

1765659954728.png

I want the colors to appear like this.

I tried moving all the environment variable files in the root folder where the colors are displayed, but that didn't solve the problem. I also reinstalled ncurses-base, bash, coreutils, but the result was the same.

What's the difference between these two nodes?
If anyone knows a solution, I'd appreciate it if you could help.
 
Last edited:
After conducting various tests, I found that PVE was fine.
The colors were displayed correctly, and it was a configuration issue with the vim package.

It's really stupid.

Just type :syntax on while the vim editor is open.

Also, if you have a .vimrc file in your root directory, delete it if you don't plan to use it.
:syntax on only applies to the open file, but editing or deleting .vimrc will apply it permanently.

I'll leave this post up in case anyone else experiences the same issue.

Have a nice weekend, everyone.
 
Last edited: