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 ... 17, 18, 19 ... 28, 29, 30  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
StifflerStealth
Retired Dev
Retired Dev


Joined: 03 Jul 2002
Posts: 968

PostPosted: Sat Mar 11, 2006 8:39 pm    Post subject: Reply with quote

Hi.

I got a similar error when testing this out. I don't know what caused it yet, but I am trying several things out. :) I will post back when I have something.

Also, I updarted the overlay again. Snapshot 7 came out and it may have this fix in it. I have not yet had a chance to actually play around with FreeNX today, though.
_________________
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 Mar 12, 2006 1:29 am    Post subject: Reply with quote

StifflerStealth, you need to update the $WORKDIR in yesterdays ebuild.

Its works great for me, though. Just updated from 0.4.4 and resume from windows is now fully working for the first time, so I'm a happy chappy! Thanks :)
_________________
"Even a stopped clock tells the right time twice a day."
Back to top
View user's profile Send private message
StifflerStealth
Retired Dev
Retired Dev


Joined: 03 Jul 2002
Posts: 968

PostPosted: Sun Mar 12, 2006 9:09 am    Post subject: Reply with quote

Yeah. I fixed the workdir issue after I made the posting. I tried fixing it before anyone synced, but I guess I wasn't quick enough.

Just a note. I need to update a patch, so don't sync yet until I do that. It's 3 AM here and I need to do this when I am not tired anymore. :P
_________________
Nothing to read in this sig. Move along.
Back to top
View user's profile Send private message
Zacheria
n00b
n00b


Joined: 15 Jan 2006
Posts: 7

PostPosted: Sun Mar 12, 2006 10:34 am    Post subject: Reply with quote

Downloaded the overlay NX ebuilds from http://svn.gnqs.org/svn/gentoo-nx-overlay/testing/net-misc, and installed it while adding the approriate entries in package.keywords and package.unmask.

Just want to let you know its all working perfectly right of the box, including remote sound support through ESD and suspend/resume. Great work!

For reference information, my server is a recently built Gentoo 2006.0 system running with portage totally updated on a dual Xeon 2.66 ghz.
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 Mar 12, 2006 1:05 pm    Post subject: Reply with quote

Quote:
Just a note. I need to update a patch, so don't sync yet until I do that. It's 3 AM here and I need to do this when I am not tired anymore.


Ready when you are :P

Oh, I was a wee bit over-enthusiastic about suspend. Resumed sessions are still losing audio output using the Win32 1.5.0-138 client. :|
_________________
"Even a stopped clock tells the right time twice a day."
Back to top
View user's profile Send private message
StifflerStealth
Retired Dev
Retired Dev


Joined: 03 Jul 2002
Posts: 968

PostPosted: Sun Mar 12, 2006 1:50 pm    Post subject: Reply with quote

rufflove wrote:
Quote:
Just a note. I need to update a patch, so don't sync yet until I do that. It's 3 AM here and I need to do this when I am not tired anymore.


Ready when you are :P

Oh, I was a wee bit over-enthusiastic about suspend. Resumed sessions are still losing audio output using the Win32 1.5.0-138 client. :|
Okay, I re-added the patch back. :P It's safe to update, but, there really is no need since I didn't update the version numbers. If it's installed and working, then no need to update. I mainly did "cosmetic" changes to the ebuils.

About the sound: I actually noticed that using freenx 0.4.x, so it's a long standing bug. :( You might want to go through the node.conf.example file and set some of the sound parameters in there, then save that as node.conf. There are options for setting esd and artsd, so that may fix that issue. I have not tried it yet, though. But, in the next release, the node.conf file will be sed'ed to enable those options if you have esd or arts flags set. :) That may ease some of the problems.
_________________
Nothing to read in this sig. Move along.
Back to top
View user's profile Send private message
StifflerStealth
Retired Dev
Retired Dev


Joined: 03 Jul 2002
Posts: 968

PostPosted: Mon Mar 13, 2006 12:51 am    Post subject: Reply with quote

GrimSage wrote:
I can not connect. I get connection timeout while negotitaing link
Code:

NXPROXY - Version 1.5.0

Copyright (C) 2001, 2005 NoMachine.
See http://www.nomachine.com/ for more information.

Info: Proxy running in client mode with pid '3300'.
Info: Connecting to remote host '192.168.1.96:5000'.
Info: Connection to remote proxy '192.168.1.96:5000' established.
Info: Synchronizing local and remote caches.
Info: Handshaking with remote proxy completed.
Info: Not using NX delta compression.
Info: Using lan link parameters 16384/8/0/0.
Info: Using pack method '16m-jpeg-9' with session 'unix-kde'.
Info: Not using ZLIB stream compression.
Info: Not using remote ZLIB stream compression.
Info: Not using persistent cache.
Info: Using remote server '192.168.1.96:5000'.
Info: Starting X protocol compression.
Info: End of session requested by signal '15' 'SIGTERM'.


