Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
FreeNX-0.5.0-r3
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
jake1981
n00b
n00b


Joined: 02 Feb 2006
Posts: 61
Location: Finland

PostPosted: Thu Feb 02, 2006 4:53 pm    Post subject: FreeNX-0.5.0-r3 Reply with quote

Here it is. nxserver-freenx-0.5.0-r3 portage overlay.

http://titanix.net/~jake/freenx-overlay.tar.gz

Here's a howto for newbies who don't know much about portage overlay:
We use portage overlay, so on next sync, we don't loose our files.

Add this to your make.conf
Code:
PORTDIR_OVERLAY=/usr/local/portage


Create dir
Code:
#mkdir /usr/local/portage


Download freenx-overlay.tar.gz to /usr/local/portage. Change dir and extract.
Code:
#cd /usr/local/portage
#tar xjvf freenx-overlay.tar.gz


There you go. Now just emerge nxserver-freenx.
If it is trying to install older version than nxserver-freenx-0.5.0-r3, you might need to use:
Code:
#ACCEPT_KEYWORDS="~x86" emerge nxserver-freenx

But it would be better to add ~x86 keyword to /etc/portage/package.keywords:
Code:
echo "net-misc/nxserver-freenx ~x86" >>/etc/portage/package.keywords


If you encounter troubles with portage overlay, don't bug me.. read docs.

Okay, what new in this version? Changelog:
Code:

FreeNX 0.5.0-r3 * Patch utilization and bugfix update by Oskari Rauta
       * gcc4 patch utilization for nxcomp and libraries that link with nxcomp
       * pic-r1 patch utilization for nxcomp and libraries that link with
           nxcomp
       * Added patch for detecting and working out with keyboard issue
           of Xorg-x11 =>7.0 ( in file /usr/NX/bin/nxnode )
       * Fixed list of dependencies
       * Fixed /etc/env.d/50nxcomp to contain path to NX binaries
       * Added creation of /etc/init.d/nxserver statup script
       * Upgraded NX components to latest 1.5.0-* versions
       * Fixed some outdated dead download links
       * new ebuild version, nx*-1.5.0-r3 and nxserver-freenx-0.5.0-r3
           to make sure that newest+compatible versions are being used.
       * Beautified and corrected issues in ebuilds


Hopefully someone can download it and is willing to host it, since titanix.net ain't that sure..
Back to top
View user's profile Send private message
Loki:.
n00b
n00b


Joined: 08 Mar 2004
Posts: 24

PostPosted: Thu Feb 02, 2006 9:11 pm    Post subject: Reply with quote

I would like to try this, but it seems it requires modular X (v7), is it not able to work with the current stable (in portage) release of X?

BTW. It should be
Code:
#tar xzvf freenx-overlay.tar.gz
to extract.
Back to top
View user's profile Send private message
jake1981
n00b
n00b


Joined: 02 Feb 2006
Posts: 61
Location: Finland

PostPosted: Fri Feb 03, 2006 12:38 am    Post subject: Reply with quote

Thanx.

Yeah. You can strip down x11-* from depends of nx-x11 and then it will work with <Xorg-x11 7.0

then remove files/digest* and re-create it
Code:
#ebuild nx-x11*.ebuild digest

in nx-x11 folder.

I put those depends there because it was such a pain to compile and then re-compile again after I noticed
that I missed some modular X stuff. It now has everything that is dependant for proper functionality, but it might still need some dialog parts or something for broadcasting messages to nx-clients.. i have pretty much all parts of modular X now, so I can't test this, but yeah, someone else (I think I've already done my share :D) could change ebuild in the way that it would detect if X>=7.0 and alter DEPENDS in that case.

Check out the patch I made for detecting X version and integrate that to ebuild. Btw. Thanks to Lieto for great conversation about parsing.. Or maybe if I get some free time, will do it by myself too..

After that, this ebuild would be pretty much complete for the current version..
Back to top
View user's profile Send private message
lazx888
Tux's lil' helper
Tux's lil' helper


Joined: 13 Sep 2005
Posts: 118

PostPosted: Mon Feb 06, 2006 5:17 pm    Post subject: Reply with quote

just stalls at "authentication completed"... then says "Session startup failed"

relavent "Details":

