Terminal has some problems

On the top of Terminal, It has a red title, “There was an error creating the child process for this terminal Fail to open PTY:Permission denied.”

Help me,please.

https://forums.developer.nvidia.com/t/system-update-breaks-terminal/170860/8

Do you have access via non-GUI terminal (e.g., “CTRL-ALT-F3”), or via ssh or serial console? If so, what do you see from:
ls -l /usr/bin/sudo
…and also:
ls -l /dev/pty*
(the GUI should be logged into when you test this, but the test itself should be from ssh or console or serial console)