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 ... 26, 27, 28, 29, 30  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
pops45042
Apprentice
Apprentice


Joined: 07 Jan 2004
Posts: 278
Location: Cincinnati, Ohio

PostPosted: Wed Nov 01, 2006 5:53 pm    Post subject: Reply with quote

Has anyone successfully gotten freenx-server version 0.5.0.20060311-r1 working? I'd like to compare some of my files to figure out what I'm doing wrong.

Paul
_________________
"That which does not kill me only postpones the inevitable"

Laugh at my old system!
AMD Opteron 165@ 2750Mhz, 2gig 400mhz Cas2 Crucial Ballistix, Abit NF8 Ultra MB, WD 80gig (system), WD 120gig (storage), Geforce 8800GTS 320MB, Mushkin 550W PS
Back to top
View user's profile Send private message
stuherbert
Retired Dev
Retired Dev


Joined: 17 Aug 2003
Posts: 47
Location: Pontypridd, South Wales

PostPosted: Thu Nov 02, 2006 8:28 am    Post subject: Reply with quote

Just thought I'd warn everyone ... I'm currently reworking the ebuilds in the NX overlay. Until I'm done, the overlay's unlikely to work for you.

I'm tackling things in this order:

a) Get freenx-0.5.0 working well w/ nx-x11-1.5.0 & nxclient 1.5.0
b) Get the GPL'd 2X server working
c) Get the commercial NX-2.1 server working w/ nxclient 2.x
d) Look at freenx w/ nxclient 2.x

If anyone wants to help in any way, let me know. #gentoo-nx on IRC or an email to stuart at gentoo.org is best.

Best regards,
Stu
_________________
--
stuart@gentoo.org
Gentoo Developer
Trustee, Gentoo Foundation
http://blog.stuartherbert.com
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: Thu Nov 02, 2006 11:26 am    Post subject: Reply with quote

Thanks for the warning :)

I Think most people here will make for good testers.

One additional thought: Most users here seem to have problems tracking down the actual Problem with their freenx install. This makes me think that either there is to confusing or not enough error output on the whole process. Or maybe even higher counts the lenght of the component chain and a lack of understanding how they work together.

So if some insider might technicaly explain the whole connection, login, session-creation, running process in short simple words it might help us sheeps to find the broken link(s) better :)

Greets
Mana
_________________
Mein Freund, der Baum, ist tot. Er starb im frühen Morgenrot.
Back to top
View user's profile Send private message
thebigslide
l33t
l33t


Joined: 23 Dec 2004
Posts: 790
Location: under a car or on top of a keyboard

PostPosted: Sun Nov 05, 2006 6:08 am    Post subject: Reply with quote

I'm trying to install freenx on amd64. I'm using:

Code:
net-misc/nx-x11-bin-1.5.0
net-misc/nxclient-1.5.0-r4
net-misc/nxcomp-1.5.0-r2
net-misc/nxproxy-1.5.0-r2
net-misc/nxserver-freenx-0.5.0.20060311-r1
net-misc/nxssh-1.5.0-r2
net-misc/nxesd-1.5.0


Code:

Portage 2.1.1-r1 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.16-ck12-r2 x86_64)
=================================================================
System uname: 2.6.16-ck12-r2 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.6
Last Sync: Sat, 04 Nov 2006 17:00:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac alsa apache2 berkdb bitmap-fonts bzip2 cli cracklib crypt cups dlloader dri dvd dvdread elibc_glibc esd fortran gdbm gecko-sdk gif gimpprint gnome gpm gtk gtk2 hash iconv imlib input_devices_evdev input_devices_keyboard input_devices_mouse isdnlog jpeg jpeg2k kde kernel_linux krb5 libcacadts libg++ linguas_en ming mng mp3 mpeg mpm-threadpool mysql ncurses nls nptl nptlonly nxclient ogg opengl pam pcre perl png ppds pppd python readline reflection session sndfile spell spl ssl svg tcpd threads tiff truetype truetype-fonts type1-fonts udev unicode userland_GNU v4l vcd video_cards_fglrx vorbis wmf xml xorg xprint xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


I've followed the instructions in the wiki and I'm still getting denied access. What's with the nx user? Is it assumed I'm to authenticate the default server setup as nx? Why do I have to create this user?

When I try to connect with nxclient, I'm just getting 'authentication failed for user $user' whether $user is my regular user (who I've added with 'nxserver --useradd ryan' and set the pw to be the same as my system password for now, for the sake of troubleshooting), or nx (who I similarly setup and for whome I made a default .fluxbox directory).