when I try to connect again it tries to resume the session and this is what I get
Code:

NX> 203 NXSSH running with pid: 3340
NX> 285 Enabling check on switch command
NX> 285 Enabling skip of SSH config files
NX> 200 Connected to address: 192.168.1.96 on port: 22
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
HELLO NXSERVER - Version 1.5.0-50-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: methos
NX> 102 Password:
NX> 103 Welcome to: localhost user: methos
NX> 105 listsession --user="methos" --status="suspended,running" --geometry="1600x1200x32+render" --type="unix-kde"
NX> 127 Sessions list of user 'methos' for reconnect:

Display Type             Session ID                       Options  Depth Screen         Status      Session Name
------- ---------------- -------------------------------- -------- ----- -------------- ----------- ------------------------------
1000    unix-kde         363646031EFA655A4ED7D37669224DB9 -RD--PSA    32 1024x768       Running     Methos


NX> 148 Server capacity: not reached for user: methos
NX> 105 restoresession --id="363646031EFA655A4ED7D37669224DB9"  --resize="1" --session="Methos" --type="unix-kde" --cache="8M" --images="32M" --link="lan" --kbtype="pc102/en_US" --nodelay="1" --encryption="1" --backingstore="when_requested" --geometry="1024x768" --media="0" --agent_server="" --agent_user="" agent_password="******""

NX> 1000 NXNODE - Version 1.5.0-50-SVN OS (GPL)
NX> NXNODE - Detected Xorg-X11 Version 7.0 or newer.
NX> NXNODE - Exporting XKEYSYMDB for enabling keyboard.
NX> 700 Session id: localhost-1000-363646031EFA655A4ED7D37669224DB9
NX> 705 Session display: 1000
NX> 703 Session type: unix-kde
NX> 701 Proxy cookie: 35c68012b9ba8b1032896818b1554c78
NX> 702 Proxy IP: 127.0.0.1
NX> 706 Agent cookie: 35c68012b9ba8b1032896818b1554c78
NX> 704 Session cache: unix-kde
NX> 707 SSL tunneling: 1
Killed by signal 15.

any Idea's?


I found the solution to you issue finally. :) Type the following command as root:
Quote:
ln -s /usr/share/fonts /usr/X11R6/lib/X11/font
The problem is that the path to the fonts is hard coded in the code of nx, so I will need to write a sed line and add that to the ebuild. Basically, freenx couldn't find the fonts, so it died. :( I had that same error too. NOTE: Those that updgraded to xorg 7 don't have this error becuase the fonts are still there in that directory. ;)

Cheers. :)
_________________
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: Mon Mar 13, 2006 12:51 am    Post subject: Reply with quote

I've already uncommented the ESD options in node.conf... Time to sit tight and wait ;) Still, the current 1.5.0 builds are a worthwhile update... Fingers crossed that we'll be able to start using full-fledged, freenx powered thin clients sometime in the near future. It'll be great once the sound issues are fixed. I'm looking forward to be able to centralise everything on a single server at home, enable cpu frequency/voltage scaling, then deploy a few low-end thin clients for maximum energy conservation :)
_________________
"Even a stopped clock tells the right time twice a day."
Back to top
View user's profile Send private message
lotia
n00b
n00b


Joined: 21 Mar 2003
Posts: 5
Location: ann Arbor, michigan, u.s.a.

PostPosted: Tue Mar 14, 2006 1:54 am    Post subject: connecting to a gentoo box from os X Reply with quote

Hello all,
I'm currently trying to connect to my gentoo box using the latest os X client (1.5.0-140) downloaded off the nomachine website.
I have the following installed on my gentoo machine:
nxproxy 1.4.0-r2
nx-x11 1.4.0-r4
nxserver-freenx 0.5.0
nxclient 1.4.0-r5

