Rate This Document
Findability
Accuracy
Completeness
Readability

Error Reported When Running the ./helloworld Command

Symptom

The following error information is displayed when running the ./helloworld command:

Key Process and Cause Analysis

X11 forwarding is disabled by default in openEuler.

Conclusion and Solution

  1. Open the /etc/ssh/sshd_config file.
    vi /etc/ssh/sshd_config
  2. Set the line number.
    :set nu
  3. Press i to enter the insert mode. In line 100, delete # and change no to yes.

  4. Press Esc, type :wq!, and press Enter to save the file and exit.
  5. Restart the sshd service.
    systemctl restart sshd.service
  6. Open a new SSH connection.