nxclient has no details

I run ssh on port 443 on this server so I can access it via a particular firewall, I've modified the sshd_config, node.conf (the ssh port) and nxclient is trying to connect to localhost:443
I modified /etc/env.d/50nxpaths and added a line LDPATH=/usr/NX/lib
I did ssh-keygen -d and copied the .pub into /usr/NX/home/nx/.ssh/authorized_keys
I've changed the configuration in node.conf and sshd_config to use authorized_keys and restarted both services.
Logging is set to level 6 and NX_LOGFILE=/var/log/nxserver.log (which is nx:nx 0664)
I'm not even getting a message in the log file when the user is denied access.

Can anyone determine how I screwed it up
Back to top
View user's profile Send private message
stuherbert
Retired Dev
Retired Dev


Joined: 17 Aug 2003
Posts: 47
Location: Pontypridd, South Wales

PostPosted: Sun Nov 05, 2006 10:46 am    Post subject: Reply with quote

There is a new nxserver-freenx package available in the NX overlay. The package includes a number of fixes for installation-related problems.

To install it, use:

Code:

layman -a nx
emerge -uavD '=nxserver-freenx-0.5.0-r1'
nxsetup --override --install


NOTE: make sure that you specify the version to install, otherwise you'll get the nxserver-freenx package from the Portage tree!

Best regards,
Stu[/code]
_________________
--
stuart@gentoo.org
Gentoo Developer
Trustee, Gentoo Foundation
http://blog.stuartherbert.com
Back to top
View user's profile Send private message
thebigslide
l33t
l33t


Joined: 23 Dec 2004
Posts: 790
Location: under a car or on top of a keyboard

PostPosted: Sun Nov 05, 2006 7:22 pm    Post subject: Reply with quote

