LINUX.ORG.RU

Не могу настроить nomachine

 


0

1

Благополучно пользовался x2go, но достали постоянные обрывы соединения, а так как соединение с той же машиной по ssh-у в консольке все это время прекрасно держится - то виновным был признан x2go. На удаленной машине - gentoo. Решил попробовать nomachine. Поставил сервер, открываю на клиенте соединение и вижу черный экран, в правом углу окошко (отрисовано явно средствами mate, стоящей на удаленной машине) с надписью

Could not connect: No such file or directory
Есть подозрение, что nxserver не знает, как и какую графическую оболочку запускать, потому как в логах сервера видны попытки подключения nxserver.log
2017-12-27 02:00:01 873.416  7730 NXSERVER WARNING! Cannot write to FD#13.
2017-12-27 02:00:01 873.512  7730 NXSERVER WARNING! Error is: 32, 'Broken pipe'.
2017-12-27 02:00:01 873.874  7730 NXSERVER WARNING! Cannot write to FD#13.
2017-12-27 02:00:01 873.949  7730 NXSERVER WARNING! Error is: 32, 'Broken pipe'.
2017-12-27 02:00:31 904.613  7730 NXSERVER WARNING! Cannot write to FD#13.
2017-12-27 02:00:31 904.707  7730 NXSERVER WARNING! Error is: 32, 'Broken pipe'.
2017-12-27 02:00:31 905.072  7730 NXSERVER WARNING! Cannot write to FD#13.
2017-12-27 02:00:31 905.136  7730 NXSERVER WARNING! Error is: 32, 'Broken pipe'.
2017-12-27 03:00:02 741.401  7730 NXSERVER WARNING! Cannot write to FD#13.
2017-12-27 03:00:02 741.491  7730 NXSERVER WARNING! Error is: 32, 'Broken pipe'.
2017-12-27 03:00:02 741.824  7730 NXSERVER WARNING! Cannot write to FD#13.
2017-12-27 03:00:02 741.883  7730 NXSERVER WARNING! Error is: 32, 'Broken pipe'.
2017-12-27 03:00:32 766.641  7730 NXSERVER WARNING! Cannot write to FD#13.
2017-12-27 03:00:32 766.734  7730 NXSERVER WARNING! Error is: 32, 'Broken pipe'.
2017-12-27 03:00:32 767.094  7730 NXSERVER WARNING! Cannot write to FD#13.
2017-12-27 03:00:32 767.156  7730 NXSERVER WARNING! Error is: 32, 'Broken pipe'.
2017-12-27 04:00:03 359.933  7730 NXSERVER WARNING! Cannot write to FD#13.
2017-12-27 04:00:03 360.027  7730 NXSERVER WARNING! Error is: 32, 'Broken pipe'.
2017-12-27 04:00:03 360.361  7730 NXSERVER WARNING! Cannot write to FD#13.
2017-12-27 04:00:03 360.423  7730 NXSERVER WARNING! Error is: 32, 'Broken pipe'.
2017-12-27 04:00:33 382.327  7730 NXSERVER WARNING! Cannot write to FD#13.
2017-12-27 04:00:33 382.418  7730 NXSERVER WARNING! Error is: 32, 'Broken pipe'.
2017-12-27 04:00:33 382.769  7730 NXSERVER WARNING! Cannot write to FD#13.
2017-12-27 04:00:33 382.830  7730 NXSERVER WARNING! Error is: 32, 'Broken pipe'.
2017-12-27 05:00:04 103.872  7730 NXSERVER WARNING! Cannot write to FD#13.
2017-12-27 05:00:04 103.971  7730 NXSERVER WARNING! Error is: 32, 'Broken pipe'.
2017-12-27 05:00:04 104.304  7730 NXSERVER WARNING! Cannot write to FD#13.
2017-12-27 05:00:04 104.364  7730 NXSERVER WARNING! Error is: 32, 'Broken pipe'.
2017-12-27 05:00:34 128.812  7730 NXSERVER WARNING! Cannot write to FD#13.
2017-12-27 05:00:34 128.909  7730 NXSERVER WARNING! Error is: 32, 'Broken pipe'.
2017-12-27 05:00:34 129.259  7730 NXSERVER WARNING! Cannot write to FD#13.
2017-12-27 05:00:34 129.321  7730 NXSERVER WARNING! Error is: 32, 'Broken pipe'.
2017-12-27 14:44:57 792.425 15145 NXSERVER WARNING! Cannot establish communication with nxserver --deamon.
2017-12-27 14:45:30 114.920 16347 NXSERVER User 'likan_blk' logged in from '172.20.159.88' using authentication method password.
2017-12-27 14:45:31 066.125  7838 NXNODE   WARNING! Process '/usr/NX/bin/nxexec /usr/NX/scripts/restricted/nxamixer.sh mute 0 0' with pid '16950/16950' finished with exit code 1 after 0,030 seconds.
2017-12-27 14:49:39 264.721 16347 NXSERVER User 'likan_blk' from '172.20.159.88' logged out.
nxd.log
Info: Connection from 172.20.159.88 port 51532 accepted on Wed Dec 27 14:57:39 2017.
Info: Connection from 172.20.159.88 port 51532 process 6274 started on Wed Dec 27 14:57:39 2017.
Info: Connection from 172.20.159.88 port 51532 process 6274 closed on Wed Dec 27 14:58:21 2017.
nxerror.log
Info: Handler started with pid 12799 on Wed Dec 27 14:43:20 2017.
Info: Handling connection from 172.20.159.88 port 49246 on Wed Dec 27 14:43:20 2017.
Info: Connection from 172.20.159.88 port 49246 closed on Wed Dec 27 14:43:27 2017.
Info: Handler with pid 12799 terminated on Wed Dec 27 14:43:27 2017.
/usr/NX/scripts/setup/nxserver: line 11071: cd: /etc/rc.d/rc3.d: No such file or directory
/usr/NX/scripts/setup/nxserver: line 11075: cd: /etc/rc.d/rc2.d: No such file or directory
/usr/NX/scripts/setup/nxserver: line 11079: cd: ../rc5.d: No such file or directory
/usr/NX/scripts/setup/nxserver: line 11083: cd: ../rc6.d: No such file or directory
/usr/NX/scripts/setup/nxserver: line 11087: cd: ../rc0.d: No such file or directory
Info: Handler started with pid 16347 on Wed Dec 27 14:45:12 2017.
Info: Handling connection from 172.20.159.88 port 49567 on Wed Dec 27 14:45:12 2017.
Info: Connection from 172.20.159.88 port 49567 closed on Wed Dec 27 14:45:31 2017.
Info: Handler with pid 16347 terminated on Wed Dec 27 14:45:31 2017.
Info: Handler started with pid 6274 on Wed Dec 27 14:57:40 2017.
Info: Handling connection from 172.20.159.88 port 51532 on Wed Dec 27 14:57:40 2017.
Info: Connection from 172.20.159.88 port 51532 closed on Wed Dec 27 14:57:53 2017.
Info: Handler with pid 6274 terminated on Wed Dec 27 14:57:53 2017.

★★★

Проблема и вправду в DE. Спасибо арчвики.

To resolve this issue, edit the key DefaultDesktopCommand in /usr/NX/etc/node.cfg. E.g. for MATE desktop environment:

DefaultDesktopCommand "/usr/bin/mate-session"

LIKAN ★★★
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.