When I try to connect the connection times out with the following error text given in the detailed error view on the client[/glep]:
Quote:
Info: Proxy running in client mode with pid '747'.
Warning: Connected to remote NXPROXY version 1.4.0 with local version 1.5.0.
Info: Synchronizing local and remote caches.
Info: Handshaking with remote proxy completed.
Info: Remote proxy doesn't support fake authentication.
Info: Forwarding the real X authorization cookie.
Info: Using cache parameters 4/262144/8192KB/8192KB.
Info: Using image cache parameters 1/1/32768KB.
Info: Using wan link parameters 16384/8/5/20.
Info: Using pack method '16m-jpeg-9' with session 'unix-xdm'.
Info: Using ZLIB data compression level 1.
Info: Using ZLIB data threshold set to 32.
Info: Not using ZLIB stream compression.
Info: Using remote ZLIB data compression level 1.
Info: Not using remote ZLIB stream compression.
Info: No suitable cache file found.
Info: Starting X protocol compression.
Warning: X connection failed with error 'No protocol specified'.
Info: End of session requested by signal '15' 'SIGTERM'.
Info: Waiting for cleanup timeout to complete.
Warning: Parent process appears to be dead. Exiting watchdog.
Warning: Parent process appears to be dead. Exiting keeper.


After installing I configured using
Quote:
nxsetup --install --setup-nomachine-key --clean --purge
any hints on what to do to fix stuff would be much appreciated.
Back to top
View user's profile Send private message
StifflerStealth
Retired Dev
Retired Dev


Joined: 03 Jul 2002
Posts: 968

PostPosted: Tue Mar 14, 2006 11:54 pm    Post subject: Reply with quote

lotia: Did you use FreeNX 0.5.0 from portage? If so, that is a very old pre-release from 2005. There are newer pre-releases from 2006 in the overlay, chack the previous page. :) However, if you use the newer 0.5.0, you need to use the nx 1.5.0 backend. You can use version 0.4.x of FreeNX, newer versions in the overlay. This should fix the issues. :) I know FreeNX 0.4.0 is in portage, but 0.4.4 and 0.4.5 are in the overlay because 0.4.5 is the last version to support the 1.4.0 backend. :)

Also, the ebuilds for FreeNX set you up with the default nomachine key on install. :) So, all you need to do is: nxserver --adduser {username} and you are ready to use it. :)
_________________
Nothing to read in this sig. Move along.
Back to top
View user's profile Send private message
big_gie
Apprentice
Apprentice


Joined: 31 Aug 2004
Posts: 158

PostPosted: Thu Mar 16, 2006 9:34 pm    Post subject: Reply with quote

Thanx StifflerStealth for the overlay! I needed an updated version since my client use 1.5.0...
Now it works. Thanx!
Back to top
View user's profile Send private message
crappuccino
n00b
n00b


Joined: 03 Mar 2006
Posts: 15

PostPosted: Thu Mar 16, 2006 9:41 pm    Post subject: Reply with quote

hi,
i have the freenx-server (0.5.0) installed and running, i can connect via windows client and resume suspended (i dont like this word for a reason...) sessions. so far so good. the problem is that all programs i start during the nx-session get choked down when i close the client. i need everything to keep running while im not connected. is my nxserver having some kind of a problem or is this intended? if so, can you guys recommend another vnc-like server? vino doesnt work for me (screen gets torn badly).
Back to top
View user's profile Send private message
StifflerStealth
Retired Dev
Retired Dev


Joined: 03 Jul 2002
Posts: 968

PostPosted: Tue Mar 21, 2006 5:53 pm    Post subject: Reply with quote

Overlay heavily updated. Lots of changes going on. :) Maybe these will make it in portage soon.
_________________
Nothing to read in this sig. Move along.
Back to top
View user's profile Send private message
pincushion
n00b
n00b


Joined: 21 Mar 2006
Posts: 1

PostPosted: Tue Mar 21, 2006 7:51 pm    Post subject: FreeNX Server Setup/configuration Reply with quote

How to get FreeNX working (and a little bit of troubleshooting at the end)

I. Ensure sshd is set up correctly

1. Edit the sshd configuration (you may replace the nano -w with your favorite editor):
Code:
nano -w /etc/ssh/sshd_config

Find these lines and remove the hashes
    #PubkeyAuthentication yes
    #AuthorizedKeysFile .ssh/authorized_keys


2. Restart the ssh daemon
Code:
/etc/init.d/sshd restart


3. Ensure ssh daemon is set to be available on boot.
Code:
rc-update add sshd default


II.Verify NX configuration

1. Make sure an nx user has been created:
Code:
cat /etc/passwd | grep nx

    nx:x:111:100:added by portage for nxserver-freenx:/usr/NX/home/nx:/usr/NX/bin/nxserver


2. If the user for nx is not created, create it (some distributions have an nx group):
Code:
adduser -g users -d /usr/NX/home/nx -s /usr/bin/NX/nxserver


3. Change ownership of the home directory and everything inside it to it:
Code:
chown -R nx:users /usr/NX/home/nx


4. Create a .ssh directory, change ownership to nx, set correct permissions:
Code:
mkdir /usr/NX/home/nx/.ssh
chown nx:users /usr/NX/home/nx/.ssh