Hello, thank you for the overlay. I have installed the overlay, cleaned the old packages and /usr/NX and emerged the ebuilds from the overlay. I had to first add a ~amd64 keyword to the nxclient ebuild and redigest, not sure if that's intentional or not. While compiling nx, I noticed the following in the output:
Code:
gcc -o ./libXft.so.2.1~ -shared -Wl,-soname,libXft.so.2 xftcolor.o xftdbg.o xftdpy.o xftdraw.o xftextent.o xftfont.o xftinit.o xftlist.o xftname.o xftstr.o xftswap.o xftxlfd.o xftfreetype.o xftglyphs.o xftrender.o xftcore.o -L../../exports/lib -lXrender -lXext -lX11 -lfontconfig -lexpat -lfreetype -lc
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: ../../exports/lib/libfreetype.a(ftbase.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
../../exports/lib/libfreetype.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
+ rm -f libXft.so.2
+ ln -s libXft.so.2.1 libXft.so.2
+ rm -f ../../exports/lib/libXft.so.2
+ cd ../../exports/lib
+ ln -s ../../lib/Xft/libXft.so.2 .
rm -f libXft.so.2.1
mv -f libXft.so.2.1~ libXft.so.2.1
mv: cannot stat `libXft.so.2.1~': No such file or directory
make[4]: *** [libXft.so.2.1] Error 1
make[4]: Target `all' not remade because of errors.
Emerge continued nonetheless and merged nx irregardless. Is this anything to be concerned about?

I am about to try it out.

EDIT:
I ran nxsetup --override --install, fixed some errors resulting from no link from /usr/lib/nx/lib to /usr/lib/nx/lib64, but I also got
Code:
Error: Could not find 1.5.0 version string in nxagent. NX 1.5.0 backend is needed for this version of FreeNX.
nxagent doesn't seem to have a switch that announces version and
Code:
equery belongs `which nxagent`
[ Searching for file(s) /usr/bin/nxagent in *... ]
net-misc/nx-1.5.0 (/usr/bin/nxagent)


/etc/nxserver/node.conf says
Code:
ENABLE_2_0_0_BACKEND="0"
# ENABLE_1_5_0_BACKEND="1"
I'm unsure if that commented line is supported syntax for this version of freenx. I tried with and without the line commented out, though.

Ryan
Back to top
View user's profile Send private message
Judge584
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2005
Posts: 109

PostPosted: Thu Nov 09, 2006 11:35 am    Post subject: Reply with quote

Hi,

I'm trying to install nxserver-freenx-0.5.0-r1 on Gentoo amd64...

first error: doing an nxsetup --override --install give me this:


nxsetup --override --install
------> It is recommended that you use the NoMachine key for
easier setup. If you answer "y", FreeNX creates a custom
KeyPair and expects you to setup your clients manually.
"N" is default and uses the NoMachine key for installation.

Do you want to use your own custom KeyPair? [y/N] NSetting up /etc/nxserver ...done
Setting up /var/lib/nxserver/db ...done
Setting up /var/log/nxserver.log ...done
Setting up known_hosts and authorized_keys2 ...done
Setting up permissions ...done

----> Testing your nxserver configuration ...
Warning: Could not find nxdesktop in /usr/bin. RDP sessions won't work.
Warning: Could not find nxviewer in /usr/bin. VNC sessions won't work.
Error: Invalid value "PATH_LIB=/usr/lib/NX/lib"
Error: Invalid value "AGENT_LIBRARY_PATH=/usr/lib/NX/lib"
Error: Invalid value "PROXY_LIBRARY_PATH=/usr/lib/NX/lib"
Error: Invalid value "APPLICATION_LIBRARY_PATH=/usr/lib/NX/lib"
Error: Invalid value "APPLICATION_LIBRARY_PRELOAD=/usr/lib/NX/lib/libX11.so.6.2:/usr/lib/NX/lib/libXext.so.6.4:/usr/lib/NX/lib/libXcomp.so.1:/usr/lib/NX/lib/libXcompext.so.1:/usr/lib/NX/lib/libXrender.so.1.2"
Warning: Invalid value "DEFAULT_X_SESSION=/etc/X11/xdm/Xsession"
Users might not be able to request a default X session.
Warning: Invalid value "COMMAND_START_GNOME=/etc/X11/Sessions/Gnome"
Users will not be able to request a Gnome session.
Warning: Invalid value "COMMAND_START_CDE=cdwm"
Users will not be able to request a CDE session.
Warning: Invalid value "COMMAND_SMBMOUNT=smbmount". You'll not be able to use SAMBA.
Warning: Invalid value "COMMAND_SMBUMOUNT=smbumount". You'll not be able to use SAMBA.
Error: Could not find 1.5.0 version string in nxagent. NX 1.5.0 backend is needed for this version of FreeNX.


So I have created a symlink:

cd /usr/lib64/NX
ln -s lib lib64

now: an nxsetup --override --install give me this:

------> It is recommended that you use the NoMachine key for
easier setup. If you answer "y", FreeNX creates a custom
KeyPair and expects you to setup your clients manually.
"N" is default and uses the NoMachine key for installation.

Do you want to use your own custom KeyPair? [y/N] NSetting up /etc/nxserver ...done
Setting up /var/lib/nxserver/db ...done
Setting up /var/log/nxserver.log ...done
Setting up known_hosts and authorized_keys2 ...done
Setting up permissions ...done

----> Testing your nxserver configuration ...
Warning: Could not find nxdesktop in /usr/bin. RDP sessions won't work.
Warning: Could not find nxviewer in /usr/bin. VNC sessions won't work.
Warning: Invalid value "DEFAULT_X_SESSION=/etc/X11/xdm/Xsession"
Users might not be able to request a default X session.
Warning: Invalid value "COMMAND_START_GNOME=/etc/X11/Sessions/Gnome"
Users will not be able to request a Gnome session.
Warning: Invalid value "COMMAND_START_CDE=cdwm"
Users will not be able to request a CDE session.
Warning: Invalid value "COMMAND_SMBMOUNT=smbmount". You'll not be able to use SAMBA.
Warning: Invalid value "COMMAND_SMBUMOUNT=smbumount". You'll not be able to use SAMBA.
Error: Could not find 1.5.0 version string in nxagent. NX 1.5.0 backend is needed for this version of FreeNX.

Errors occured during config check.
Please correct the configuration file.


So I have modified the /etc/nxserver/node.conf file and I have put this line in:

DEFAULT_X_SESSION=/etc/X11/xinit/xinitrc

now, an nxsetup --override --install give me this:


----> Testing your nxserver configuration ...
Warning: Could not find nxdesktop in /usr/bin. RDP sessions won't work.
Warning: Could not find nxviewer in /usr/bin. VNC sessions won't work.
Warning: Invalid value "COMMAND_START_GNOME=/etc/X11/Sessions/Gnome"
Users will not be able to request a Gnome session.
Warning: Invalid value "COMMAND_START_CDE=cdwm"
Users will not be able to request a CDE session.
Warning: Invalid value "COMMAND_SMBMOUNT=smbmount". You'll not be able to use SAMBA.
Warning: Invalid value "COMMAND_SMBUMOUNT=smbumount". You'll not be able to use SAMBA.
Error: Could not find 1.5.0 version string in nxagent. NX 1.5.0 backend is needed for this version of FreeNX.

Errors occured during config check.
Please correct the configuration file.


If I try to connect via my Windows FreeNx client, the connection is etablished, then it starts to negociate link parameters, and finally crash on this:

Info: Display running with pid '3848' and handler '0xf067a'.
NXPROXY - Version 2.1.0

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

Info: Proxy running in client mode with pid '1004'.
Session: Starting session at 'Thu Nov 9 12:30:17 2006'.
Info: Connecting to remote host 'xx.xx.xx.xx:5002'.
Info: Aborting the procedure due to signal '15'.
Session: Session terminated at 'Thu Nov 9 12:30:42 2006'.


Any ideas?

12:48 EDIT: I think I have understand my problem...:

the log of my NX client show this:

Info: Connecting to remote host 'xx.xx.xx.xx:5002'.

Or, i'm at work behind a proxy/firewall...so I know the only way to connect to my home-pc is to tunnel ALL traffic in my ssh connection on port 443...

So I have done this:

1°)setup Putty to open a connection on xx.xx.xx.xx:443 and to tunnel
2°)setup putty to tunnel localhost:5900 to my home machine on port 443
setup putty to tunnel localhost:5002 to my home machine on port 5002
setup putty to tunnel localhost:5002 to my home machine on port 5003
3°)Now, when i launch my FreeNx client, it connect, show me a xwindow with the freenx logo and then imediatly close the connection.
the log show me this:

Info: Display running with pid '972' and handler '0x2b0550'.
NXPROXY - Version 2.1.0

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

Info: Proxy running in client mode with pid '3796'.
Session: Starting session at 'Thu Nov 9 13:03:22 2006'.
Info: Connecting to remote host 'localhost:5003'.
Info: Connection to remote proxy 'localhost:5003' established.
Warning: Connected to remote NXPROXY version 1.5.0 with local version 2.1.0.
Info: Synchronizing local and remote caches.
Info: Handshaking with remote proxy completed.
Warning: Font server connections not supported by the remote proxy.
Info: Using adsl link parameters 512/24/1/0.
Info: Using cache parameters 4/262144/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-kde'.
Info: Using ZLIB data compression 3/3/32.
Info: Using ZLIB stream compression 6/6.
Info: No suitable cache file found.
Info: Using remote server 'localhost:5003'.
Session: Session started at 'Thu Nov 9 13:03:22 2006'.
Info: Established X server connection.
Info: Using shared memory parameters 1/2048K.
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 'Thu Nov 9 13:03:23 2006'.


any ideas?
Back to top
View user's profile Send private message
stuherbert
Retired Dev
Retired Dev


Joined: 17 Aug 2003
Posts: 47
Location: Pontypridd, South Wales

PostPosted: Tue Nov 14, 2006 8:31 am    Post subject: Reply with quote

Judge - the nxserver-freenx package is for x86 only at the moment. I'll post a message here when I have committed a version that also works on amd64.

Best regards,
Stu
_________________
--
stuart@gentoo.org
Gentoo Developer
Trustee, Gentoo Foundation
http://blog.stuartherbert.com
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: Tue Nov 14, 2006 1:05 pm    Post subject: Reply with quote

If you fear the complexity of a 32-bit chroot, maybe try your luck with a gentoo-vserver kernel. You can setup a 32-bit vserver on a 64-bit vserver-host.
_________________
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: Wed Nov 15, 2006 11:53 am    Post subject: Reply with quote

i am setting up the latest freenx on a seperate vserver, all went fine so far though i had to get used to the new place for the configs. A problem persists after successful authentication of my user a connection attempt to 127.0.0.1 is made. Problem is: there is no such thing as a "local" loopback device on a vserver. I would instead use on of the IPs on a dummy or a real interface that is associated but the nxserver script doesnt seem to react on the localhost-ip in /etc/hosts .. i will try and crawl through the scrpts to look for this piece of hardcode.

Can you give a hint on that stuherbert?

Code:
NX> 148 Server capacity: not reached for user: mana
NX> 105 startsession --session="ppnx" --type="unix-kde" --cache="32M" --images="64M" --link="isdn" --kbtype="pc102/de" --nodelay="1" --encryption="1" --backingstore="never" --geometry="1260x1000" --media="0" --agent_server="" --agent_user="" agent_password="******""  --screeninfo="1260x1000x16+render"

