Code Monkey home page Code Monkey logo

freenx-server's People

Contributors

bsavelev avatar dimbor-ru avatar mshima avatar vitlav avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

freenx-server's Issues

Package for Debian?

@dimbor-ru: This is awesome, that you still maintain FreeNX server. Would you be interested in an official Debian package + upload to Debian?

Add options ENABLE_GLX_PRELOAD and GLX_LD_PRELOAD

On some systems, in particular on systems with the NVidia driver on server, software glx drivers are not available.
This problem is not only with us, read this: https://www.nomachine.com/AR01Q01012

The solution is to add "export LD_PRELOAD=/some_dir/libGL.so" to /home/user/.bashrc
However, such a solution is not suitable if the user works both locally and remotely and complicates server administration.

I suggest adding options ENABLE_GLX_PRELOAD=1/0 and GLX_LD_PRELOAD=/some_dir/lib.so
In this case, it will be possible to choose the fastest library, for example LLVMpipe or VirtualGL.

Is need to exclude nxgialog since it is included in nx-libs

root@srv-ubuntu:/usr/src/NXServer# dpkg -i ./freenx-server_1.0.0_amd64.deb
(Чтение базы данных … на данный момент установлено 314695 файлов и каталогов.)
Подготовка к распаковке …/freenx-server_1.0.0_amd64.deb …
Распаковывается freenx-server (1.0.0) …
dpkg: ошибка при обработке архива ./freenx-server_1.0.0_amd64.deb (--install):
попытка перезаписать «/usr/bin/nxdialog», который уже имеется в пакете nxdialog 2:3.5.99.22-0
Обрабатываются триггеры для libc-bin (2.23-0ubuntu11) …
Обрабатываются триггеры для dbus (1.10.6-1ubuntu3.5) …
При обработке следующих пакетов произошли ошибки:
./freenx-server_1.0.0_amd64.deb

Nomachine client

I wanted to check if the current nx-libs are still working with one of the last nxclient versions I have. So I setup freenx-server and tried.

Unfortunately I failed for several reasons:

  1. with nxclient_3.5.0-7_amd64.deb
/usr/NX/bin/nxclient: /usr/NX/lib/libz.so.1: no version information available (required by /usr/lib/x86_64-linux-gnu/libpng16.so.16)
/usr/NX/bin/nxclient: /usr/NX/lib/libz.so.1: no version information available (required by /usr/lib/x86_64-linux-gnu/libpng16.so.16)
/usr/NX/bin/nxclient: relocation error: /usr/lib/x86_64-linux-gnu/libpng16.so.16: symbol inflateReset2 version ZLIB_1.2.3.4 not defined in file libz.so.1 with link time reference
  1. nxssh from ./nxclient-3.0.0-89.i386/NX/bin/nxssh does not work - it always wants a passphrase for the key although it is not password protected:
NX> 203 NXSSH running with pid: 11900
NX> 285 Enabling check on switch command
NX> 285 Enabling skip of SSH config files
NX> 285 Setting the preferred NX options
NX> 200 Connected to address: ::1 on port: 22
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
NX> 210 Enter passphrase for key '/home/uli/.nx/temp/11881/keylog':
  1. testing nxssh of nxclient_3.5.0-7_amd64.deb with some LD_LIBRARY_PATH magic reveals it checks .ssh/ssh_config for unknown config parameters and then aborts with an error if it finds any. This is a PITA because you cannot use newer features like ControlPersist or PubkeyAcceptedKeyTypes +ssh-dss (the latter one being important for compatibility as freenx's nxsetup is telling me).

So any suggestions ho to successfully test an nomachine nxclient on a current distro (Beian Buster in my case)?

Not found sessions.sq3 after nxsetup or nxserver --cleanup

root@addm-VirtualBox:/var/lib/nxserver/db# nxserver --restart
/usr/bin/nxserver: строка 178: /var/lib/nxserver/db/sessions.sq3: Нет такого файла или каталога
chown: невозможно получить доступ к '/var/lib/nxserver/db/sessions.sq3': Нет такого файла или каталога
chmod: невозможно получить доступ к '/var/lib/nxserver/db/sessions.sq3': Нет такого файла или каталога
NX> 100 NXSERVER - Version 3.5.0-0.2-CE OS (GPL, using backend: 3.5.99.22)
NX> 123 Service stopped
NX> 122 Service started
NX> 999 Bye

root@addm-VirtualBox:/var/lib/nxserver/db# nxserver --cleanup
/usr/bin/nxserver: строка 178: /var/lib/nxserver/db/sessions.sq3: Нет такого файла или каталога
chown: невозможно получить доступ к '/var/lib/nxserver/db/sessions.sq3': Нет такого файла или каталога
chmod: невозможно получить доступ к '/var/lib/nxserver/db/sessions.sq3': Нет такого файла или каталога
NX> 100 NXSERVER - Version 3.5.0-0.2-CE OS (GPL, using backend: 3.5.99.22)
/usr/bin/nxserver: строка 178: /var/lib/nxserver/db/sessions.sq3: Нет такого файла или каталога
NX> 500 Error: No running sessions found.
NX> 999 Bye

No added user nx after calling nxsetup

Distributor ID: Ubuntu
Description: Ubuntu 18.04.3 LTS
Release: 18.04
Codename: bionic

root@addm-VirtualBox:/usr/bin# nxsetup
------> You did select no action.
FreeNX guesses that you want to install the server.
Type "y" to abort the installation at this point in time.
"N" is the default and continues installation.
Use "/usr/bin/nxsetup --help" to get more detailed help hints.

Do you want to abort now? [y/N]

------> 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]
Setting up /etc/nxserver ...done
Setting up /var/lib/nxserver/db ...done
Setting up /var/log/nxserver.log ...done
Setting up known_hosts and authorized_keys2 ...done
Setting up permissions ...chown: неверный пользователь: «nx:root»

