Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
HOWTO: Install freenx
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 11, 12, 13 ... 28, 29, 30  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
StifflerStealth
l33t
l33t


Joined: 03 Jul 2002
Posts: 968

PostPosted: Fri Sep 02, 2005 12:01 am    Post subject: Reply with quote

Did you try doing:
nxsetup --clean --setup-nomachine-key --install

That will reinstall the nx user and the ssh keys using the default one that comes with the client. I think the keys changed from 1.4.0 and 1.5.0.
_________________
Nothing to read in this sig. Move along.
Back to top
View user's profile Send private message
alinv
Guru
Guru


Joined: 19 Nov 2002
Posts: 395
Location: Bucharest

PostPosted: Fri Sep 02, 2005 12:07 am    Post subject: Reply with quote

StifflerStealth wrote:
In other news. I updated all the ebuilds to reflect newer versions of the components that was released.
nxclient upgraded from 103 to 106
nxcomp upgraded from 63 to 65
nxssh upgraded from 19 to 21
nxagent upgraded from 87 to 90
nxdesktop upgraded from 59 to 61


nx-x11-1.5.0-r2.ebuild still refers nxdesktop-1.5.0-59
_________________
Ever tried. Ever failed. No matter. Try Again. Fail again. Fail better.
S.B.
Back to top
View user's profile Send private message
alinv
Guru
Guru


Joined: 19 Nov 2002
Posts: 395
Location: Bucharest

PostPosted: Fri Sep 02, 2005 12:11 am    Post subject: Reply with quote

StifflerStealth wrote:
Did you try doing:
nxsetup --clean --setup-nomachine-key --install

That will reinstall the nx user and the ssh keys using the default one that comes with the client. I think the keys changed from 1.4.0 and 1.5.0.


It still cannot find the default key (/usr/NX/share/keys/server.id_dsa.key)

Thanks,
Alin
_________________
Ever tried. Ever failed. No matter. Try Again. Fail again. Fail better.
S.B.
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 2858
Location: Bay Area, CA

PostPosted: Fri Sep 02, 2005 12:46 am    Post subject: Reply with quote

you just run the nxkeygen program on the server as root. It will create two keys in /usr/NX/home/nx/.ssh and cat the server key to authorized_keys file. You go to that directory and ftp the client key from there to your client machine. Put it anywhere. Invoke nxclient and right next to hostname there is a 'key' button. Click it and import the key you just ftp'ed. Should set it right.

One more important thing: you have to delete and re-add users using nxserver so that the new server key can be concatenated into ~/.ssh/authorized_keys file of the added users. Probably this is the step which most people forget and then the user can't login because the changed key is not present in the authorized_keys.
Back to top
View user's profile Send private message
StifflerStealth
l33t
l33t


Joined: 03 Jul 2002
Posts: 968

PostPosted: Fri Sep 02, 2005 1:50 am    Post subject: Reply with quote

alinv wrote:
nx-x11-1.5.0-r2.ebuild still refers nxdesktop-1.5.0-59

Thanks. I missed that. :oops: It should be corrected here: https://bugs.gentoo.org/attachment.cgi?id=67454 Sorry about that. It's been a long week so far. :P
_________________
Nothing to read in this sig. Move along.
Back to top
View user's profile Send private message
sibov
Tux's lil' helper
Tux's lil' helper


Joined: 09 Feb 2004
Posts: 147
Location: Germany

PostPosted: Fri Sep 02, 2005 3:45 pm    Post subject: Reply with quote

Hi,

I was able to successfully install with the above mentioned PortageOverlay for nxserver-freenx-0.4.4 but
if i type #>
Code:
nxserver --help


i got

Code:
NXSERVER - Version 1.4.0-44 OS (GPL)
Usage: nxserver <option>
--adduser <user>: Add a new user
--passwd <user>: Change password of <user>
--deluser <user>: Remove a user from nx
--listuser: List enabled users



is that normal??? I thought it must be something with 1.5.x-xx (CVS)... :roll:
or am i wrong?

Thanks for a replay,
regards sibov
_________________
Gentoo 2.6.17-gentoo-r5 with dmraid Raid0 Dualboot
AMD64 X2 3800+, 4x512MB DDR PC3200Pro Corsair Geforce EN6600GT silencer @ 256MB
4x250GB SATAII Samsung SP120, Asus A8N Premium, Plextor PX712SA DVDRW
Logitech Dinovo, SB Audigy4
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 2858
Location: Bay Area, CA