5. Allow for NoMachine v1.5 clients. (nxserver-freenx-0.5.0 and above only)
(optional) If /usr/NX/etc/node.conf does not exist, then create it:
(optional)
Code:
cp -p /usr/NX/etc/node.conf.sample /usr/NX/node.conf

Code:
nano -w /usr/NX/etc/node.conf

Find this option and change the 0 to 1:
    ENABLE_1_5_0_BACKEND="1"


6. Fix nxloadconfig script for ssh's authorized_keys preference
Code:
nano -w /usr/NX/bin/nxloadconfig

Press Ctrl-W and search for authorized_keys2
remove the 2, save the modified script
Alternately, you may try symlinking authorized_keys2 to authorized_keys.
Don't forget to edit the permissions.

III. Set up the Public DSA key on the NX server with nxkeygen (primary)

1. Create the key with nxkeygen
If nxkeygen complains of file not found do this:
Code:
env-update && source /etc/profile

it should fix the problem. Other than that, reemerge nxserver-freenx and nxclient

2. Peform Steps IV.2, IV.4, and IV.5

IV. Set up the Public RSA key on the NX server (alternate)

1. Create the openssh key on the server.
Code:
ssh-keygen -q -f /usr/NX/home/nx/.ssh/id_rsa -t rsa -C "NX tech is cool"
Enter passphrase (empty for no passphrase): <Hit Enter>
Enter same passphrase again:


