xming debian не может открыть дисплей

Обычно при монтировании NFS это - хорошая идея иметь набор флагов, подобный этому:

bg,intr,soft
   bg      If  the  first  NFS  mount  attempt times out, retry the mount in the 
           background.  After a mount operation is backgrounded, all subsequent mounts
           on the same NFS  server  will  be  backgrounded immediately, without first
           attempting the mount.  A missing mount point is treated as a timeout, to
           allow for nested NFS mounts.
   soft    If  an  NFS  file operation has a major timeout then report an I/O error
           to the calling program.  The default is to continue retrying NFS file
           operations indefinitely.
   intr    If  an  NFS  file  operation  has  a major timeout and it is hard mounted,
           then allow signals to interupt the file operation and cause it to return
           EINTR to the calling program.  The default is to not allow file operations
           to be interrupted.

Можно, кроме того, установить:

timeo=5,retrans=5,actimeo=10,retry=5

который должен позволить NFS, монтируются к тайм-ауту и делают каталог недоступным, если сервер NFS отбрасывает соединение, скорее затем ожидающее в повторениях.

Смотрите на эту ссылку для получения дополнительной информации о NFS, монтируют опции

5
03.03.2013, 17:03
1 ответ

Проверьте, блокирует ли брандмауэр Windows TCP на localhost:6010.

Попробуйте выполняющую небольшую процедуру, чтобы проверить, можно ли соединиться с удаленным X-сервером (Xming) после установки встречи SSH с PuTTY. Порт Notice 60xx где xx идентично числу, в котором Вы находите echo $DISPLAY:

$ echo $DISPLAY 
localhost:10.0
$ netstat -an | grep 6010
tcp        0      0 127.0.0.1:6010          0.0.0.0:*               LISTEN     
tcp6       0      0 ::1:6010                :::*                    LISTEN     
$ telnet 127.0.0.1:6010
telnet: could not resolve 127.0.0.1:6010/telnet: Name or service not known
$ telnet 127.0.0.1 6010
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
^]
telnet> quit
Connection closed.

Когда X-сервер не может быть достигнут, это - то, что происходит:

$ telnet 127.0.0.1 6011
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused
2
27.01.2020, 20:42
  • 1
    я выключил брандмауэр окон и сделал telnet, и он соединился с 6 010, точно так же, как Вы вставили здесь, но все еще работа. –  cikatomo 03.03.2013, 18:22
  • 2
    Как Connected to 127.0.0.1.? –  jippie 04.03.2013, 00:05
  • 3
    да, $ telnet 127.0.0.1 6010 $ Trying 127.0.0.1... $ Connected to 127.0.0.1. $ Escape character is '^]'. –  cikatomo 05.03.2013, 01:43

Теги

Похожие вопросы