ssh: connect to host 127.0.0.1 port 22: Connection refused
Killed by signal 15.


many greets :)
Mana
_________________
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: Wed Nov 15, 2006 12:17 pm    Post subject: Reply with quote

After changing /usr/bin/nxserver line 923
Code:
SERVER_HOST="127.0.0.1
to my desired IP, i got a step further up to where, as often, nxagent exits with 1 ;) .. this is where i cannot tell what it could be.

here is the complete log:

Code:
-- NX SERVER START: -c /usr/bin/nxserver - ORIG_COMMAND=
HELLO NXSERVER - Version 1.5.0-50 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: mana
NX> 102 Password:
Info: Auth method: passdb
NX> 103 Welcome to: 88.198.142.19 user: mana
NX> 105 listsession --user="mana" --status="suspended,running" --geometry="1260x971x16+render" --type="unix-kde"
NX> 127 Sessions list of user 'mana' for reconnect:

Display Type             Session ID                       Options  Depth Screen         Status      Session Name
------- ---------------- -------------------------------- -------- ----- -------------- ----------- ------------------------------


NX> 148 Server capacity: not reached for user: mana
NX> 105 startsession --session="ppnx" --type="unix-kde" --cache="8M" --images="32M" --link="lan" --kbtype="pc102/de" --nodelay="1" --backingstore="when_requested" --geometry="1260x924" --media="0" --agent_
server="" --agent_user="" agent_password="******""  --screeninfo="1260x924x16+render"

&session=ppnx&type=unix-kde&cache=8M&images=32M&link=lan&kbtype=pc102/de&nodelay=1&backingstore=when_requested&geometry=1260x924&media=0&agent_server=&agent_user=&agent_password=******&screeninfo=1260x924x
16+render&clientproto=1.5.0&user=mana&userip=85.25.131.110&uniqueid=5868F16CABD45158434DFA7B0B40F8A8&display=1000&host=88.198.142.19
NX> 1000 NXNODE - Version 1.5.0-50 OS (GPL)
NX> 700 Session id: 88.198.142.19-1000-5868F16CABD45158434DFA7B0B40F8A8
NX> 705 Session display: 1000
NX> 703 Session type: unix-kde
NX> 701 Proxy cookie: 1572ca5ce63768057b16be385395cc79
NX> 702 Proxy IP: 85.25.131.110
NX> 706 Agent cookie: 1572ca5ce63768057b16be385395cc79
NX> 704 Session cache: unix-kde
NX> 707 SSL tunneling: 0
NX> 1004 Error: NX Agent exited with exit status 1.
NX> 1006 Session status: closed
NX> 105 NX> 596 Session startup failed.
NX> 1001 Bye.

_________________
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: Thu Nov 16, 2006 1:10 pm    Post subject: Reply with quote

Silly me! .. The KDE-Install that i did failed without my recognition. So no "startkde" could be found by nxagent .. it would be GREAT if such error messages could be somehow piped through to the logfiles ;)

many greets, ill post back further results if there is something interesting :)
_________________
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 Nov 18, 2006 7:24 pm    Post subject: Reply with quote