PostPosted: Fri Sep 02, 2005 3:58 pm    Post subject: Reply with quote

understood the post wrong. removed.

Last edited by devsk on Fri Sep 02, 2005 8:48 pm; edited 1 time in total
Back to top
View user's profile Send private message
StifflerStealth
l33t
l33t


Joined: 03 Jul 2002
Posts: 968

PostPosted: Fri Sep 02, 2005 8:22 pm    Post subject: Reply with quote

Yeah, I get:
Code:
# nxserver --help
NXSERVER - Version 1.4.0-44 OS (GPL)
as well. Isn't nxserver a FreeNX script? So this would be a bug in the reporting for FreeNX maybe? I do know that the 1.5.0 components are being used though.
_________________
Nothing to read in this sig. Move along.
Back to top
View user's profile Send private message
Dlareh
Advocate
Advocate


Joined: 06 Aug 2005
Posts: 2102

PostPosted: Sun Sep 04, 2005 11:37 pm    Post subject: Reply with quote

alinv wrote:
It still cannot find the default key (/usr/NX/share/keys/server.id_dsa.key)

I have the same problem, and have tried running:
Code:
nxsetup --clean --setup-nomachine-key --install
nxsetup --clean --setup-nomachine-key --install --purge

nxkeygen

nxserver --deluser <username>
nxserver --adduser <username>
nxserver --password <username>

None of these commands create it. How do I get this damn file?

EDIT:

Well I copied /usr/NX/home/nx/.ssh/server.id_dsa.pub.key over to /usr/NX/share/keys/server.id_dsa.key just to get rid of that damn message. I'm guessing the default is not important.

I have two machines with both the client and server installed. Regardless of which I use to access wich machine (four possible combinations), both with and without the /usr/NX/nx/.ssh/client.id_dsa.key imported into nxclient udner "Configure ..." "Key...", I allways get this error:
Code:
NX> 203 NXSSH running with pid: 13042
NX> 285 Enabling check on switch command
NX> 285 Enabling skip of SSH config files
NX> 200 Connected to address: <ip> on port: 22
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
NX> 204 Authentication failed.

What am I missing?
_________________
"Mr Thomas Edison has been up on the two previous nights discovering 'a bug' in his phonograph." --Pall Mall Gazette (1889)
Are we THERE yet?
Back to top
View user's profile Send private message
rufflove
n00b
n00b


Joined: 22 Aug 2005
Posts: 9
Location: The Wooly Wilds of Northern England

PostPosted: Wed Sep 07, 2005 1:15 am    Post subject: Reply with quote

Dlareh, have you tried nuking your .nx folders on the server and client boxes, before running 'nxsetup --clean --setup-nomachine-key --install --purge'?

StifflerStealth, thank you very much for the new ebuilds! I'm using the v1.5 Windows client and FreeNX is performing admirably atm. Getting audio support working was dead easy, I just did added esd to my USE flags and did 'emerge --newuse libgnome libao esound'. I presumed it would be much more tricky considering the box has no soundcard and Gentoo was compiled without any audio support...

I tested audio support with the Last.fm player and it definately has an impact on interactivity (I wish that NX would just consume more bandwidth - it never uses more than about a meg on my LAN connection), but its OK for system notifications etc.

... Bye-bye VNC! :o :D
_________________
"Even a stopped clock tells the right time twice a day."
Back to top
View user's profile Send private message
Dlareh
Advocate
Advocate


Joined: 06 Aug 2005
Posts: 2102

PostPosted: Wed Sep 07, 2005 2:15 am    Post subject: Reply with quote

rufflove wrote:
Dlareh, have you tried nuking your .nx folders on the server and client boxes, before running 'nxsetup --clean --setup-nomachine-key --install --purge'?

Yes, no effect. I really wish nxclient would just run something like:
Code:
ssh user@host:/usr/NX/bin/nxserver

And be done with it. This nxssh, having an "nx" user, and relying on keys is total crap.
_________________
"Mr Thomas Edison has been up on the two previous nights discovering 'a bug' in his phonograph." --Pall Mall Gazette (1889)
Are we THERE yet?
Back to top
View user's profile Send private message
m27315
Apprentice
Apprentice


