X11 forwarding request failed on channel 0

前端 未结 4 739
日久生厌
日久生厌 2021-02-07 01:24

When I do \"ssh -X abcserver\", I got message \"X11 forwarding request failed on channel 0\". I checked online and it was suggested to solve it by swit

4条回答
  •  孤街浪徒
    2021-02-07 01:50

    1.make sure that during ssh -X root@server you have root permission.

    2.update the /etc/ssh/sshd_config and make sure this line is uncommented

        X11Forwarding yes
    

    3.systemctl restart sshd

    4.exit from server

    5.ssh -X root@server

    6.virt-manager

提交回复
热议问题