I ran into the error
Cannot open your terminal '/dev/pts/0'. Though I had not seen this before, it seems to occur when you use the “switch user (
su)” command to access a user account and then try to open a
The issue can be resolved by either logging in directly with the user account you want to use, or by running the command “
script /dev/null” as demonstrated here on StackOverflow.