Joined: 10 Dec 2004
Posts: 253
Location: 2 workstations down

PostPosted: Wed Sep 07, 2005 4:49 pm    Post subject: slight interruption Reply with quote

For the sake of us noobs, would someone please explain how to do the overlay process? I have never done it before, and I am unfamiliar with the whole process.

I have freenx running fine on my gentoo box, using an Windows XP client - and it's great! But, I'd like to try the new versions, so I could play with the new resume/suspend features.

Would someone mind posting an informal howto? I'm completely confused after reading this entire thread and examining the various bug pages. Plus, I would like to learn about the general overlay process.

Finally, how will portage deal with this overlay, whenever I perform a world update?

Thanks!
Back to top
View user's profile Send private message
StifflerStealth
l33t
l33t


Joined: 03 Jul 2002
Posts: 968

PostPosted: Wed Sep 07, 2005 9:44 pm    Post subject: Reply with quote

@rufflove: You are welcome. :D

@m27315: Download the compressed file containing the overlay and extract it in your portage overlay, usually: /usr/local/poratge. Then you can do a: emerge -uD world to update to the newest versions. Well, all the ebuild are marked as stable except for nxproxy and nxssh. I forgot to change those to stable. :oops: All the ebuild have had a revision bump, so they should install in a world update. Portage treats files in the overlay just as if they were in the actual portage tree and the overlay overrides any ebuild of the same name and revision that is in the tree.
_________________
Nothing to read in this sig. Move along.
Back to top
View user's profile Send private message
gsteff
n00b
n00b


Joined: 16 Sep 2002
Posts: 4
Location: NC

PostPosted: Thu Sep 08, 2005 11:01 am    Post subject: Reply with quote

Dlareh wrote:
rufflove wrote:
Dlareh, have you tried nuking your .nx folders on the server and client boxes, before running 'nxsetup --clean --setup-nomachine-key --install --purge'?

Yes, no effect. I really wish nxclient would just run something like:
Code:
ssh user@host:/usr/NX/bin/nxserver

And be done with it. This nxssh, having an "nx" user, and relying on keys is total crap.


I think I'm having the same problem. I've tried everything... nxsetup with and without the nomachine keys, nxkeygen, nxserver --adduser, setting that ENABLE_1_5... flag in node.conf... no luck. I'm trying to run the client on the same machine as the server, just to test; that's not a problem, is it? Has anyone gotten the latest overlay to work (i.e nxserver-freenx 0.4.4 with nxclient 1.5.0-r1)? The client always dies with the detailed message:

Code:
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
NX> 204 Authentication failed.


Anyone know what to do? Is it a bug?
Back to top
View user's profile Send private message
Diavolo
Apprentice
Apprentice


Joined: 09 Jan 2005
Posts: 151

PostPosted: Thu Sep 08, 2005 2:51 pm    Post subject: Reply with quote

Hi,

I just emerged the ebuilds and nx works fine. Finally I am able to resume a session....
The only thing that disturbs me are the font sizes on KDE via nx. The fonts are shown very small on nx.

Can someone help me?
Back to top
View user's profile Send private message
arjay1
n00b
n00b


Joined: 24 Aug 2005
Posts: 57
Location: Coin, Spain

PostPosted: Thu Sep 08, 2005 6:04 pm    Post subject: Reply with quote

gsteff - I get exactly the same problem and have tried everything ever posted (well nearly). My client is on a gentoo box and the server on a debian box but can't see what probs that should cause.

For your info - I thought it must be a problem between my client and server setups. So I went to nomachine's site and created one of their temporary testdrive accounts. This allows you to log onto another server and "testdrive" your client. Guess what - I get exactly the same errors as before when trying to connect to my own server:


I get "Server not install or Remote Access Disabled."
Code:
NX> 203 NXSSH running with pid: 5383
NX> 285 Enabling check on switch command
NX> 285 Enabling skip of SSH config files
NX> 200 Connected to address: 151.1.143.116 on port: 22
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
NX> 204 Authentication failed.


This suggests, does it not, that the problem is with the client setup - no? I can't see what it could be - it is all menu driven and I have changed nothing.

Has anyone else tried the test account? It only takes 5 minutes to get a login and PW. Worth a try?

EDIT: My problem was definitely with nxclient NOT nxserver. I installed nx client on another machine and was able to log on and test nxclient with two other servers using nomachine test accounts. They worked fine. I came back to this machine - unemerged nxclient and re-emerged it. Then I was able to connect to the nomachine test servers with perfect results.