ubuntu 18.04 Session did not start

Hello, I use freenx-server from https://unixforum.org/up/nxman/freenx-server_2.1.1_amd64.deb to build a nxserver for ubuntu 18.04, and use nxclient-3.5.0-9.exe for windows. The commands used for building nxserver are as follows.

wget https://unixforum.org/up/nxman/freenx-server_2.1.1_amd64.deb
dpkg -i ./freenx-server_2.1.1_amd64.deb
apt install -f
dpkg -i ./freenx-server_2.1.1_amd64.deb
echo PubkeyAcceptedKeyTypes=+ssh-dss >> /etc/ssh/sshd_config
echo "AllowUsers nx zld932" >> /etc/ssh/sshd_config
systemctl restart sshd
nxsetup --install --auto

I want to use mate for desktop environment. But I can't start mate-session. The logs from nxclient are as follows.

NX> 203 NXSSH running with pid: 16272
NX> 285 Enabling check on switch command
NX> 285 Enabling skip of SSH config files
NX> 285 Setting the preferred NX options
NX> 200 Connected to address: 192.168.0.177 on port: 22
NX> 211 The authenticity of host '192.168.0.177 (192.168.0.177)' can't be established.
RSA key fingerprint is 
Are you sure you want to continue connecting (yes/no)? 
Warning: Permanently added '192.168.0.177' (RSA) to the list of known hosts.
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
/usr/bin/xauth:  file /var/lib/nxserver/home//.Xauthority does not exist
HELLO NXSERVER - Version 3.5.0-2.1.1-CE OS (GPL, using backend: 3.5.99.16)
NX> 105 hello NXCLIENT - Version 3.5.0
NX> 134 Accepted protocol: 3.5.0
NX> 105 SET SHELL_MODE SHELL
NX> 105 SET AUTH_MODE PASSWORD
NX> 105 login
NX> 101 User: zld932
NX> 102 Password: 
/usr/share/freenx-server/nxfuncs: line 387: declare: `=': not a valid identifier
NX> 103 Welcome to: zld932-VirtualBox user: zld932
NX> 105 listsession --user="zld932" --status="suspended,running" --geometry="3840x2160x32+render" --type="unix-application"
NX> 127 Sessions list of user 'zld932' for reconnect:

Display Type             Session ID                       Options  Depth Screen         Status      Session Name
------- ---------------- -------------------------------- -------- ----- -------------- ----------- ------------------------------


NX> 148 Server capacity: not reached for user: zld932
NX> 105 startsession  --virtualdesktop="1" --application="/usr/bin/mate-session" --link="adsl" --backingstore="1" --encryption="1" --cache="16M" --images="64M" --shmem="1" --shpix="1" --strict="0" --composite="1" --media="0" --session="ubuntu" --type="unix-application" --geometry="1024x768" --client="winnt" --keyboard="pc105/us" --screeninfo="1024x768x32+render"

NX> 1004 Error: Session did not start.
NX> 596 Session start failed.
NX> 999 Bye
NX> 280 Exiting on signal: 15

Hope you can help me. Thank you!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.