ssh X11 forwarding won't work

前端 未结 5 1947
礼貌的吻别
礼貌的吻别 2020-12-29 09:47

I have been trying to get X11 port forwarding to work from my laptop. I can\'t figure out why it won\'t work.

I get this message when I try to run xterm:

         


        
5条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-29 10:29

    sudo grep X11Forwarding /etc/ssh/sshd_config
    
    X11Forwarding yes 
    #sestatus
    SELinux status: enabled
    SELinuxfs mount: /selinux
    Current mode: permissive
    Mode from config file: permissive
    Policy version: 24
    Policy from config file: targeted
    #You can turn it to permissive mode with this command:
    #setenforce 0
    

提交回复
热议问题