请选择 进入手机版 | 继续访问电脑版
搜索
专业IC版图外包服务 微信:drclvs
广告位:SY02 广告业务联系QQ:3173974412
无锡芯满微电子有限公司---专业研发电机驱动芯片
IC设计论坛----ictown.com
广告位:SY05 广告业务联系QQ:3173974412
查看: 39|回复: 1

[转帖] 帮我看看安装freenx出了什么错??谢谢大伙们

[复制链接]

14

主题

15

帖子

75

E币

技术员

Rank: 2

积分
29
发表于 2020-3-1 12:00:58 | 显示全部楼层 |阅读模式
[root@shils035 ~]# rpm -ivh nx-3.2.0-31.el4.x86_64.rpm
warning: only V3 signatures can be verified, skipping V4 signature
Preparing...                ########################################### [100%]
   1:nx                     ########################################### [100%]
warning: only V3 signatures can be verified, skipping V4 signature
[root@shils035 ~]# rpm -ivh freenx-0.7.3-1.el4.centos.x86_64.rpm
warning: freenx-0.7.3-1.el4.centos.x86_64.rpm: V3 DSA signature: NOKEY, key ID 443e1821
warning: only V3 signatures can be verified, skipping V4 signature
Preparing...                ########################################### [100%]
   1:freenx                 ########################################### [100%]
Stopping sshd:[  OK  ]
Starting sshd:[  OK  ]
Starting freenx-server:  [  OK  ]
[root@shils035 ~]# /usr/bin/nxsetup --install
------> It is recommended that you use the NoMachine key for
        easier setup. If you answer "y", FreeNX creates a custom
        KeyPair and expects you to setup your clients manually.
        "N" is default and uses the NoMachine key for installation.

Do you want to use your own custom KeyPair? [y/N] ySetting up /etc/nxserver ...                                              done
Setting up /var/lib/nxserver/db ...done
Setting up /var/log/nxserver.log ...done
Adding user "nx" to group "utmp" ...done
Setting up known_hosts and authorized_keys2 ...done
Setting up permissions ...done

----> Testing your nxserver configuration ...
Warning: Could not find nxdesktop in /usr/bin. RDP sessions won't work.
Warning: Could not find nxviewer in /usr/bin. VNC sessions won't work.
Warning: Invalid value "APPLICATION_LIBRARY_PRELOAD=/usr/lib/libX11.so.6.2:/usr/                                              lib/libXext.so.6.4:/usr/lib/libXcomp.so.2:/usr/lib/libXcompext.so:/usr/lib/libXr                                              ender.so.1.2". /usr/lib/libX11.so.6.2 could not be found. Users will not be able                                               to run a single application in non-rootless mode.
Warning: "/usr/lib/cups/backend/nxipp" is not executable.
         Users will not be able to enable printing.
Warning: "/usr/lib/cups/backend/smb" is not executable.
         Users will not be able to enable printing.
Warning: Invalid value "COMMAND_START_CDE=cdwm"
         Users will not be able to request a CDE session.
Warning: Invalid cupsd version of "/usr/sbin/cupsd". Need version 1.2.
         Users will not be able to enable printing.
Error: Could not find 1.5.0 or 2.[01].0 or 3.[01].0 version string in nxagent. N                                              X 1.5.0 or 2.[01].0 or 3.[012].0 backend is needed for this version of FreeNX.
  Warnings occured during config check.
  To enable these features please correct the configuration file.

<---- done

----> Testing your nxserver connection ...
Permission denied (publickey,gssapi-with-mic,password).
Fatal error: Could not connect to NX Server.

Please check your ssh setup:

The following are _examples_ of what you might need to check.

        - Make sure "nx" is one of the AllowUsers in sshd_config.
    (or that the line is outcommented/not there)
        - Make sure "nx" is one of the AllowGroups in sshd_config.
    (or that the line is outcommented/not there)
        - Make sure your sshd allows public key authentication.
        - Make sure your sshd is really running on port 22.
        - Make sure your sshd_config AuthorizedKeysFile in sshd_config is set to                                               authorized_keys2.
    (this should be a filename not a pathname+filename)
  - Make sure you allow ssh on localhost, this could come from some
    restriction of:
      -the tcp wrapper. Then add in /etc/hosts.allow: ALL:localhost
      -the iptables. add to it:
         $ iptables -A INPUT  -i lo -j ACCEPT
         $ iptables -A OUTPUT -o lo -j ACCEPT

到这里结束了
积分规则
回复

使用道具 举报

14

主题

15

帖子

75

E币

技术员

Rank: 2

积分
29
 楼主| 发表于 2020-3-1 12:01:19 | 显示全部楼层
经过努力终于搞定。参考 一个russian的网站.
其中的关键应该是
# gedit /usr/libexec/nx/nxsetup
找到
passwd -u nx
改为
passwd -uf nx

然后
# /usr/libexec/nx/nxsetup --install --setup-nomachine-key --clean --purge
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则



版权所有:EDABOSS论坛 投诉受理:13816911948 合作热线:13816911948

备案信息:苏经营性ICP B2-20090218号 皖ICP备09697823号 电子公告服务许可文件号:皖通[2009]556号

Powered by EDABOSS X3.4 Tamplate By EDABOSS论坛  © 2001-2013 Comsenz Inc.

广告投放 微信:drclvs

快速回复 返回顶部 返回列表