NX> 704 Session cache: unix-application
NX> 707 SSL tunneling: 0
NX> 1004 Error: Session did not start.
NX> 504 Session startup failed.
NX> 999 Bye
NX> 1004 Error: nxagent failed to start. Session timed out.
Blocking 1006 again ...
NX> 1001 Bye.
Back to top
View user's profile Send private message
jake1981
n00b
n00b


Joined: 02 Feb 2006
Posts: 61
Location: Finland

PostPosted: Fri Feb 10, 2006 12:22 am    Post subject: Reply with quote

lazx888 wrote:
just stalls at "authentication completed"... then says "Session startup failed"

relavent "Details":

NX> 704 Session cache: unix-application
NX> 707 SSL tunneling: 0
NX> 1004 Error: Session did not start.
NX> 504 Session startup failed.
NX> 999 Bye
NX> 1004 Error: nxagent failed to start. Session timed out.
Blocking 1006 again ...
NX> 1001 Bye.


The problem is not with my build. Change your node.conf so it won't remove sesion logs,
Code:

SESSION_LOG_CLEAN=0


This way, session files in directory .nx under user's home dirs won't be cleaned out when session ends.
Check files there, propably you get a hint from file "session" or "errors" what could be wrong, check all files for hints.

Setting up NX, isn't easy and it took me a long time until I got it working. Now I am running with this ebuild and it works really good. You might be missing part of X or some command or the problem could lie somewhere else, find out.

Also set
Code:

NX_LOG_LEVEL=9

in your node.conf, and check logfile /var/log/nxserver.log

That's pretty useless log, you find out what's wrong from that session file.
Also check log outputted by your nxclient, usually that's useless, but making NX to work is hard work as
it needs so many dependencies, I made most of 'em dependencies in this ebuild but I didn't start with
fresh system, so there is a possibility that something was forgotten.

When you find out, put a message to this thread so others can find it out too.

Hopefully you get it to work..
Back to top
View user's profile Send private message
baaann
Guru
Guru


Joined: 23 Jan 2006
Posts: 558
Location: uk

PostPosted: Fri Feb 10, 2006 12:55 pm    Post subject: Reply with quote

If you are using NX client version 1.5.0, have you edited the file /usr/NX/etc/node.conf and set ENABLE_1_5_0_BACKEND to 1?

Barrie
Back to top
View user's profile Send private message
StifflerStealth
Retired Dev
Retired Dev


Joined: 03 Jul 2002
Posts: 968

PostPosted: Fri Feb 10, 2006 2:21 pm    Post subject: Reply with quote

jake1981, you might want to include a patch that updates nxsetup to the latest version. The one included with v0.5.0 is an old one. The one that comes with the version tagged as 0.4.5 is a lot newer. There are many enhancements done to it, so it's worth a look. Just browse the svn server for it and read the changelog for 0.4.5 to find out what changed in the new nxsetup. You may want to compare the nxserver with this release to that of 0.4.3 or so to see if any specific 0.5.0 stuff was added, but I don't think there was last time I checked. So, I think you can just replace the file completely with no worries.

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


Joined: 13 Sep 2005
Posts: 118

PostPosted: Sun Feb 12, 2006 2:47 am    Post subject: Reply with quote

session file:

Code:
Couldn't open RGB_DB '/usr/X11R6/lib/X11/rgb'

NXAGENT - Version 1.5.0

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