I still can't connect to my own server running nxserver but that is another story!!!!!!!!!

I would advise anyone having similar problems to get a test account from nomachine.com and try your installation of nxclient first

RJ (Newbie)
Back to top
View user's profile Send private message
m27315
Apprentice
Apprentice


Joined: 10 Dec 2004
Posts: 253
Location: 2 workstations down

PostPosted: Sun Sep 11, 2005 3:33 am    Post subject: Reply with quote

StifflerStealth wrote:
@m27315: Download the compressed file containing the overlay and extract it in your portage overlay, usually: /usr/local/poratge. Then you can do a: emerge -uD world to update to the newest versions. Well, all the ebuild are marked as stable except for nxproxy and nxssh. I forgot to change those to stable. :oops: All the ebuild have had a revision bump, so they should install in a world update. Portage treats files in the overlay just as if they were in the actual portage tree and the overlay overrides any ebuild of the same name and revision that is in the tree.


Ok, I was a little new to the whole portage "overlay" concept. For the sake of other noobs, here's what I did:

Read this: http://www.gentoo.org/doc/en/handbook/2005.1/handbook-x86.xml?part=3&chap=5#doc_chap2

Then did this on my box:
Code:
$ mkdir /usr/local/portage

... downloaded and installed following file into newly created dir: https://bugs.gentoo.org/attachment.cgi?id=67454 ...
Code:
$ bunzip2 'New NX and FreeNX ebuilds.tar.bz2'
$ tar -xvf 'New NX and FreeNX ebuilds.tar'
$ rm 'New NX and FreeNX ebuilds.tar'

... This creates net-misc portage overlay tree, containing customized ebuild info for freenx. Unfortunately, as mentioned in previous post, some of these require the "~x86" KEYWORD, because they are marked as unstable. At first I tried to update world as StifflerStealth mentioned, accepting unstable stuff, but that wanted to emerge a lot more unstable stuff:
Code:
$ ACCEPT_KEYWORDS="~x86" emerge -pvtuD nxproxy

These are the packages that I would merge, in reverse order:

Calculating dependencies ...done!
[ebuild     U ] net-misc/nxproxy-1.5.0-r1 [1.4.0-r2] 0 kB [1]
[ebuild     U ]  media-libs/jpeg-6b-r6 [6b-r5] 20 kB
[ebuild     U ]   sys-devel/libtool-1.5.20 [1.5.18-r1] 2,723 kB
[nomerge      ]    sys-devel/automake-1.9.6
[nomerge      ]     sys-devel/automake-wrapper-1-r1
[nomerge      ]      sys-devel/automake-1.5
[ebuild     U ]       sys-devel/autoconf-2.59-r7 [2.59-r6] +emacs 0 kB
[ebuild     U ]        sys-devel/autoconf-wrapper-3.1 [3-r1] 0 kB
[ebuild     U ] sys-apps/man-1.6a [1.6-r1] +nls 229 kB
[nomerge      ]  sys-process/cronbase-0.3.2
[ebuild     U ]        dev-lang/perl-5.8.7 [5.8.6-r5] +berkdb -build -debug -doc +gdbm -ithreads -minimal -perlsuid 9,608 kB
[ebuild     U ]         sys-devel/libperl-5.8.7 [5.8.6-r1] +berkdb -debug +gdbm -ithreads 0 kB
[nomerge      ]         sys-libs/db-4.2.52_p2  -bootstrap -doc +java -nocxx +tcltk
[nomerge      ]          dev-java/blackdown-jre-1.4.2.02  -browserplugin +mozilla
[ebuild     U ]           dev-java/java-config-1.2.11-r1 [1.2.11] 0 kB
[ebuild  NS   ]            dev-lang/python-2.4.1-r1  +X +berkdb -bootstrap -build -doc +gdbm +ipv6 +ncurses -nocxx +readline +ssl +tcltk -ucs2 7,663 kB
[ebuild     U ]             dev-lang/tk-8.4.11 [8.4.9] -threads 3,160 kB
[ebuild     U ]              dev-lang/tcl-8.4.11 [8.4.9] -threads 3,392 kB
[ebuild     U ] x11-terms/xterm-204 [200-r3] -Xaw3d -toolbar +truetype -unicode 698 kB
[nomerge      ]  sys-apps/utempter-0.5.5.6
[ebuild     U ]   app-arch/rpm2targz-9.0-r4 [9.0-r3] 0 kB
[ebuild     U ]    sys-apps/file-4.15 [4.13] -build +python 533 kB
[nomerge      ]              x11-base/xorg-x11-6.8.2-r2  -3dfx -3dnow +bitmap-fonts -cjk -debug -dlloader -dmx -doc -font-server -insecure-drivers +ipv6 -minimal -mmx +nls -nocxx +opengl +pam -sdk -sse -static +truetype-fonts +type1-fonts (-uclibc) -xprint +xv
[ebuild     U ]               media-libs/fontconfig-2.3.2 [2.2.3] 941 kB
[nomerge      ]               x11-misc/ttmkfdir-3.0.9-r3
[ebuild     U ]                media-libs/freetype-2.1.10 [2.1.9-r1] -bindist -doc +zlib 1,012 kB
[ebuild     U ]               x11-base/opengl-update-3.0.0 [2.2.1] 0 kB
[ebuild  N    ]                app-admin/eselect-opengl-1.0.2  41 kB
[ebuild  N    ]                 app-admin/eselect-0.9.6  +bash-completion -doc 76 kB
[ebuild     U ]               sys-apps/util-linux-2.12q-r1 [2.12i-r1] +crypt +nls -old-crypt +pam +perl (-selinux) -static 2,107 kB
[ebuild     U ]                sys-apps/pam-login-4.0.12 [3.17] -livecd +nls (-selinux) 1,056 kB
[ebuild     U ]                 sys-apps/shadow-4.0.12 [4.0.7-r3] +nls -nousuid +pam (-selinux) -skey 0 kB
[nomerge      ]                  sys-libs/pam-0.78-r2  +berkdb -nis -pam_chroot -pam_console -pam_timestamp -pwdb (-selinux)
[ebuild     U ]                   dev-util/pkgconfig-0.19 [0.17.2-r1] -hardened 700 kB
[ebuild     U ]             dev-libs/openssl-0.9.7g [0.9.7e-r1] -bindist +emacs -test +zlib 3,058 kB
[nomerge      ] sys-devel/gcc-3.3.6  (-altivec) -bootstrap -boundschecking -build +fortran -gcj -gtk -hardened -ip28 (-multilib) -multislot (-n32) (-n64) +nls -nocxx -nopie -nossp -objc -static -vanilla
[ebuild  NS   ]   sys-devel/gcc-3.4.4-r1  (-altivec) -bootstrap -boundschecking -build +fortran -gcj -gtk -hardened -ip28 (-multilib) -multislot (-n32) (-n64) +nls -nocxx -nopie -nossp -objc -static -vanilla 27,036 kB
[ebuild     U ]    sys-devel/bison-2.0 [1.875d] +nls -static 1,136 kB
[ebuild     U ]    sys-devel/binutils-2.16.1 [2.15.92.0.2-r10] -multislot -multitarget +nls -test 12,390 kB
[ebuild     U ]     sys-devel/gettext-0.14.5 [0.14.4] -doc +emacs +nls 6,939 kB
[nomerge      ]     sys-devel/binutils-config-1.8-r5
[nomerge      ]      app-shells/bash-3.0-r12  -bashlogger -build +nls
[ebuild     U ]       sys-libs/ncurses-5.4.20050319 [5.4-r6] -bootstrap -build -debug -doc +gpm -minimal -nocxx -unicode 320 kB
[ebuild     U ]        sys-libs/gpm-1.20.1-r5 [1.20.1-r4] +emacs (-selinux) 7 kB
[ebuild     U ]         sys-devel/patch-2.5.9-r1 [2.5.9] -build -static 0 kB

Total size of downloads: 84,858 kB
Portage overlays:
 [1] /usr/local/portage
Sat Sep 10 22:14:14 [root@outpost]/usr/local/portage/net-misc/nxproxy

So, I edited the ebuild files for nxproxy and nxssh, changing the KEYWORDS="~x86" to KEYWORDS="x86":

Code:
$ vi /usr/local/portage/net-misc/nxproxy/nxproxy-1.5.0-r1.ebuild
$ vi /usr/local/portage/net-misc/nxssh/nxssh-1.5.0-r1.ebuild