2. Lock down the permissions on the nx home directory:
Code:
chmod go-w /usr/NX/home/nx
chmod 700 /usr/NX/home/nx/.ssh
chmod go-rwx /usr/NX/home/nx/.ssh/*


3. Create the authorized_keys file for the nx user:
Code:
cat /usr/NX/home/nx/.ssh/id_rsa.pub >> /usr/NX/home/nx/.ssh/authorized_keys
rm /usr/NX/home/nx/.ssh/id_rsa.pub

remember, the authorized_keys file may have multiple accounts public keys in it.

4. Keep nosy people out of your authorized keys (ssh requires this)
Code:
chmod 600 /usr/NX/home/nx/.ssh/authorized_keys


5. Double-check that nx owns the key, and it is in the users group (ssh requires this, also)
Code:
chown nx:users authorized_keys2


V. Test Private RSA key login with user account (testing)

1. Copy id_rsa (or client.id_dsa.key) to /home/USER/.ssh/id_rsa (or id_dsa)

2. Lock down permissions:
Code:
chmod go-w /home/USER
chmod 700 /home/.ssh
chmod go-rwx /home/USER/.ssh/*


3. Log into nx server machine with user account, save host key info if asked. For this example, I assume that the user is on the same machine as the nx server.
Code:
ssh USER@127.0.0.1


4. Log into nx server machine with nx account:
Code:
ssh nx@127.0.0.1


5. If done correctly, you will see this:
Code:
HELLO NXSERVER - Version 1.5.0-50-SVN OS (GPL)
NX> 105

Press Ctrl-D or Ctrl-C to exit.

6. Add a nxserver user account (must have a regular account to tie this to):
Code:
nxserver --adduser USER


VI. Test NX server with Windows 1.5.0 client

1. Create new connect with the NX connection wizard. Make sure to check the box for the advanced configuration dialog.

2. In the advanced configuration, click the key button, and then either import, or paste your RSA/DSA private key into the textbox. Hit save, and save again.

VII. FAQ and Troubleshooting

1. It won't connect! It fails with an Authentication Failed error.
-> Usually it means that you typed in the wrong password for the user account.

2. This shows up in my details log. Why?
Code:
NX> 203 NXSSH running with pid: 2592
NX> 285 Enabling check on switch command
NX> 285 Enabling skip of SSH config files
NX> 200 Connected to address: 692.861.505.302 on port: 22
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
NX> 204 Authentication failed.

-> This happened to me frequently. Finally I figured out that nx did not own the .ssh/authorized_keys file. By default, nxkeygen creates it and assigns ownership to root. See step III.2 above. This can also happen if ssh is looking for authorized_keys and nxloadconfig is looking at authorized_keys2. See step II.6 above.

3. How do I get the client.id_dsa.key (or id_rsa) off of the nxserver to my Windows box?
-> There are two ways. One is to copy the client.id_dsa.key (or id_rsa) file on the server to a place in the USER account's home directory. Change the ownership to the USER. From the client (windows) ssh into the machine (using putty or a similar terminal with copy/paste abilities). Dump the client.id_dsa (or id_rsa) file to the console, then copy and paste it into the key dialog.
-> The other way is to download FileZilla. FileZilla has an option for SFTP via SSH2, and, provided that ownership is correct on the file, it can be downloaded from the home directory.

4. Can this custom key work with the Linux NX 1.4.0 client?
-> I don't know. I looked in the windows 1.5.0 client and found a value for key under group name login.
</group>
<group name="Login">
<option key="Auth" value="someSaltedStuff" />
<option key="User" value="USER" />
<option key="Public Key" value="-----BEGIN RSA PRIVATE KEY-----
[snip big ugly RSA key]
-----END RSA PRIVATE KEY-----

" />
However, this did not appear to work. The short answer is to not use custom keys, the longer answer is to use unmask the hard masked nxclient 1.5.0.
Back to top
View user's profile Send private message
GrimSage
n00b
n00b


Joined: 13 Sep 2004
Posts: 42

PostPosted: Thu Mar 23, 2006 9:30 am    Post subject: Reply with quote

when trying to use rev 44 of the overlay I recieve the following error

[blocks B ] <net-misc/nx-x11-1.5.0-r8 (is blocking net-misc/nx-x11-1.5.0-r8)

Code:

cat /etc/portage/package.use
dev-lang/php bzip2 cgi exif mysql mysqli
dev-util/subversion -berkdb
kde-base/kdebase-kioslaves samba
net-misc/nxserver-freenx commercial
sys-libs/glibc userlocales


Code:

cat /etc/portage/package.unmask
>=net-misc/nx-x11-1.5
>=net-misc/nxclient-1.5
>=net-misc/nxcomp-1.5
>=net-misc/nxproxy-1.5
>=net-misc/nxserver-freenx-1.5
>=net-misc/nxssh-1.5
net-im/gaim
app-admin/webmin


Code:

cat nx-x11-1.5.0-r8.ebuild
.....
DEPEND="!<net-misc/nx-x11-1.5.0-r8
        ~net-misc/nxcomp-1.5.0
        !net-misc/nx-x11-bin"


I found in your ebuild the Depend statement has the !< is there something I have to do?
I cannot figure it out. I am not sure why the < is in there at all. It seems to be blocking itself....
Back to top
View user's profile Send private message
StifflerStealth
Retired Dev
Retired Dev


Joined: 03 Jul 2002
Posts: 968

PostPosted: Fri Mar 24, 2006 1:31 am    Post subject: Reply with quote

GrimSage wrote:
Code:

cat nx-x11-1.5.0-r8.ebuild
.....
DEPEND="!<net-misc/nx-x11-1.5.0-r8
        ~net-misc/nxcomp-1.5.0
        !net-misc/nx-x11-bin"


I found in your ebuild the Depend statement has the !< is there something I have to do?
I cannot figure it out. I am not sure why the < is in there at all. It seems to be blocking itself....

This line is there for a very good reason. ;) I will try to explain. There has been a lot of changes in the overlay, particularly to the nx-x11 ebuild. In the past, nx-x11 use to build and install nxcomp. This was done because the makefiles all depended on nxcomp libraries and include files, but the paths were hardcoded, thus, nxcomp had to be compiled at the same time as the other components in the nx-x11 ebuild. However, there are some other components that depend on nxcomp, thus the need for an ebuild for it. If you were to install nxclient, for example, but not nx-x11 because you didn't want the server but wanted to connect to one, then nxcomp would be installed without having to depend on nx-x11. However, if you install freenx with the commercial flag, it pulls in nxclient, which installs nxcomp. To make a long story short ... nxcomp would be installed and compiled twice. So, I removed all the hardcoded links from nx-x11, and now it depends on nxcomp and nxcomp is only compiled and installed once. The reason for that line to block itself ...

Now that the new ebuild no longer installs nxcomp and nxcomp is emerged before nx-x11, all nxcomp and nxesd components get uninstalled by the removal of the old versions of nx-x11. Portage will just uninstall everything it use to install. I hope this is clear. With the removal of nxcomp, all the other components fail. -_- So, to prevent nxcomp from getting uninstalled, you need to remove nx-x11, then type emerge nxserver-freenx and all will be updated to the newest versions, and nx-x11 will not uninstall nxcomp and nxesd.

Also, having two sources install the same files was bad, because if you were to remove nx-x11, but not nxcomp, then nxcomp would be removed anyways. ;) So, this was just better to have one source install nxcomp and nxesd. :)

I hope that explains it. I used a blocker because all Gentoo users are suppose to uninstall the blocking package. ;) Here, it is an older self. :P I wanted to have a big ewarn statement and the emerge fail if an earlier version was detected, but a blocker passes QA. *shrug* I thought an ewarn explaining this would be more helpful. Ah well. Hopefully users find this instead of asking over and over.

Let me know if I was clear enough or if I have mistakes. Thanks.

Cheers. :)
_________________
Nothing to read in this sig. Move along.
Back to top
View user's profile Send private message
mana
Tux's lil' helper
Tux's lil' helper


Joined: 04 Apr 2005
Posts: 75
Location: Berlin

PostPosted: Sat Mar 25, 2006 3:44 pm    Post subject: Reply with quote

Hello everybody :)

thanks for the great work on the overlay, though my dumpness is the reason of this posting.

I have set up the overlay as mentioned on page 17 of this thread, but i dont know how to completely upgrade my previous freenx installation (1.5.0 from portage).
Should i ebuild fetch|digest|compile|install all the compontents indipendently?

my experience with ebuilds is near to zero, so i am sorry for bothering with newbe questions :)

best regards
christoph
_________________
Mein Freund, der Baum, ist tot. Er starb im frühen Morgenrot.
Back to top
View user's profile Send private message
StifflerStealth
Retired Dev
Retired Dev


Joined: 03 Jul 2002
Posts: 968

PostPosted: Sat Mar 25, 2006 4:44 pm    Post subject: Reply with quote

mana wrote:
Hello everybody :)

thanks for the great work on the overlay, though my dumpness is the reason of this posting.

I have set up the overlay as mentioned on page 17 of this thread, but i dont know how to completely upgrade my previous freenx installation (1.5.0 from portage).
Should i ebuild fetch|digest|compile|install all the compontents indipendently?

my experience with ebuilds is near to zero, so i am sorry for bothering with newbe questions :)

best regards
christoph
First, can you update your overlay? I ... er ... had a mistake in the FreeNX ebuilds that I corrected this morning. :oops:

Second, it's never a bother to ask questions or to answer them. ;) Ask away when you have them. :)

To update your ebuilds do:
1) emerge -C nx-x11
2) enable the nxclient use flag: echo "net-misc/nxserver-freenx nxclient" >> /etc/portage/package.use
3) emerge -auD world. All the nx components should be in that list: nxcomp, nxssh, nxesd, nxclient, nx-x11, nxserver-freenx. :) And there should be a U next to all but nx-x11 which should get a N since you uninstalled. :)

I hope this is what you are looking for. :)

Cheers.
_________________
Nothing to read in this sig. Move along.
Back to top
View user's profile Send private message
mana
Tux's lil' helper
Tux's lil' helper


Joined: 04 Apr 2005
Posts: 75
Location: Berlin

PostPosted: Sat Mar 25, 2006 5:55 pm    Post subject: Reply with quote

hello :) thanks for the quick answer ..

well i was allready aktive by doing this ebuild fetch->qmerge stuff for every subfolder .. that might have proven a bad idea, as there now seem to be incompatibilities with the nxagent, that binary has still the same old timestamp ..


Code:
NX> 707 SSL tunneling: 0
NX> 105 NX> 596 Session startup failed.
NX> 1004 Error: NX Agent exited with exit status 1.
/usr/NX/bin/nxserver: line 1077: 10639 Terminated              sleep $AGENT_STARTUP_TIMEOUT



i will try it your way now ;)

wenn i do a "svn up" in the overlays/nx folder i get "skipped '.'" . mabe my version is up-to-date?

I post back results after i emerged that stuff, maybe you can see if something is missing

Code:
[ebuild     U ] sys-devel/gcc-config-1.3.13-r1 [1.3.12-r6]
[ebuild     U ] sys-devel/m4-1.4.4 [1.4.3]
[ebuild     U ] sys-devel/bison-2.1 [1.875d]
[ebuild   R   ] sys-apps/groff-1.19.1-r2
[ebuild     U ] sys-apps/man-pages-2.25 [2.23]
[ebuild     U ] app-misc/pax-utils-0.1.10 [0.1.9]
[ebuild     U ] sys-apps/shadow-4.0.14-r1 [4.0.7-r4]
[ebuild     U ] sys-apps/pam-login-4.0.14 [3.17]
[ebuild     U ] sys-fs/e2fsprogs-1.38-r1 [1.38]
[ebuild     U ] media-libs/libpng-1.2.8-r1 [1.2.8]
[ebuild     U ] sys-apps/baselayout-vserver-1.11.14-r4 [1.11.14-r3]
[ebuild     U ] sys-devel/make-3.80-r4 [3.80-r3]
[ebuild   R   ] media-libs/lcms-1.14-r1
[ebuild     U ] dev-libs/glib-2.8.6 [2.8.5]
[ebuild     U ] x11-libs/pango-1.10.3 [1.10.2]
[ebuild     U ] x11-libs/gtk+-2.8.12 [2.8.8]
[ebuild     U ] app-text/poppler-0.5.0-r5 [0.5.0-r4]
[ebuild     U ] app-arch/bzip2-1.0.3-r6 [1.0.3-r5]
[ebuild     U ] kde-base/kdelibs-3.5.2 [3.5.1-r1]
[ebuild     U ] www-client/mozilla-launcher-1.49 [1.45]
[ebuild     U ] sys-apps/gawk-3.1.5 [3.1.4-r4]
[ebuild     U ] app-arch/tar-1.15.1-r1 [1.15.1]
[ebuild     U ] sys-process/psmisc-22.1 [21.9]
[ebuild   R   ] kde-base/kdelibs-3.5.1-r1
[ebuild     U ] net-misc/curl-7.15.1-r1 [7.15.1]
[ebuild   R   ] media-gfx/xloadimage-4.1-r4
[ebuild   R   ] app-crypt/gnupg-1.4.2.2
[ebuild     U ] gnome-base/orbit-2.12.5 [2.12.4]
[ebuild   R   ] kde-base/kdemultimedia-3.5.1
[ebuild   R   ] app-editors/nano-1.3.9
[ebuild     U ] sys-process/procps-3.2.6 [3.2.5-r1]
[ebuild  N    ] net-misc/nx-x11-1.5.0-r8
[ebuild  N    ] dev-lang/tk-8.4.9
[ebuild   R   ] dev-tcltk/expect-5.42.1-r1
[ebuild   R   ] net-misc/nxserver-freenx-0.5.0.20060311-r1


until then :)

p.s.: I love gentoo bleeding edge :D
_________________
Mein Freund, der Baum, ist tot. Er starb im frühen Morgenrot.
Back to top
View user's profile Send private message
mana
Tux's lil' helper
Tux's lil' helper


Joined: 04 Apr 2005
Posts: 75
Location: Berlin

PostPosted: Sat Mar 25, 2006 8:53 pm    Post subject: Reply with quote

All updates done ..

well .. still problems with nxagent .. this sucks especialy because i had it running with the 1.5.0 from portage *sigh*

ah even more strange, i see my user starting kdeinit and stuff using "top" and nxserver gives me no logging output into the specified file .. here is what i get from the client

Code:
  1652  548  376 S  0.0  0.1   0:00.00 syslog-ng
 8225 root      15   0  3336  932  660 S  0.0  0.1   0:00.00 sshd
 8718 root      16   0  6360 2064 1628 R  0.0  0.2   0:06.76 sshd
 8721 root      16   0  2272 1392 1128 S  0.0  0.1   0:00.08 bash
18341 root      16   0  2012 1056  844 R  0.0  0.1   0:00.00 top
18499 nx        25   0  2596  836  412 S  0.0  0.1   0:00.00 nxserver
18500 nx        25   0  2596  752  320 S  0.0  0.1   0:00.00 nxserver
18501 nx        25   0  2596  932  504 S  0.0  0.1   0:00.00 nxserver
18517 nx        15   0  2532 1464 1184 S  0.0  0.2   0:00.00 nxnode-login
18518 nx        25   0  1396  360  300 S  0.0  0.0   0:00.00 cat
18519 nx        15   0  3244 1636 1300 S  0.0  0.2   0:00.00 ssh
18524 root      15   0  6144 1840 1476 S  0.0  0.2   0:00.01 sshd
18527 mana      15   0  6164 1312  932 S  0.0  0.1   0:00.00 sshd
18528 mana      22   0  2496 1236  888 S  0.0  0.1   0:00.02 nxnode
18695 mana      25   0  2496  996  632 S  0.0  0.1   0:00.00 nxnode
18711 mana      22   0  2324 1040  896 S  0.0  0.1   0:00.00 startkde
18748 mana      22   0  2324  604  508 S  0.0  0.1   0:00.00 xset



Code:
NX> 148 Server capacity: not reached for user: mana
NX> 105 startsession --session="mana be kerstin" --type="unix-kde" --cache="32M" --images="128M" --link="wan" --kbtype="pc102/de" --nodelay="1" --backingstore="when_requested" --geometry="1280x770" --fullscreen="1" --media="1" --mediahelper="esd" --agent_server="" --agent_user="" agent_password="******""  --screeninfo="1280x800x32+render+fullscreen"

NX> 1000 NXNODE - Version 1.5.0-50-SVN OS (GPL)
NX> 700 Session id: localhost-1000-1E8660C880C750F2E30153085E7E3E66
NX> 705 Session display: 1000
NX> 703 Session type: unix-kde
NX> 701 Proxy cookie: 2046be8e4f6c1330a8a374eac2fc4cd1
NX> 702 Proxy IP: 89.55.57.243
NX> 706 Agent cookie: 2046be8e4f6c1330a8a374eac2fc4cd1
NX> 704 Session cache: unix-kde
NX> 707 SSL tunneling: 0
NX> 105 NX> 596 Session startup failed.
NX> 1004 Error: NX Agent exited with exit status 1.
/usr/NX/bin/nxserver: line 1077: 18498 Terminated              sleep $AGENT_STARTUP_TIMEOUT
Can't open /usr/NX/var/db/running/sessionId{1E8660C880C750F2E30153085E7E3E66}: No such file or directory.
mv: cannot stat `/usr/NX/var/db/running/sessionId{1E8660C880C750F2E30153085E7E3E66}'Killed by signal 15.


any recommendations?
_________________
Mein Freund, der Baum, ist tot. Er starb im frühen Morgenrot.
Back to top
View user's profile Send private message
mana
Tux's lil' helper
Tux's lil' helper


Joined: 04 Apr 2005
Posts: 75
Location: Berlin

PostPosted: Sat Mar 25, 2006 10:42 pm    Post subject: Reply with quote

damn, i don't understand it.

taretd nxagent from console, missing library libXcompext.so.1, made symbolic to NX/lib/libXcompext.so.1.5.0 in /usr/lib - new its missing a symbol

okay, trying to get rid of it all, unmerged all packages, removed whole /usr/NX, re-emerged nxserver-freenx (still with overlay), but the nxagent binary is missing. Arg its so transparent to me ... where do i get the binary from?

sorry, i am still dumb ;)
_________________
Mein Freund, der Baum, ist tot. Er starb im frühen Morgenrot.
Back to top
View user's profile Send private message
mana
Tux's lil' helper
Tux's lil' helper


Joined: 04 Apr 2005
Posts: 75
Location: Berlin

PostPosted: Sat Mar 25, 2006 11:04 pm    Post subject: Reply with quote

silly me! (!!!) .. to few sleep .. nxagent comes wih nx-x11

but again:
Code:
./nxagent: error while loading shared libraries: libXcomp.so.1: cannot open shared object file: No such file or directory

and after copying the lib into /usr/lib
Code:
../bin/nxagent: symbol lookup error: /usr/lib/libXcompext.so.1: undefined symbol: _NXContinueOnDisplayError


tell me right into the face just how stupid i am ;)
_________________
Mein Freund, der Baum, ist tot. Er starb im frühen Morgenrot.
Back to top
View user's profile Send private message
StifflerStealth
Retired Dev
Retired Dev


Joined: 03 Jul 2002
Posts: 968

PostPosted: Sun Mar 26, 2006 4:31 am    Post subject: Reply with quote

Why is it looking in /usr/lib ? It should be looking in /usr/NX/lib. :S Maybe this has to do with taking LDPATH=/usr/NX/lib out of the 50nxpaths file. -_-'

Can you edit the file /etc/env.d/50nxpaths and make it so it looks like this:
Quote:
PATH=/usr/NX/bin
ROOTPATH=/usr/NX/bin
LDPATH=/usr/NX/lib
CONFIG_PROTECT="/usr/NX/etc /usr/NX/home"
Then type env-update, and see if everything works right? Also you need to add your user to nx. Did you type nxserver --adduser {your_user_name}?

Cheers.
_________________
Nothing to read in this sig. Move along.
Back to top
View user's profile Send private message
mana
Tux's lil' helper
Tux's lil' helper


Joined: 04 Apr 2005
Posts: 75
Location: Berlin

PostPosted: Sun Mar 26, 2006 9:29 am    Post subject: Reply with quote

phuu works again!

thank you very much!
There was no LDPATH definded in the 50nxpaths i added it and ran nxagent from commandline, but it told me it missed a library again. nevertheless added the user, (i had several added before swithing to svn-version and belived they would be still there) tried the nxclient and works.

:)
_________________
Mein Freund, der Baum, ist tot. Er starb im frühen Morgenrot.
Back to top
View user's profile Send private message
StifflerStealth
Retired Dev
Retired Dev


Joined: 03 Jul 2002
Posts: 968

PostPosted: Sun Mar 26, 2006 4:14 pm    Post subject: Reply with quote

You're welcome. :) Glad you got it working. ^^
_________________
Nothing to read in this sig. Move along.
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 ... 17, 18, 19 ... 28, 29, 30  Next
Page 18 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