Comments (6)
Hum. What happens if you apply the following patch? I'm want to doublecheck
that -c
is being supplied to nxserver-login-wrapper.
diff --git a/autotools/gen-log-wrapper b/autotools/gen-log-wrapper
index df1bef1..2d7f482 100755
--- a/autotools/gen-log-wrapper
+++ b/autotools/gen-log-wrapper
@@ -20,10 +20,12 @@ log() {
logger -t "\$PROGNAME[\$\$]" -p "user.\${PRIORITY:-crit}" -- "\$@"
}
+PRIORITY=debug log "Called with args: \$@"
+
# Duplicate stdout to fd 3
exec 3>&1
exec $1 "\$@" 2>&1 >&3 | {
- PRIORITY=debug log "Started"
+ PRIORITY=debug log "Started $1 "\$@""
while read; do
log "\$REPLY"
done
Original comment by kormat
on 19 Feb 2010 at 2:09
from neatx.
(This patch has been committed to svn, so if you update from there you won't
need to
do patching by hand)
Original comment by kormat
on 19 Feb 2010 at 4:00
from neatx.
Not sure what to think.. reinstalled using r58 and I couldn't regenerate the
problem
(b/c everything seemed to work). Granted, I used a windows client last time,
and I
used a linux client this time, I don't think that should have had an impact,
but who
knows. If I get in front of another windows machine I'll try it there, but for
now it
seems the problem is gone.
--Jordan
Original comment by [email protected]
on 20 Feb 2010 at 3:11
from neatx.
Heh, ok, thanks for testing. I'm going to mark this NotRepeatable for now, if
it comes
back, please follow up here.
Original comment by kormat
on 20 Feb 2010 at 11:39
- Changed state: NotRepeatable
from neatx.
I am having precisely the same issue as described above. I have tried r59 then
r58
with identical results. This is on Ubuntu 10.04 (Lucid). Here are the log
entries:
r58:
Apr 8 09:10:06 lnelson-desktop nxserver-login-wrapper[3557]: Called with args:
Apr 8 09:10:06 lnelson-desktop nxserver-login-wrapper[3557]: Started /usr/local
/lib/neatx/nxserver-login
Apr 8 09:10:06 lnelson-desktop nxserver-login[3562]: DEBUG protocol:172 >>> 'HE
LLO NXSERVER - Version 3.3.0 - GPL\n'
Apr 8 09:10:06 lnelson-desktop nxserver-login[3562]: DEBUG protocol:172 >>> 'NX
> 105 '
Apr 8 09:10:07 lnelson-desktop nxserver-login[3562]: DEBUG protocol:227 <<< 'he
llo NXCLIENT - Version 3.3.0\n'
Apr 8 09:10:07 lnelson-desktop nxserver-login[3562]: DEBUG protocol:172 >>> 'He
llo nxclient - version 3.3.0\n'
Apr 8 09:10:07 lnelson-desktop nxserver-login[3562]: DEBUG nxserver_login:111 G
ot client protocol version 3030000 ('3.3.0'), want 3030000
Apr 8 09:10:07 lnelson-desktop nxserver-login[3562]: DEBUG protocol:172 >>> 'NX
> 134 Accepted protocol: 3.3.0\n'
Apr 8 09:10:07 lnelson-desktop nxserver-login[3562]: DEBUG protocol:172 >>> 'NX
> 105 '
Apr 8 09:10:07 lnelson-desktop nxserver-login[3562]: DEBUG protocol:227 <<< 'SE
T SHELL_MODE SHELL\n'
Apr 8 09:10:07 lnelson-desktop nxserver-login[3562]: DEBUG protocol:172 >>>
'Set
SHELL_MODE: SHELL\n'
Apr 8 09:10:07 lnelson-desktop nxserver-login[3562]: DEBUG protocol:172 >>>
'NX> 105 '
Apr 8 09:10:07 lnelson-desktop nxserver-login[3562]: DEBUG protocol:227 <<<
'SET
AUTH_MODE PASSWORD\n'
Apr 8 09:10:07 lnelson-desktop nxserver-login[3562]: DEBUG protocol:172 >>>
'Set
AUTH_MODE: PASSWORD\n'
Apr 8 09:10:07 lnelson-desktop nxserver-login[3562]: DEBUG protocol:172 >>>
'NX> 105 '
Apr 8 09:10:07 lnelson-desktop nxserver-login[3562]: DEBUG protocol:227 <<<
'login\n'
Apr 8 09:10:07 lnelson-desktop nxserver-login[3562]: DEBUG protocol:172 >>>
'Login\n'
Apr 8 09:10:07 lnelson-desktop nxserver-login[3562]: DEBUG protocol:172 >>>
'NX> 101
User: '
Apr 8 09:10:07 lnelson-desktop nxserver-login[3562]: DEBUG protocol:227 <<<
'nx\n'
Apr 8 09:10:07 lnelson-desktop nxserver-login[3562]: DEBUG protocol:172 >>>
'nx\n'
Apr 8 09:10:07 lnelson-desktop nxserver-login[3562]: DEBUG protocol:172 >>>
'NX> 102
Password: '
Apr 8 09:10:07 lnelson-desktop nxserver-login[3562]: DEBUG protocol:225 <<<
[hidden]
Apr 8 09:10:07 lnelson-desktop nxserver-login[3562]: DEBUG protocol:172 >>>
'**********\n'
Apr 8 09:10:07 lnelson-desktop nxserver-login[3562]: INFO nxserver_login:253
Trying
login for user 'nx' using auth method 'su'
Apr 8 09:10:07 lnelson-desktop nxserver-login[3562]: DEBUG auth:50
Authenticating as
'nx', running ['/usr/local/lib/neatx/nxserver', '--proto=3030000', '--', 'nx']
Apr 8 09:10:07 lnelson-desktop nxserver-login[3562]: DEBUG auth:53 Auth command
['/usr/local/lib/neatx/ttysetup', '/bin/su', 'nx', '-c', 'cd &&
/usr/local/lib/neatx/nxserver --proto=3030000 -- nx']
Apr 8 09:10:07 lnelson-desktop nxserver-login-wrapper[3574]: Called with args:
-c cd
&& /usr/local/lib/neatx/nxserver --proto=3030000 -- nx
Apr 8 09:10:07 lnelson-desktop nxserver-login-wrapper[3574]: Started
/usr/local/lib/neatx/nxserver-login -c cd && /usr/local/lib/neatx/nxserver
--proto=3030000 -- nx
Apr 8 09:10:07 lnelson-desktop nxserver-login-wrapper[3574]: Usage
Apr 8 09:10:07 lnelson-desktop nxserver-login-wrapper[3574]: =====
Apr 8 09:10:07 lnelson-desktop nxserver-login-wrapper[3574]: nxserver-login
[options]
Apr 8 09:10:07 lnelson-desktop nxserver-login-wrapper[3574]: nxserver-login:
error:
no such option: -c
Apr 8 09:10:07 lnelson-desktop nxserver-login-wrapper[3574]: EOF on stderr,
exiting
Apr 8 09:10:07 lnelson-desktop nxserver-login-wrapper[3574]: EOF on stderr,
exiting
Apr 8 09:10:07 lnelson-desktop nxserver-login[3562]: ERROR nxserver_login:265
Authentication failed
Apr 8 09:10:07 lnelson-desktop nxserver-login[3562]: Traceback (most recent
call last):
Apr 8 09:10:07 lnelson-desktop nxserver-login[3562]: File
"/usr/local/lib/python2.6/dist-packages/neatx/app/nxserver_login.py", line 263,
in
_TryLogin
Apr 8 09:10:07 lnelson-desktop nxserver-login[3562]:
authenticator.AuthenticateAndRun(username, password, args)
Apr 8 09:10:07 lnelson-desktop nxserver-login[3562]: File
"/usr/local/lib/python2.6/dist-packages/neatx/auth.py", line 116, in
AuthenticateAndRun
Apr 8 09:10:07 lnelson-desktop nxserver-login[3562]: child.exitstatus,
child.signalstatus))
Apr 8 09:10:07 lnelson-desktop nxserver-login[3562]: AuthFailedError:
Authentication
failed (output='Password:', exitstatus=None, signum=None)
Apr 8 09:10:07 lnelson-desktop nxserver-login[3562]: DEBUG protocol:172 >>>
'NX> 404
ERROR: wrong password or login.\n'
Apr 8 09:10:07 lnelson-desktop nxserver-login-wrapper[3557]: EOF on stderr,
exiting
r59:
Apr 8 08:44:55 lnelson-desktop nxserver-login-wrapper[1739]: Called with args:
Apr 8 08:44:55 lnelson-desktop nxserver-login-wrapper[1739]: Started /usr/local
/lib/neatx/nxserver-login
Apr 8 08:44:55 lnelson-desktop nxserver-login[1744]: DEBUG protocol:172 >>> 'HE
LLO NXSERVER - Version 3.3.0 - GPL\n'
Apr 8 08:44:55 lnelson-desktop nxserver-login[1744]: DEBUG protocol:172 >>> 'NX
> 105 '
Apr 8 08:44:55 lnelson-desktop nxserver-login[1744]: DEBUG protocol:227 <<< 'he
llo NXCLIENT - Version 3.3.0\n'
Apr 8 08:44:55 lnelson-desktop nxserver-login[1744]: DEBUG protocol:172 >>> 'He
llo nxclient - version 3.3.0\n'
Apr 8 08:44:55 lnelson-desktop nxserver-login[1744]: DEBUG nxserver_login:111 G
ot client protocol version 3030000 ('3.3.0'), want 3030000
Apr 8 08:44:55 lnelson-desktop nxserver-login[1744]: DEBUG protocol:172 >>> 'NX
> 134 Accepted protocol: 3.3.0\n'
Apr 8 08:44:55 lnelson-desktop nxserver-login[1744]: DEBUG protocol:172 >>> 'NX
> 105 '
Apr 8 08:44:55 lnelson-desktop nxserver-login[1744]: DEBUG protocol:227 <<< 'SE
T SHELL_MODE SHELL\n'
Apr 8 08:44:55 lnelson-desktop nxserver-login[1744]: DEBUG protocol:172 >>> 'Se
t SHELL_MODE: SHELL\n'
Apr 8 08:44:55 lnelson-desktop nxserver-login[1744]: DEBUG protocol:172 >>> 'NX
> 105 '
Apr 8 08:44:55 lnelson-desktop nxserver-login[1744]: DEBUG protocol:227 <<< 'SE
T AUTH_MODE PASSWORD\n'
Apr 8 08:44:55 lnelson-desktop nxserver-login[1744]: DEBUG protocol:172 >>> 'Se
t AUTH_MODE: PASSWORD\n'
Apr 8 08:44:55 lnelson-desktop nxserver-login[1744]: DEBUG protocol:172 >>> 'NX
> 105 '
Apr 8 08:44:55 lnelson-desktop nxserver-login[1744]: DEBUG protocol:227 <<< 'lo
gin\n'
Apr 8 08:44:55 lnelson-desktop nxserver-login[1744]: DEBUG protocol:172 >>> 'Lo
gin\n'
Apr 8 08:44:55 lnelson-desktop nxserver-login[1744]: DEBUG protocol:172 >>>
'NX> 101
User: '
Apr 8 08:44:55 lnelson-desktop nxserver-login[1744]: DEBUG protocol:227 <<<
'nx\n'
Apr 8 08:44:55 lnelson-desktop nxserver-login[1744]: DEBUG protocol:172 >>>
'nx\n'
Apr 8 08:44:55 lnelson-desktop nxserver-login[1744]: DEBUG protocol:172 >>>
'NX> 102
Password: '
Apr 8 08:44:55 lnelson-desktop nxserver-login[1744]: DEBUG protocol:225 <<<
[hidden]
Apr 8 08:44:55 lnelson-desktop nxserver-login[1744]: DEBUG protocol:172 >>>
'**********\n'
Apr 8 08:44:55 lnelson-desktop nxserver-login[1744]: INFO nxserver_login:253
Trying
login for user 'nx' using auth method 'su'
Apr 8 08:44:55 lnelson-desktop nxserver-login[1744]: DEBUG auth:50
Authenticating as
'nx', running ['/usr/local/lib/neatx/nxserver', '--proto=3030000', '--', 'nx']
Apr 8 08:44:55 lnelson-desktop nxserver-login[1744]: DEBUG auth:53 Auth command
['/usr/local/lib/neatx/ttysetup', '/bin/su', 'nx', '-c', 'cd &&
/usr/local/lib/neatx/nxserver --proto=3030000 -- nx']
Apr 8 08:44:56 lnelson-desktop nxserver-login-wrapper[1756]: Called with args:
-c cd
&& /usr/local/lib/neatx/nxserver --proto=3030000 -- nx
Apr 8 08:44:56 lnelson-desktop nxserver-login-wrapper[1756]: Started
/usr/local/lib/neatx/nxserver-login -c cd && /usr/local/lib/neatx/nxserver
--proto=3030000 -- nx
Apr 8 08:44:56 lnelson-desktop nxserver-login-wrapper[1756]: Usage
Apr 8 08:44:56 lnelson-desktop nxserver-login-wrapper[1756]: =====
Apr 8 08:44:56 lnelson-desktop nxserver-login-wrapper[1756]: nxserver-login
[options]
Apr 8 08:44:56 lnelson-desktop nxserver-login-wrapper[1756]: nxserver-login:
error:
no such option: -c
Apr 8 08:44:56 lnelson-desktop nxserver-login-wrapper[1756]: EOF on stderr,
exiting
Apr 8 08:44:56 lnelson-desktop nxserver-login[1744]: ERROR nxserver_login:265
Authentication failed
Apr 8 08:44:56 lnelson-desktop nxserver-login[1744]: Traceback (most recent
call last):
Apr 8 08:44:56 lnelson-desktop nxserver-login[1744]: File
"/usr/local/lib/python2.6/dist-packages/neatx/app/nxserver_login.py", line 263,
in
_TryLogin
Apr 8 08:44:56 lnelson-desktop nxserver-login[1744]:
authenticator.AuthenticateAndRun(username, password, args)
Apr 8 08:44:56 lnelson-desktop nxserver-login[1744]: File
"/usr/local/lib/python2.6/dist-packages/neatx/auth.py", line 116, in
AuthenticateAndRun
Apr 8 08:44:56 lnelson-desktop nxserver-login[1744]: child.exitstatus,
child.signalstatus))
Apr 8 08:44:56 lnelson-desktop nxserver-login[1744]: AuthFailedError:
Authentication
failed (output='Password:', exitstatus=None, signum=None)
Apr 8 08:44:56 lnelson-desktop nxserver-login[1744]: DEBUG protocol:172 >>>
'NX> 404
ERROR: wrong password or login.\n'
Apr 8 08:44:56 lnelson-desktop nxserver-login-wrapper[1739]: EOF on stderr,
exiting
This is the Ubuntu install image, downloaded on 4/7/2010:
ubuntu-10.04-beta1-desktop-i386.iso
These are the versions tried:
> svn info
Path: .
URL: http://neatx.googlecode.com/svn/trunk
Repository Root: http://neatx.googlecode.com/svn
Repository UUID: b50b1b54-5739-11de-8832-3f4c773c73ae
Revision: 58
Node Kind: directory
Schedule: normal
Last Changed Author: kormat
Last Changed Rev: 58
Last Changed Date: 2010-02-19 09:15:53 -0700 (Fri, 19 Feb 2010)
> svn info
Path: .
URL: http://neatx.googlecode.com/svn/trunk
Repository Root: http://neatx.googlecode.com/svn
Repository UUID: b50b1b54-5739-11de-8832-3f4c773c73ae
Revision: 59
Node Kind: directory
Schedule: normal
Last Changed Author: kormat
Last Changed Rev: 59
Last Changed Date: 2010-02-25 08:47:04 -0700 (Thu, 25 Feb 2010)
Original comment by [email protected]
on 8 Apr 2010 at 10:07
from neatx.
This turned out to be a quoting problem. I had to add single quotes within the
double quotes around $@ in this line in nxserver-login-wrapper:
exec /usr/local/lib/neatx/nxserver-login "'$@'" 2>&1 >&3 | {
I haven't yet tried to figure out how to fix the auto-generation process so
that it
gets created correctly.
Original comment by [email protected]
on 9 Apr 2010 at 11:26
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.