![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
Ubuntu 9.10 is out!!!
When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu. The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely. |
|
Desktop Environments Support for your Ubuntu desktop. Including Gnome, KDE and XFCE. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Just Give Me the Beans!
![]() Join Date: Jun 2006
Beans: 53
|
Hi everybody
I am actually a bit frustrated...spend hours to get run nxserver but with no real luck... I followed this guide (but I let the port by 22) and now I get the following message when I try a local connection (localhost): Code:
NX> 203 NXSSH running with pid: 25229 NX> 285 Enabling check on switch command NX> 285 Enabling skip of SSH config files NX> 200 Connected to address: 127.0.0.1 on port: 22 NX> 211 The authenticity of host 'localhost (127.0.0.1)' can't be established. RSA key fingerprint is 88:b6:f1:ae:9:5b:e0:a3:fc:7c. Are you sure you want to continue connecting (yes/no)? Failed to add the host to the list of known hosts (/home/squirrel/.ssh/known_hosts). NX> 202 Authenticating user: nx NX> 208 Using auth method: publickey HELLO NXSERVER - Version 1.4.0-45-SVN OS (GPL) NX> 105 hello NXCLIENT - Version 1.5.0 NX> 134 Accepted protocol: 1.5.0 NX> 105 SET SHELL_MODE SHELL NX> 105 SET AUTH_MODE PASSWORD NX> 105 login NX> 101 User: squirrel NX> 102 Password: NX> 103 Welcome to: squirrel-desktop user: squirrel NX> 105 listsession --user="squirrel" --status="suspended,running" --geometry="1920x1200x24+render" --type="unix-gnome" NX> 127 Sessions list of user 'squirrel' for reconnect: Display Type Session ID Options Depth Screen Status Session Name ------- ---------------- -------------------------------- -------- ----- -------------- ----------- ------------------------------ NX> 148 Server capacity: not reached for user: squirrel NX> 105 startsession --session="me" --type="unix-gnome" --cache="8M" --images="32M" --cookie="******" --link="lan" --kbtype="pc105/de" --nodelay="1" --backingstore="when_requested" --geometry="1024x768+448+190" --media="0" --agent_server="" --agent_user="" agent_password="******"" --screeninfo="1024x768x24+render" Permission denied (publickey,password). Killed by signal 15. Any help or hint would be very appreciated. |
|
|
|
|
|
#2 |
|
First Cup of Ubuntu
![]() Join Date: Jun 2006
My beans are hidden!
|
Re: NXserver
Ok, I've fought with this off and on for a-while, but I finally found the right combination. First of all, forget freeNX. The NoMachine folks have released a "desktop" edition of their latest product called "NX Desktop Server" that is free for personal use (2 users/connections).
Before proceeding, be sure to *completely* remove any previous versions of any of the FreeNX files or libraries. Undo what you have already done, and remove the FreeNX source URLs from your /etc/apt/sources.list. ----------------------- Step 1 - Download ----------------------- Download "NX Desktop Server DEB for Linux" from: http://www.nomachine.com/select-pack...?os=linux&id=1 Download "NX Node DEB for Linux" from: http://www.nomachine.com/download-node.php?os=linux Download "NX Client DEB for Linux" from: http://www.nomachine.com/download-client-linux.php ----------------------- Step 2 - Install ----------------------- Install the DEB files in this order: nxclient nxnode nxserver I just right-clicked on them and installed them...use apt-get if you prefer. ----------------------- Step 3 - Configure ----------------------- Load up your /etc/ssh/sshd_config file into an editor: sudo nano /etc/ssh/sshd_config Add the following line & save the file AuthorizedKeysFile /usr/NX/home/nx/.ssh/authorized_keys2 Restart sshd by typing: sudo /etc/init.d/ssh restart Verify nxserver is configured properly by typing: sudo /usr/NX/bin/nxserver --status This should return: NX> 900 Connecting to server .. NX> 110 NX Server is running. NX> 999 Bye. If you get any errors here, then something is wrong with your configuration. If not, then NX Desktop Server should be installed. Before anyone complains, yes, I'm using the NoMachine server key just because it's easy. If you want to generate your own key, you can. These instructions worked for me on Dapper....YMMV. Let me know if you have trouble.....hopefully my notes were correct. Good luck! Last edited by jkbrowne; June 28th, 2006 at 04:38 PM.. |
|
|
|
|
|
#3 |
|
Just Give Me the Beans!
![]() Join Date: Jun 2006
Beans: 53
|
Re: NXserver
Hi jkbrowne
Thank you so much for your help! It's quite frustrating with those dozens different guides that not work. I think I am almost there, after the handshake I get the following message and then the message details... Code:
Info: Display running with pid '2748' and handler '0x150372'. NXPROXY - Version 2.0.0 Copyright (C) 2001, 2006 NoMachine. See http://www.nomachine.com/ for more information. Info: Proxy running in client mode with pid '3400'. Session: Starting session at 'Wed Jun 28 10:38:18 2006'. Info: Connecting to remote host '84.72.175.164:5002'. Info: Aborting the procedure due to signal '15'. Error: Couldn't kill the dialog process with pid '1960'. Session: Session terminated at 'Wed Jun 28 10:38:48 2006'. Update ==== Maybe it's the DMZ from my company...but I tried it actually with another PC outside the LAN and get the following failure Code:
Info: Proxy running in client mode with pid '356'. Session: Starting session at 'Wed Jun 28 21:37:50 2006'. Info: Connecting to remote host '217.16.104:5008'. Info: Connection to remote proxy '217.16.104:5008' established. Info: Synchronizing local and remote caches. Info: Handshaking with remote proxy completed. Info: Using adsl link parameters 512/24/1/0. Info: Using cache parameters 4/4194304/8192KB/8192KB. Info: Using image streaming parameters 50/128/1024KB/2048/256. Info: Using image cache parameters 1/1/32768KB. Info: Using pack method '16m-jpeg-7' with session 'unix-gnome'. Info: Using product 'LDS/None/LDSN/None'. Info: Using ZLIB data compression 3/3/0. Info: Using ZLIB stream compression 6/6. Info: No suitable cache file found. Info: Using remote server '217.162.104:5008'. Info: Listening for font server connections on port '11008'. Session: Session started at 'Wed Jun 28 21:37:51 2006'. Error: Connection to ':0' failed. Error is 2 'No such file or directory'. Error: Failure reading from the peer proxy. Error: Connection with remote peer broken. Error: Please check the state of your network and retry. Session: Session terminated at 'Wed Jun 28 21:37:55 2006'. Last edited by The Devil Is A Squirrel; July 28th, 2006 at 05:03 PM.. |
|
|
|
|
|
#4 |
|
Gee! These Aren't Roasted!
![]() Join Date: Jun 2006
Beans: 156
|
Re: NXserver
evan@evan-ubuntu:~$ /etc/init.d/ssh restart
bash: /etc/init.d/ssh: No such file or directory Anything? |
|
|
|
|
|
#5 |
|
First Cup of Ubuntu
![]() Join Date: Jun 2006
Beans: 2
|
Re: NXserver
Works great!!! I had it up and running in 3 minutes. Know I can connect from my Gentoo laptop to my Ubuntu dapper workstation. Thank you very much
|
|
|
|
|
|
#6 |
|
First Cup of Ubuntu
![]() Join Date: Jun 2006
My beans are hidden!
|
Re: NXserver
gurgle:
Sorry, I forgot to mention that you need the ssh package installed beforehand. Be sure it's installed, and then you should be able to continue with the NX installation instructions. |
|
|
|
|
|
#7 |
|
First Cup of Ubuntu
![]() Join Date: Jun 2006
My beans are hidden!
|
Re: NXserver
Squirrel:
You definitely should be testing the connection locally (at home), to eliminate firewalls from the equation. Are you running it on the default port 22? I'm not sure what's up exactly, but looking at one of your logs: Info: Connecting to remote host '217.16.104:5008'. The ip address is missing the 4th octet....this says to me it's attempting to connect to 217.16.104 (which is an incomplete ip address). Check your configuration & verify the address is correct. |
|
|
|
|
|
#8 |
|
Just Give Me the Beans!
![]() Join Date: Jun 2006
Beans: 53
|
Re: NXserver
Hi jkbrowne
yeah, that's correct because I had removed the digits in the post (maybe paranoid)... Actually I remove everything and try it again... Thanks for your help!! ![]() Update ==== Finally! It runs local, now I will test the remote part... Question: Will it work in a DMZ or other firewalled environment? Or is it "just like" VNC? Last edited by The Devil Is A Squirrel; June 28th, 2006 at 04:43 PM.. |
|
|
|
|
|
#9 |
|
A Carafe of Ubuntu
![]() Join Date: Dec 2005
Beans: 118
|
Re: NXserver
Why do they insist on installing in /usr/NX? Very annoying.
|
|
|
|
|
|
#10 |
|
First Cup of Ubuntu
![]() Join Date: Jun 2006
My beans are hidden!
|
Re: NXserver
Not sure....but I agree, it shouldn't go to /usr/NX. /opt/NX would be my vote, based on the FHS standard.
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|