As you probably read, i installed nxserver-freenx-0.5.0-r1 with succes .. but i have problems with "ALT Gr" key, for example to type an @ .. this problem now exists for as long as i know freenx :-((( .. i kind of solved the problem with issuing "ln -snf ../../share/X11/xkb /usr/lib/X11/xkb" ..

i cant help it :x
_________________
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: Wed Nov 22, 2006 5:05 pm    Post subject: Reply with quote

waaahoo i (re)found my solution. I Added

Code:
COMMAND_XMODMAP=/usr/bin/xmodmap
COMMAND_XKBCOMP=/usr/bin/xkbcomp
to my node.conf and now it works :o)

Next comes smbmount, printing-support and multimedia-support :D ..

greets
Mana
_________________
Mein Freund, der Baum, ist tot. Er starb im frühen Morgenrot.
Back to top
View user's profile Send private message
nahpets
Veteran
Veteran


Joined: 05 Oct 2003
Posts: 1178
Location: Montreal, Canada

PostPosted: Fri Nov 24, 2006 3:51 am    Post subject: Reply with quote

The package 'nx' was being blocked by 'nx-x11' and friends, so I cleaned out all the packages emerge was complaining about and then emerged nx. The new install went fine and I noticed that all nxserver related files have been moved out of /usr/NX.. The problem is that I can no longer log in. I've set everything up and added a user 'stephan' and set the password properly using 'nxserver --passwd stephan', but I keep getting this all the time:
Code:

ELLO NXSERVER - Version 1.5.0-50 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: stephan
NX> 102 Password:
Info: Auth method: passdb ssh
NX> 404 ERROR: wrong password or login
NX> 999 Bye


I have a file 'password' in /etc/nxserver, so everything looks good there. I searched through this whole thread and didn't see this problem, though maybe I missed it (maybe the theread should be split??). Anyways, please let me know of any possible solutions. Shown below are the versions of nx I have installed:
Code:

# equery list -i nx
[ Searching for package 'nx' in all categories among: ]
 * installed packages
[I--] [ ~] net-misc/nx-1.5.0 (0)
[I--] [ ~] net-misc/nxclient-1.5.0-r5 (0)
[I--] [ ~] net-misc/nxserver-freenx-0.5.0-r1 (0)

_________________
Let me guess, you picked out yet another colorful box with a crank that I'm expected to turn and turn until OOP! big shock, a jack pops out and you laugh and the kids laugh and the dog laughs and I die a little inside.
Back to top
View user's profile Send private message
janus4
n00b
n00b


Joined: 05 May 2004
Posts: 11

PostPosted: Tue Nov 28, 2006 7:13 am    Post subject: Reply with quote

nahpets wrote:
The package 'nx' was being blocked by 'nx-x11' and friends, so I cleaned out all the packages emerge was complaining about and then emerged nx. The new install went fine and I noticed that all nxserver related files have been moved out of /usr/NX.. The problem is that I can no longer log in. I've set everything up and added a user 'stephan' and set the password properly using 'nxserver --passwd stephan', but I keep getting this all the time:
Code:

ELLO NXSERVER - Version 1.5.0-50 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: stephan
NX> 102 Password:
Info: Auth method: passdb ssh
NX> 404 ERROR: wrong password or login
NX> 999 Bye


I have a file 'password' in /etc/nxserver, so everything looks good there. I searched through this whole thread and didn't see this problem, though maybe I missed it (maybe the theread should be split??). Anyways, please let me know of any possible solutions. Shown below are the versions of nx I have installed:
Code:

# equery list -i nx
[ Searching for package 'nx' in all categories among: ]
 * installed packages
[I--] [ ~] net-misc/nx-1.5.0 (0)
[I--] [ ~] net-misc/nxclient-1.5.0-r5 (0)
[I--] [ ~] net-misc/nxserver-freenx-0.5.0-r1 (0)


I have done the following to get Freenx 0.5. and client 1.5.0 working:

unmerged all nx packages. Unmasked nx, nxclient and nxserver-freenx as mentioned above.

As root: nxsetup --override there is an big error, but it creates the Key within /etc/nxserver.

Then i copied users.id_dsa.pub to the _local_ users ~/.ssh/authorized_keys file.

Thats all. Worked very fast. (I have not tried the keyboard yet ;-) )
_________________
--
It is never to late to have a happy childhod.
Back to top
View user's profile Send private message
nahpets
Veteran
Veteran


Joined: 05 Oct 2003
Posts: 1178
Location: Montreal, Canada

PostPosted: Tue Nov 28, 2006 7:28 am    Post subject: Reply with quote

I got it to work by using ENABLE_PASSDB_AUTHENTICATION="0". Either SSH or SU authentication works, but using PASSDB doesn't. I also read somewhere that PASSDB is deprecated because it ends up being a pain to maintain an extra password for each user because only root can execute 'nxserver --passwd'. If you have password authentication disabled like I do, you SU authentication is the way to go.

On another note, does anyone know if using SU authentication leaves a security hole?
_________________
Let me guess, you picked out yet another colorful box with a crank that I'm expected to turn and turn until OOP! big shock, a jack pops out and you laugh and the kids laugh and the dog laughs and I die a little inside.
Back to top
View user's profile Send private message
rpmohn
Tux's lil' helper
Tux's lil' helper


Joined: 26 Aug 2003
Posts: 116
Location: Vermont

PostPosted: Wed Nov 29, 2006 7:00 pm    Post subject: Reply with quote

Something is not right with colors between xorg 7.x (I'm on 7.1 right now) and nxserver-freenx (0.5.0-r1) :( . I keep getting errors like this when I run terminals:
Code:
xterm: Cannot allocate color green
xterm: Cannot allocate color white
xterm: Cannot allocate color black
aterm: can't load color "Black", colorID = 2, (29)
aterm: can't load color "Black", colorID = 2, (29)
aterm: can't load color "Red3", colorID = 3, (29)
aterm: can't load color "Red3", colorID = 3, (29)
I only get these when I'm in remotely through NX, and I never had this problem before I upgraded to modular X. I've looked at code, recompiled, etc, but no luck. I've got rgb.txt in
Code:
/usr/share/X11/rgb.txt
Anybody else have this and solve it?

Thanks! -RPM
Back to top
View user's profile Send private message
rpmohn
Tux's lil' helper
Tux's lil' helper


Joined: 26 Aug 2003
Posts: 116
Location: Vermont

PostPosted: Fri Dec 08, 2006 9:41 pm    Post subject: Reply with quote

rpmohn wrote:
Something is not right with colors between xorg 7.x (I'm on 7.1 right now) and nxserver-freenx (0.5.0-r1) :( . I keep getting errors like this when I run terminals:
Code:
xterm: Cannot allocate color green
xterm: Cannot allocate color white
xterm: Cannot allocate color black
aterm: can't load color "Black", colorID = 2, (29)
aterm: can't load color "Black", colorID = 2, (29)
aterm: can't load color "Red3", colorID = 3, (29)
aterm: can't load color "Red3", colorID = 3, (29)
I only get these when I'm in remotely through NX, and I never had this problem before I upgraded to modular X. I've looked at code, recompiled, etc, but no luck. I've got rgb.txt in
Code:
/usr/share/X11/rgb.txt
Anybody else have this and solve it?


I think I'm getting closer, but still so far away :( . At the top of each session file under ~/.nx/ is the following line
Code:
Couldn't open RGB_DB '/usr/share/X11'

and yet that is exactly where the file is located!
Code:
# ls -l /usr/share/X11/rgb.txt
-rw-r--r-- 1 root root 17371 Oct 31 08:39 /usr/share/X11/rgb.txt
Please help!
Thanks -RPM
Back to top
View user's profile Send private message
pops45042
Apprentice
Apprentice


Joined: 07 Jan 2004
Posts: 278
Location: Cincinnati, Ohio

PostPosted: Sun Dec 10, 2006 4:16 am    Post subject: Reply with quote

Could anyone link me to a guide that deals with installing the latest version of the ebuild from the devlopers overlay?

Thanks,
Paul
_________________
"That which does not kill me only postpones the inevitable"

Laugh at my old system!
AMD Opteron 165@ 2750Mhz, 2gig 400mhz Cas2 Crucial Ballistix, Abit NF8 Ultra MB, WD 80gig (system), WD 120gig (storage), Geforce 8800GTS 320MB, Mushkin 550W PS
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: Mon Dec 11, 2006 1:56 pm    Post subject: Reply with quote

I dont think that there is any written down guide for latest bleeding edge. Just unmerge safely all freenx packages, add the overlay with layman, emerge exact the lates version with "emerge =package ..." and play arround in the node.conf, especialy "enable_1_5_0_backend" and things ;).

Works for me. SMBMOUNT and Sound including ;)

greets
Mana
_________________
Mein Freund, der Baum, ist tot. Er starb im frühen Morgenrot.
Back to top
View user's profile Send private message
pops45042
Apprentice
Apprentice


Joined: 07 Jan 2004
Posts: 278
Location: Cincinnati, Ohio

PostPosted: Mon Dec 11, 2006 2:00 pm    Post subject: Reply with quote

After adding the overlay, what packages did you emerge then? What settings did you modify?

The closest that I get is I try and connect from my client and it tells me about some darn authentication error and my log file is always empty eve though i change dthe log level.

Paul
_________________
"That which does not kill me only postpones the inevitable"

Laugh at my old system!
AMD Opteron 165@ 2750Mhz, 2gig 400mhz Cas2 Crucial Ballistix, Abit NF8 Ultra MB, WD 80gig (system), WD 120gig (storage), Geforce 8800GTS 320MB, Mushkin 550W PS
Back to top
View user's profile Send private message
sm3.142
n00b
n00b


Joined: 07 Dec 2005
Posts: 4

PostPosted: Mon Dec 11, 2006 5:06 pm    Post subject: Reply with quote

rpmohn wrote:
rpmohn wrote:
Something is not right with colors between xorg 7.x (I'm on 7.1 right now) and nxserver-freenx (0.5.0-r1) :( . I keep getting errors like this when I run terminals:
Code:
xterm: Cannot allocate color green
xterm: Cannot allocate color white
xterm: Cannot allocate color black
aterm: can't load color "Black", colorID = 2, (29)
aterm: can't load color "Black", colorID = 2, (29)
aterm: can't load color "Red3", colorID = 3, (29)
aterm: can't load color "Red3", colorID = 3, (29)
I only get these when I'm in remotely through NX, and I never had this problem before I upgraded to modular X. I've looked at code, recompiled, etc, but no luck. I've got rgb.txt in
Code:
/usr/share/X11/rgb.txt
Anybody else have this and solve it?


I think I'm getting closer, but still so far away :( . At the top of each session file under ~/.nx/ is the following line
Code:
Couldn't open RGB_DB '/usr/share/X11'

and yet that is exactly where the file is located!
Code:
# ls -l /usr/share/X11/rgb.txt
-rw-r--r-- 1 root root 17371 Oct 31 08:39 /usr/share/X11/rgb.txt
Please help!
Thanks -RPM


I have exactly the same problem as you. Only I need to use (X)Emacs and that doesn't even start, simply segfaults. After
seeing your last post I was wondering, why does it say
Code:
/usr/share/X11
and not
Code:
/usr/share/X11/rgb

like it should? (X11 has this stupid windowish habit of omitting the .txt extension for the RGB DB file. Bah!)

So I tried this:

Code:
ln -s /usr/share/X11/rgb.txt /usr/share/X11.txt


and lo and behold, (X)Emacs is happy again and so is xterm. I can live with this for the moment, but I'm first to admit that
it is an extremely nasty kludge. But despite staring at the code for quite some time I can't for the life of me figure out where
NX gets the value of
Code:
/usr/share/X11
from.

Any ideas anyone? Stu?
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: Tue Dec 12, 2006 11:41 am    Post subject: Reply with quote

pops45042 it is all on this page ;)

stuherbert wrote:
There is a new nxserver-freenx package available in the NX overlay. The package includes a number of fixes for installation-related problems.

To install it, use:

Code:

layman -a nx
emerge -uavD '=nxserver-freenx-0.5.0-r1'
nxsetup --override --install


NOTE: make sure that you specify the version to install, otherwise you'll get the nxserver-freenx package from the Portage tree!

Best regards,
Stu[/code]

_________________
Mein Freund, der Baum, ist tot. Er starb im frühen Morgenrot.
Back to top
View user's profile Send private message
Finswimmer
Moderator
Moderator


Joined: 02 Sep 2004
Posts: 5467
Location: Langen (Hessen), Germany

PostPosted: Tue Dec 12, 2006 12:46 pm    Post subject: Reply with quote

Code:
[13:38:32]|[root@tobi-rechner]|/tmp$nxsetup --override --install
------> It is recommended that you use the NoMachine key for
        easier setup. If you answer "y", FreeNX creates a custom
        KeyPair and expects you to setup your clients manually.
        "N" is default and uses the NoMachine key for installation.

 Do you want to use your own custom KeyPair? [y/N] NSetting up /etc/nxserver ...done
Generating public/private dsa key pair.
Your identification has been saved in /etc/nxserver/users.id_dsa.
Your public key has been saved in /etc/nxserver/users.id_dsa.pub.
The key fingerprint is:
92:92:98:e4:13:42:67:c3:d8:93:4d:a2:94:92:b9:37 root@tobi-rechner
Setting up /var/lib/nxserver/db ...done
Setting up /var/log/nxserver.log ...done
Setting up known_hosts and authorized_keys2 ...done
Setting up permissions ...done

----> Testing your nxserver configuration ...
Warning: Could not find nxdesktop in /usr/bin. RDP sessions won't work.
Warning: Invalid value "COMMAND_START_KDE=startkde"
         Users will not be able to request a KDE session.
Warning: Invalid value "COMMAND_START_GNOME=/etc/X11/Sessions/Gnome"
         Users will not be able to request a Gnome session.
Warning: Invalid value "COMMAND_START_CDE=cdwm"
         Users will not be able to request a CDE session.
Error: Could not find 1.5.0 version string in nxagent. NX 1.5.0 backend is needed for this version of FreeNX.

  Errors occured during config check.
  Please correct the configuration file.


I said N to use the NoMachine way.

nxdesktop isn't found. It is in net-misc/nx-x11-1.4.0-r4. But I cannot install this package due to a block.

And what about the error?

Tobi
_________________
Bitte auf Rechtschreibung, korrekte Formatierung und Höflichkeit achten!
Danke
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 ... 26, 27, 28, 29, 30  Next
Page 27 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