Comments (8)
change shell to /bin/sh
create symlink from /usr/lib/neatx/nxserver-login-wrapper to /usr/bin/nxserver
works perfectly!
But not secure with shell /bin/sh in nx user-(
Original comment by [email protected]
on 9 Jul 2009 at 9:01
from neatx.
this seems like a bad solution all over.
could you give us more information regarding the distribution you're using and
versions of nx-agent and other related information?
Original comment by [email protected]
on 9 Jul 2009 at 11:38
from neatx.
distribution altlinux (www.altlinux.org)
nx -- latest with some pathes ( rpm spec
http://git.altlinux.org/people/boris/packages/?p=nx.git;a=blob;f=nx.spec;h=85609
9cb15f1c98e920ebfda8a2debc369bbf2ca;hb=HEAD)
some changes in constans.py for ALT
http://git.altlinux.org/people/boris/packages/?p=neatx.git;a=commitdiff;h=f704f5
273fdb892aaf09df1c88879e04b981d0ed
config like this --
http://git.altlinux.org/people/boris/packages/?p=neatx.git;a=blob;f=neatx.conf;h
=2075608da7119c534a7a0958c443ec8f5ee07559;hb=HEAD
neatx configure string (generate by rpmbuild):
./configure --build=i586-alt-linux --host=i586-alt-linux --prefix=/usr
--exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc
--datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib
--libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/usr/com
--mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking
--without-included-gettext --localstatedir=/var
directory /var/lib/neatx/sessions have perm 2770 for secure and all needed
users in
group nx.
world writable directory /var/lib/neatx/sessions is not a good idea i think...
perm 777 cant resolve this issue.
sorry for english-(
Original comment by [email protected]
on 9 Jul 2009 at 11:51
from neatx.
original nxclient 3.3.0-6 for linux, i forgot
( http://www.nomachine.com/download-client-linux.php )
Original comment by [email protected]
on 9 Jul 2009 at 11:54
from neatx.
I modify /usr/lib/neatx/nxserver-login-wrapper:
# Duplicate stdout to fd 3
exec 3>&1
+echo $@ > `mktemp -p /tmp`
exec /usr/lib/neatx/nxserver-login "$@" 2>&1 >&3 | {
and look at result
cat /tmp/tmp.qzXTGsSoKF
-c /usr/bin/nxserver
may be it help
Original comment by [email protected]
on 9 Jul 2009 at 12:03
from neatx.
Apparently sshd passes -c to the shell to run a command specified by the client
(I
couldn't explain why, but that's what it looks like). nxserver-login could just
ignore it by implementing "-c" in neatx.app.NxServerLoginProgram.BuildOptions
(see
nxserver.NxServer.BuildOptions for reference). The wrapper is generated and
shouldn't
contain special cases.
Original comment by [email protected]
on 9 Jul 2009 at 12:17
from neatx.
solved for me
i have authorized_keys2 from freenx installation. its contains:
no-port-forwarding,no-agent-forwarding,command="/usr/bin/nxserver" ...
after replace my authorized_keys2 with neatx authorized_keys error dont
reproduce.
unfortunately neatx authorized_keys not compat with freenx authorized_keys...
think
about it-))
Original comment by [email protected]
on 9 Jul 2009 at 3:00
from neatx.
That's unfortunate alright - however due to how nxclient expects to connect to
the
server (via the nx user), there will always be conflicts between using
different nx
servers. All of them (!M's nxserver, FreeNX, Neatx) all depend on setting the nx
user's shell, for example.
Thanks for hunting this down, i expect that will help other people in the
future.
Original comment by kormat
on 9 Jul 2009 at 7:23
- Changed state: Invalid
from neatx.
Related Issues (20)
- NX> 500 Internal error (just after user logs in) HOT 1
- Alt-Gr key keeps locked - keyboard scramble HOT 1
- Cannot start session
- DHCP vs Static HOT 3
- Incorrect using of su
- Unable to start session:
- The Mac OSX client can not connect to my server. HOT 2
- Tarball does not include RPM files for 'rpmbuild -ta'
- neatx.spec file has version 0.1, not 0.3.1, and other issues
- No multiple keyboard layout support HOT 4
- ib HOT 1
- "Authentication failed for user" if using fish shell
- Text is not recognised in Gnome/gtk programs in Ubuntu 10.10 HOT 2
- client crashing when trying to use shadow mode
- d /var/lib HOT 1
- After Python 2.6 upgrade on Ubuntu 10.10 log in fails
- var/lib HOT 1
- Reconnecting to session hangs with "Session didn't become ready in time" message HOT 2
- Create a distfile for to permit the ports creation for freebsd HOT 2
- Removing FreeNX To Install Neatx
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from neatx.