Info: Agent running with pid '7361'.
nxagentVerifyDefaultFontPath: WARNING! Can't find a valid font directory.
nxagentVerifyDefaultFontPath: WARNING! Using font path [/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/font$
nxagentProcessOptionsFile: Option file is [/home/lazx/.nx/C-laptop-compaq-1000-4FC538D06DB784032F2598B07BB8F61$
nxagentProcessOptionsFile: Option file is 207 bytes long.
nxagentParseOptionString: Warning ignored option 'cache' = '8M'.
nxagentParseOptionString: Warning ignored option 'images' = '32M'.
nxagentParseOptionString: Warning ignored option 'link' = 'lan'.
nxagentParseOptionString: Warning ignored option 'type' = 'unix-kde'.
nxagentParseOptionString: Warning ignored option 'cleanup' = '0'.
nxagentParseOptionString: Warning ignored option 'accept' = '192.168.50.200'.
nxagentParseOptionString: Warning ignored option 'cookie' = 'b3b01f868b529c1c1e02dd81d8c17dc2'.
nxagentParseOptionString: Warning ignored option 'samba' = '0'.
nxagentParseOptionString: Warning ignored option 'media' = '0'.
Info: Proxy running in server mode with pid '7361'.
Info: Waiting for connection from '192.168.50.200' on port '5000'.
Info: Accepted connection from '192.168.50.200' on port '59436'.
Info: Connection with remote proxy 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 agent parameters 98304/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 processor load limit.
Info: Not using persistent cache.
Info: Starting X protocol compression.
Info: Established X client connection.
Info: Using shared memory support in X server.
Info: Using fast copy area mode in agent.
Info: Using fast get image mode in agent.
Info: Using render cleanup parameters 8/20/23/24/25/26.
Info: Using local render version 0.8 with remote version 0.9.
Info: Using image cleanup parameters 0/0/0/0.
Info: Detected window manager.
Info: Not using local device configuration changes.
Info: Using alpha channel in render extension.
Info: Adding the X connection 3 to the device set.
Could not init font path element /usr/X11R6/lib/X11/fonts/misc/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/75dpi/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/TTF/, removing from list!

Fatal server error:
could not open default font 'fixed'
Info: End of session requested by agent termination.
Info: Waiting for a further signal to complete.
nxagentSighupHandler: Handling signal [1] by terminating the agent.
xsetroot:  unable to open display 'unix:1000'
xset:  unable to open display "unix:1000"
xset:  unable to open display "unix:1000"
xsetroot:  unable to open display 'unix:1000'
startkde: Starting up...
startkde: Running kpersonalizer...
kwin: cannot connect to X server unix:1000
kpersonalizer: cannot connect to X server unix:1000



kde starts fine locally.... ideas??

going to try to fix this:
Fatal server error:
could not open default font 'fixed'

fatal errors are usually bad lol, thought I would post anyway
Back to top
View user's profile Send private message
lazx888
Tux's lil' helper
Tux's lil' helper


Joined: 13 Sep 2005
Posts: 118

PostPosted: Mon Feb 13, 2006 5:14 am    Post subject: Reply with quote

actually, not starting okay locally... same complaint about RGB_DB

edit:

ln -s /usr/share/fonts/ /usr/X11R6/lib/X11/fonts
ln -s /usr/lib/X11/rgb /usr/X11R6/lib/X11/rgb


Workaround... new nxagent fixed?


Oh btw, thanks! the ebuild and nxserver works :D
Back to top
View user's profile Send private message
takhisis_astrafall
Tux's lil' helper
Tux's lil' helper


Joined: 04 Apr 2004
Posts: 127
Location: rennes

PostPosted: Mon Feb 13, 2006 9:52 am    Post subject: Reply with quote

hello.
how does it come to be the freenx 0.5.0 since it was not released on http://freenx.berlios.de/ ?
Back to top
View user's profile Send private message
StifflerStealth
Retired Dev
Retired Dev


Joined: 03 Jul 2002
Posts: 968

PostPosted: Mon Feb 13, 2006 10:58 pm    Post subject: Reply with quote

Version 0.4.5 and 0.5.0 are in the SVN. They are tagged, but they were not officially announced on the site. In fact, a lot of the new versions have not been announced there. The Debian mirrors have a lot of the newer versions because I think thy just pull them from the SVN repository. :)
_________________
Nothing to read in this sig. Move along.
Back to top
View user's profile Send private message
thomasvk
Guru
Guru


Joined: 19 Mar 2005
Posts: 597

PostPosted: Wed Feb 15, 2006 8:49 am    Post subject: Reply with quote

Hello,

Sorry to bother, but when I try to
Code:
ACCEPT_KEYWORDS="~x86" emerge -pv nxserver-freenx
there are still some packages masked. No problem, I add them to the package.unmask. But when I then try again, it seems that nx-x11 still depends on x11 6.8 (I check with -pvt). Suggestions?


jake1981 wrote:
Hopefully someone can download it and is willing to host it, since titanix.net ain't that sure..

Temp mirror if your host goes down. I hope it's useful.
Back to top
View user's profile Send private message
cron0
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jan 2004
Posts: 132
Location: Montreal, Quebec

PostPosted: Sun Feb 26, 2006 4:52 pm    Post subject: Reply with quote

t0maz wrote:
when I then try again, it seems that nx-x11 still depends on x11 6.8


Edit the nx-x11 ebuild and remove the "virtual/x11" line in the RDEPEND section.

cron0
Back to top
View user's profile Send private message
meskatech
n00b
n00b


Joined: 04 Jan 2005
Posts: 1

PostPosted: Sun Feb 26, 2006 4:59 pm    Post subject: nxsetup Reply with quote

Hello,

I got it working on my amd64, compiled in chroot :)

