How can I fix a Macbook Pro when the Touch Bar doesn't work?

Solution 1:

Please put this into the terminal

sudo pkill "TouchBarServer"

it will ask for a password type it and hit enter it won't show that you are typing the password but it did