I was able to move forward, but now I am encountering another error trying to download the sourcecode for nxproxy:

Code:
$ emerge -uD nxserver-freenx nxproxy nx-x11 nxclient nxssh nxcomp
Calculating dependencies ...done!
>>> emerge (1 of 5) net-misc/nxproxy-1.5.0-r1 to /
>>> Downloading http://distfiles.gentoo.org/distfiles/nxproxy-1.5.0-9.tar.gz
--22:06:55--  http://distfiles.gentoo.org/distfiles/nxproxy-1.5.0-9.tar.gz
           => `/usr/portage/distfiles/nxproxy-1.5.0-9.tar.gz'
Resolving distfiles.gentoo.org... 64.50.236.52, 216.165.129.135, 156.56.247.195
Connecting to distfiles.gentoo.org[64.50.236.52]:80... connected.
HTTP request sent, awaiting response... 404 Not Found
22:06:57 ERROR 404: Not Found.

>>> Downloading http://distro.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/nxproxy-1.5.0-9.tar.gz
--22:06:57--  http://distro.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/nxproxy-1.5.0-9.tar.gz
           => `/usr/portage/distfiles/nxproxy-1.5.0-9.tar.gz'
Resolving distro.ibiblio.org... 152.2.210.109
Connecting to distro.ibiblio.org[152.2.210.109]:80... connected.
HTTP request sent, awaiting response... 404 Not Found
22:06:58 ERROR 404: Not Found.

>>> Downloading http://www.nomachine.com/download/1.5.0/sources//nxproxy-1.5.0-9.tar.gz
--22:06:58--  http://www.nomachine.com/download/1.5.0/sources/nxproxy-1.5.0-9.tar.gz
           => `/usr/portage/distfiles/nxproxy-1.5.0-9.tar.gz'
Resolving www.nomachine.com... 151.1.143.117
Connecting to www.nomachine.com[151.1.143.117]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 73,470 [application/x-gzip]

100%[===============================================================================================================>] 73,470        72.44K/s

22:07:00 (72.20 KB/s) - `/usr/portage/distfiles/nxproxy-1.5.0-9.tar.gz' saved [73,470/73,470]


!!! Digest verification Failed:
!!!    /usr/local/portage/net-misc/nxproxy/nxproxy-1.5.0-r1.ebuild
!!! Reason: Filesize does not match recorded size

>>> Please ensure you have sync'd properly. Please try 'emerge sync' and
>>> optionally examine the file(s) for corruption. A sync will fix most cases.


Did I go about this the hard way? Is there a better way to do this? Why does the source code not match? Did nomachine promote some code?

Thanks!
Back to top
View user's profile Send private message
Q-collective
Advocate
Advocate


Joined: 22 Mar 2004
Posts: 2056

PostPosted: Sun Sep 11, 2005 6:29 am    Post subject: Reply with quote

Hey, all, I tried the wiki howto, but I get this error:
Code:
# USE="commercial" emerge nxproxy nx-x11 nxserver-freenx nxclient dev-tcltk/expect gnu-netcat nxssh -O
Calculating dependencies ...done!
>>> emerge (1 of 7) net-misc/nxproxy-1.4.0-r2 to /
>>> Downloading ftp://194.117.143.70/mirrors/gentoo/distfiles/nxproxy-1.4.0-2.tar.gz
--08:18:55--  ftp://194.117.143.70/mirrors/gentoo/distfiles/nxproxy-1.4.0-2.tar.gz
           => `/usr/portage/distfiles/nxproxy-1.4.0-2.tar.gz'
Connecting to 194.117.143.70:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD /mirrors/gentoo/distfiles ... done.
==> PASV ... done.    ==> RETR nxproxy-1.4.0-2.tar.gz ... done.
Length: 75,223 (unauthoritative)

100%[================================================================================================================================>] 75,223       276.38K/s

08:18:56 (275.50 KB/s) - `/usr/portage/distfiles/nxproxy-1.4.0-2.tar.gz' saved [75,223]