using this command btw:
Code:
nxsetup --clean --setup-nomachine-key --install --purge

I were always getting an error on user creation: invalid group -d

changing SETUP_GID="" to SETUP_GID="users" inside nxsetup fixed it
-------
finally with your ebuild works also my keyboard layout, thank you very much
Back to top
View user's profile Send private message
StifflerStealth
Retired Dev
Retired Dev


Joined: 03 Jul 2002
Posts: 968

PostPosted: Tue Mar 07, 2006 11:39 pm    Post subject: Reply with quote

The tarball that this ebuld uses is months old. The new pre-releases of 0.5.0 are in the snapshots directory. the Ebuild for the lastest one is here:
http://svn.gnqs.org/svn/gentoo-nx-overlay/

All the nx components have been updated as well, with xorg 7 depends, and it is not hard coded to xorg 7 either, you can still use 6.8 with this. :) So, try them out, modify them, abuse them, ... :P If there are any problems, just file a bug report here:
http://svn.gnqs.org/projects/gentoo-nx-overlay/

Hopefully everything goes well.

Cheers and have fun. :)
_________________
Nothing to read in this sig. Move along.
Back to top
View user's profile Send private message
GrimSage
n00b
n00b


Joined: 13 Sep 2004
Posts: 42

PostPosted: Fri Mar 10, 2006 2:42 am    Post subject: Reply with quote

I am getting an error when trying to emerge using stifflerStealths svn

svn co http://svn.gnqs.org/svn/gentoo-nx-overlay/testing/net-misc

Code:

emerge -p nxserver-freenx
These are the packages that would be merged, in order:
Calculating dependencies... done!
[blocks B     ] x11-libs/libXft (is blocking x11-base/xorg-x11-6.8.2-r6)
[ebuild     UD] x11-base/xorg-x11-6.8.2-r6 [7.0-r1] USE="3dnow% bitmap-fonts% mmx% nls% opengl% pam% sse% truetype-fonts% type1-fonts% xv% -cjk% -debug% -dlloader% -dmx% -doc% -font-server% -insecure-drivers% -ipv6% -minimal% -nocxx% -sdk% -static% -xprint%"
[ebuild  N    ] virtual/x11-6.8


Is there something I need to do to get this to work with modular x?

if I try removing virtual/x11 I get teh following
Code:

# emerge -p nxserver-freenx
These are the packages that would be merged, in order:
Calculating dependencies /
emerge: there are no ebuilds to satisfy "x11-libs/libXFS".
(dependency required by "net-misc/nx-x11-1.5.0-r7" [ebuild])


I found the answer to be from http://gentoo-wiki.com/HOWTO_Modular_Xorg
Code:

 'emerge -u world' wants to install xorg-x11 6.x or virtual/x11

This is because the tree isn't fixed for modular dependencies yet. You can help the porting effort by reading the Porting to Modular X HowTo and filing bugs with patches to the individual package maintainers. The maintainers will be listed in metadata.xml in the same directory as the package and the herdstat package will speed up querying for them.
[edit]
Workaround

add

virtual/x11-6.8

to your /etc/portage/profile/package.provided

Back to top
View user's profile Send private message
buddytaylor0
n00b
n00b


Joined: 26 Jan 2005
Posts: 4
Location: RTP, NC USA

PostPosted: Wed Jul 12, 2006 1:46 am    Post subject: nxclient authenticates OK then dies Reply with quote

If you are successfully connecting, getting the logo, and then it just exits, read on.

I was able to authenticate, but then the session was just ending.
It turns out that I had a line in my .profile that was causing my nxsession to exit.
(I was exec'ing /bin/bash under certain conditions.)

If you are getting passed authentication and getting the logo and then it just disappears, you might want
to try renaming or gutting your .profile, .bash_profile, .bashrc, ... files and see if it helps.

I think saw someone ask about this problem many pages back, but never saw an answer.
Hopefully this may help someone.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
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