@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7 8 9



Comments:

<0> or ask your local system administrator.
<0> freenx 0.4.1
<1> oh are you not the nx user?
<0> no
<1> do it as the nx user
<0> nxsetup created user 'nx'
<1> nxserver --adduser graz; nxserver --p***wd graz
<0> hmmm
<0> I su'd nx
<0> dumped me into a NX> shell
<0> su nx -c "nxserver --adduser ardy; nxserver --p***wd ardy"
<0> NXSERVER - Version 1.4.0-04-CVS OS (GPL)
<0> Usage: nxserver <option>
<0> --p***wd: Change p***word
<1> hrmm
<0> su - nx



<0> HELLO NXSERVER - Version 1.4.0-04-CVS OS (GPL)
<0> NX> 105
<1> whats its shell set to?
<0> ali3nx:x:1001:100::/var/lib/nxserver/home:/usr/bin/nxserver
<0> nx:x:1001:100::/var/lib/nxserver/home:/usr/bin/nxserver
<1> so try changing its shell to bash temporarily
<1> maybe it works differently now. i don't know. this is how i got it workin
<0> grep nx /etc/shadow
<0> ali3nx:!:13345:0:99999:7:::
<0> nx:!:13345:0:99999:7:::
<0> is the nx user supposed to be a valid login?
<1> no
<1> its ssh key only
<0> sshd[20131]: User nx not allowed because account is locked
<0> from syslog
<1> hrmm
<0> thats what I get when trying from the win nx client
<0> the login fails obviously
<1> don't get ahead of yourself though
<0> nod
<1> did you adduser and p***wd nxserver?
<1> for graz?
<0> I did as you said
<0> s/graz/ardy/
<1> and did it work successfully?
<0> I dont think so
<1> there's a p***word file for nx look in /etc/nxserver/p***words
<0> 0 bytes
<1> then adduser didn't work
<0> ooooooooo
<0> I did it as rroot
<0> seemed to work
<0> ok
<0> user added with p***
<1> graz: yes nxserver --p***wd ardy
<1> graz: ok now try connecting
<0> Jul 16 20:24:17 ws.rdb.linux-help.org sshd[20207]: User nx not allowed because account is locked
<0> Jul 16 20:24:17 ws.rdb.linux-help.org sshd[20207]: Failed none for invalid user nx from 192.168.1.3 port 1054 ssh2
<0> in the win client I'm logging in as ardy
<1> graz: ok so changed the p***word from ! to *
<0> in /etc/shadow?
<1> for nx in /etc/shadow
<1> yeah
<0> done, retrying win client
<0> nada
<1> whats it say now?
<0> nothing
<0> no error in syslog
<1> in the nx client
<1> it has a button to give details on the connection
<0> if th3re's no node.conf, will this fail?
<1> yeah you need a node.conf
<0> ..using auth method publickey
<0> auth failed
<1> does the public key exist in the .ssh directory of the nx user?
<1> public and private key pair
<1> you can use your own but you'll have to copy it to each of your nx clients
<2> hey for those of you who use VNC...when you connect machinename:2, what is the significance of the ":2" and does it change the port by any chance?
<1> tinaa: yes it change the port it connects to
<1> tinaa: :0 being port 6000. :2 6002
<2> thank you



<1> hrmm actually thats X i think vnc uses a different port base
<2> yeah im googling it right now...gotta open this baby up on my firewall :D
<2> 5900
<2> thanks :D
<1> yeah so :2 is 5902
<2> okay so now that thats done....i get to have pizza :D
<1> mmm pizza
<0> hmmm
<2> dont worry ill share
<0> having node.conf didnt help
<1> graz: hrmm do you have a .nx directory in ~ardy
<0> no
<1> ok so its not getting p***ed the nx user yet
<0> correct
<1> graz: ok do you have a .ssh in ~nx ?
<0> is there supposed to be a daemon running on the server?
<1> no not until you get a running session up
<0> /var/lib/nxserver/home/.ssh
<1> ok whats in it?
<0> authorized_keys2 client.id_dsa.key known_hosts server.id_dsa.pub.key
<1> what does your authorized_keys2 end in? SI7cjzA+SqNfD7qEo8= root@nettuno
<1> graz: did you change the shell of the nx user back to nxserver?
<0> root@ws
<0> I never changed the shell
<1> good
<1> do permissions look good?
<1> 700/600
<0> on?
<1> 700 .ssh 600 on the files
<0> -rw------- 1 nx root 678 2006-07-16 19:53 authorized_keys2
<0> -rw------- 1 nx root 664 2006-07-16 19:53 client.id_dsa.key
<0> -rw-r--r-- 1 nx root 220 2006-07-16 19:53 known_hosts
<0> -rw------- 1 nx root 593 2006-07-16 19:53 server.id_dsa.pub.key
<0> 700 on .ssh
<1> hrmm
<1> graz: ok increase logging in the node.conf
<0> its set to 6
<1> graz: NX_LOG_LEVEL=7
<0> I havent run nxserver --start
<1> ok do that. all it does is move a ssh key in or out of the way
<1> there is no constantly running daemon for nx
<0> set to 7 now
<0> nothing in the log, same failed login
<1> make sure the nxserver.log is writeable by nx
<0> nothing in syslog
<0> it is
<1> whats the error?
<0> -rw------- 1 nx root 0 2006-07-16 19:53 /var/log/nxserver.log
<0> NX> 202 Authenticating user: nx
<0> NX> 208 Using auth method: publickey
<0> NX> 204 Authentication failed.
<0> thats what the win client shows
<1> ok maybe your ssh doesn't support authorized_keys2
<1> try moving it to authorized_keys
<1> btw you never confirmed whether or not it matches what i listed earlier
<0> auth_keys2 is supported
<0> I told you, root@ws
<1> no no the key part
<1> i bet it doesn't end in SI7cjzA+SqNfD7qEo8=
<0> scyb4TcZqdjUSVqKIqG root@ws
<1> thats your problem
<0> dss
<0> err dsa
<0> not rsa
<1> nxsetup made its own key rather than using one nomachine provides
<0> can I use the system sshd host key instead?
<1> which is no biggie but you gotta copy the private key in to the nx client
<1> no
<1> see the client.id_dsa.key ?
<1> copy the contents of that in to the key field in the client
<0> oh thats what that meant
<0> Warning: Clients will not be able to login to this server with the standard key.
<0> Please replace /usr/NX/share/client.id_dsa.key on all clients you want
<0> to use with /var/lib/nxserver/home/.ssh/client.id_dsa.key


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #linuxhelp
or
Go to some related logs:

password for mikeinbrazil.com
#computers
gentoo emerge error compiling firebird
#linux-noob
#nhl
#politics
stoneshampton81keithchopmd.mov
#dsl
#tcl
#sex



Home  |  disclaimer  |  contact  |  submit quotes