>>> md5 files   ;-) nxproxy-1.4.0-r2.ebuild
>>> md5 files   ;-) nxproxy-1.3.2.ebuild
>>> md5 files   ;-) files/digest-nxproxy-1.3.2
>>> md5 files   ;-) files/1.2.2-Makefile.in.patch
>>> md5 files   ;-) files/digest-nxproxy-1.4.0-r2
>>> md5 src_uri ;-) nxproxy-1.4.0-2.tar.gz
>>> Unpacking source...
>>> Unpacking nxproxy-1.4.0-2.tar.gz to /var/tmp/portage/nxproxy-1.4.0-r2/work
>>> Source unpacked.
checking for g++... g++
checking for C++ compiler default output... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for a BSD-compatible install... /bin/install -c
checking how to run the C++ preprocessor... g++ -E
checking for X... libraries , headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for FreeBSD environment... no
checking for Cygwin32 environment... no
checking for Darwin environment... no
checking for SunOS environment... no
compiling version 1.4.0
disabling production of debug symbols
disabling info output in the log file
disabling valgrind memory checker workarounds
configure: creating ./config.status
config.status: creating Makefile
if [ -x /usr/X11R6/bin/makedepend ] ; then \
                /usr/X11R6/bin/makedepend -I. -I../nxcomp -I. -I../nxcomp \
                        -I/usr/include/g++ -I/usr/include/g++-3  -f Makefile Main.c   2>/dev/null; \
        fi
touch depend.status
gcc -c -O3 -DVERSION=\"1.4.0\"  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -I. -I../nxcomp  Main.c
Main.c:28:16: NX.h: No such file or directory
Main.c: In function `main':
Main.c:183: error: `NX_FD_ANY' undeclared (first use in this function)
Main.c:183: error: (Each undeclared identifier is reported only once
Main.c:183: error: for each function it appears in.)
Main.c:183: error: `NX_MODE_ANY' undeclared (first use in this function)
Main.c:183: error: `NX_DISPLAY_ANY' undeclared (first use in this function)
make: *** [Main.o] Error 1

!!! ERROR: net-misc/nxproxy-1.4.0-r2 failed.
!!! Function src_compile, Line 29, Exitcode 2
!!! compile problem
!!! If you need support, post the topmost build error, NOT this status message.


I'm forced to use -O for emerge at the moment, because I have xorg7.0 rc0 installed and the nx stuff wants to reinstall xorg 6.8.2.
Are there any known issues here?
Back to top
View user's profile Send private message
StifflerStealth
l33t
l33t


Joined: 03 Jul 2002
Posts: 968

PostPosted: Sun Sep 11, 2005 2:08 pm    Post subject: Reply with quote

m27315 wrote:
Did I go about this the hard way? Is there a better way to do this? Why does the source code not match? Did nomachine promote some code?
You can edit the ebuild and re-digest it, I really should fix that in the overlay, at least. I know the files will need to be added as unstable when/if they go into the actual portage tree. Or you can do the following as root:
Code:
$ echo "net-misc/nxproxy ~x86" >> /etc/portage/package.keywords
$ echo "net-misc/nxssh ~x86" >> /etc/portage/package.keywords
Hope this helps. :)
_________________
Nothing to read in this sig. Move along.
Back to top
View user's profile Send private message
rufflove
n00b
n00b


Joined: 22 Aug 2005
Posts: 9
Location: The Wooly Wilds of Northern England

PostPosted: Sun Sep 11, 2005 3:23 pm    Post subject: Reply with quote

For anyone else somewhat confused about working with a portage overlay, check out this wiki entry: HOWTO Installing 3rd Party Ebuilds
_________________
"Even a stopped clock tells the right time twice a day."
Back to top
View user's profile Send private message
arjay1
n00b
n00b


Joined: 24 Aug 2005
Posts: 57
Location: Coin, Spain

PostPosted: Sun Sep 11, 2005 6:16 pm    Post subject: Reply with quote

StifflerStealth - hi

From the frequency of your posts, and all the help you give people, you must be one seriously busy guy. 8O I hesitate to be critical - especially as I am only a newbie but I gotta say that freenx/nxclient/nxserver, what have you, has got to be one of the most difficult pieces of software to install successfully that I have EVER come across.

I have been a DOS/windows man for 20 years and am reasonably useful around computers. I only recently switched to linux, but I have been able to set up most things during trials of three different distros. I currently have a mixed gentoo/debian 3-computer network, plus wireless links for my notebook. I have installed dual screen setups and many other quite complicated things but freenx has got me beat. I have tried every suggestion ever posted - or it seems like that to me - and still nothing works. (Well not quite true - after three solid days of f*rting around, I managed to get nx client to talk to the nomachione testdrive sites but never to my own server.)

Judging by the posts I have looked at over the last few days, there are dozens, if not hundreds, of people out there who never got freenx to work. Most of them never even got answers to their posts (which suggests that there are more problems out there than answers). I mean on this site, on the debian forum and linuxquestions sites to name just a few.

I was wondering if I have failed to find a site somewhere that has a howto that actually works. I have tried a dozen - admittedly biased toward debian as that is what my server runs (the client is on gentoo). I don't think there is much point in posting - yet again - all the different error reports I have had. They are much the same as those in this post, for example, and people never got satisfactory solutions to those either. I have now (hopefully) finally got rid of every last vestige of the application on all my computers.

I am still more than willing to give it another go as I desparately need something fast and reliable to run remote desktops on my system.

Therefore, can you point to a decent howto for a relative newbie as to how to install it successfully on a completely "clean" system? Or, how would you suggest people like me (and there are a lot of us out there :lol:) should go about trying to do a successful install? I reckon you could be our last hope!!

I appreciate all the efforts you make to help people but maybe we need a fresh start here? BTW, in the same vein, this thread has got impossibly long and is hopeless for someone trying to install freenx for the first time. Is it possible to start a new thread with some definitive ideas for going about an install?

Best wishes

RJ
Back to top
View user's profile Send private message
jschellhaass
Guru
Guru


Joined: 20 Jan 2004
Posts: 341

PostPosted: Sun Sep 11, 2005 9:07 pm    Post subject: Reply with quote

I will start by saying that I went through some hair pulling and gnashing of teeth when I first tried to upgrade from freenx 4.0 to 4.4.

I found that the overlay works quite well. Looking at my own experience and the the messages here I think people are making it more complicated then it really is.

I first went back and made sure I had a working freenx 4.0 (1.40) system. I checked both the linux and windows clients and everything was working fine.

I then put down the overlay did an emerge nxserver-freenx, restarted nxserver. I then tested the existing 1.4 clients and everything was still able to connect with the 1.4 clients.

I upgraded clients to 1.5 and got the cookies do not match error, changed the node.conf restarted nxserver and all was happy once again.

That is all I did to finally get the upgrade to work.

jeff
Back to top
View user's profile Send private message
alinv
Guru
Guru


Joined: 19 Nov 2002
Posts: 395
Location: Bucharest

PostPosted: Sun Sep 11, 2005 9:23 pm    Post subject: Reply with quote

jschellhaass wrote:
I will start by saying that I went through some hair pulling and gnashing of teeth when I first tried to upgrade from freenx 4.0 to 4.4.

I found that the overlay works quite well. Looking at my own experience and the the messages here I think people are making it more complicated then it really is.

I first went back and made sure I had a working freenx 4.0 (1.40) system. I checked both the linux and windows clients and everything was working fine.

I then put down the overlay did an emerge nxserver-freenx, restarted nxserver. I then tested the existing 1.4 clients and everything was still able to connect with the 1.4 clients.

I upgraded clients to 1.5 and got the cookies do not match error, changed the node.conf restarted nxserver and all was happy once again.

That is all I did to finally get the upgrade to work.

jeff


Lucky you!
I did the same thing, no go. I retried to install everything from scratch, same thing.
Now I'm back to 1.4.0, mainly because I don't have time to experiment right now and I have to keep the things going. But I keep an eye on this thread, waiting for good news ;)

Thanks,
Alin
_________________
Ever tried. Ever failed. No matter. Try Again. Fail again. Fail better.
S.B.
Back to top
View user's profile Send private message
arjay1
n00b
n00b


Joined: 24 Aug 2005
Posts: 57
Location: Coin, Spain

PostPosted: Mon Sep 12, 2005 6:58 am    Post subject: Reply with quote

hey guys - I'm not talking about being unable to get 1.5.0 to work, or whatever. I'm talking about not being able to get ANY version to work. If any of you have a simple step min-howto for me I would sure appreciate it!!

RJ
Back to top
View user's profile Send private message
Q-collective
Advocate
Advocate


Joined: 22 Mar 2004
Posts: 2056

PostPosted: Mon Sep 12, 2005 4:51 pm    Post subject: Reply with quote

Any ideas about the compile error I posted a while back?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2, 3 ... 11, 12, 13 ... 28, 29, 30  Next
Page 12 of 30

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum