Sponsored Content
Full Discussion: FreeNX on FreeBSD
Special Forums IP Networking FreeNX on FreeBSD Post 302077055 by Sergiu-IT on Monday 19th of June 2006 05:40:52 AM
Old 06-19-2006
Data FreeNX on FreeBSD

Hello !
I just installed FreeNX on my FreeBSD box following this tutorial ( http://www.averageadmins.com/blog/20...eebsd/#more-49 ). It sounds quite simple, and I've got no errors during installation.
I installed NX client on my WindowsXP station and I try to connect. When I try to connect to FreeBSD box using NX client it makes the connection and waits for authentication ("Waiting authentication"). This is how it stays until I get the "Connection timeout" message.
I tryed to connect in diferent ways... with/without SSL encryption... using port no. 22 (ssh) or 23 (telnet - it doesn't even connect).
What I noticed and it sounds a little bit weird is this:
Code:
root@server# ps aux | grep nx
nx      23768  0.0  0.3  3276  1756  ??  Is   12:35PM   0:00.08 /usr/local/bin/bash /usr/X11R6/NX//bin/nxserver -c /usr/X11R6/NX//bin/nxserver
nx      23794  0.0  0.4  2376  1848  ??  S    12:35PM   0:00.03 /usr/local/bin/expect /usr/X11R6/NX//bin/nxnode-login -- ssh nx 22 /usr/X11R6/NX//bin/nxnode
root    23800  0.0  0.5  6088  2628  ??  Is   12:35PM   0:00.03 sshd: nx [priv] (sshd)
nx      23803  0.0  0.5  6088  2672  ??  I    12:35PM   0:00.01 sshd: nx@notty (sshd)
nx      23804  0.0  0.3  3276  1752  ??  Is   12:35PM   0:00.07 /usr/local/bin/bash /usr/X11R6/NX//bin/nxserver -c /usr/X11R6/NX//bin/nxnode --check
root    23817  0.0  0.5  6096  2652  ??  Is   12:39PM   0:00.04 sshd: nx [priv] (sshd)
nx      23819  0.0  0.5  6096  2684  ??  I    12:39PM   0:00.01 sshd: nx@notty (sshd)
nx      23820  0.0  0.3  3276  1756  ??  Is   12:39PM   0:00.08 /usr/local/bin/bash /usr/X11R6/NX//bin/nxserver -c /usr/X11R6/NX//bin/nxserver
nx      23846  0.0  0.4  2376  1848  ??  S    12:39PM   0:00.02 /usr/local/bin/expect /usr/X11R6/NX//bin/nxnode-login -- ssh nx 22 /usr/X11R6/NX//bin/nxnode
root    23852  0.0  0.5  6088  2628  ??  Is   12:39PM   0:00.03 sshd: nx [priv] (sshd)
nx      23855  0.0  0.5  6088  2672  ??  I    12:39PM   0:00.01 sshd: nx@notty (sshd)
nx      23856  0.0  0.3  3276  1752  ??  Is   12:39PM   0:00.07 /usr/local/bin/bash /usr/X11R6/NX//bin/nxserver -c /usr/X11R6/NX//bin/nxnode --check
root    23871  0.0  0.1  1416   556  p0  RL+  12:39PM   0:00.00 grep nx
nx      23795  0.0  0.5  3292  2328  p2  Is+  12:35PM   0:00.05 ssh -2 -x -l nx 127.0.0.1 -o NumberOfPasswordPrompts 1 -p 22 /usr/X11R6/NX//bin/nxnode --che
nx      23847  0.0  0.5  3292  2328  p3  Is+  12:39PM   0:00.05 ssh -2 -x -l nx 127.0.0.1 -o NumberOfPasswordPrompts 1 -p 22 /usr/X11R6/NX//bin/nxnode --che
root@server#

Any ideea why I'm not able to connect ? On NX client I set the Desktop UNIX and the GUI Custom ("Run the default X client script on server"). Could be this problem beacause I only have XFce4 on the FreeBSD machine ?
So... this would be the situation... If I forgot to mention something, just let me know.
Thanks!
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

need help with FreeBSD!!!

Hi I want to write to my output_file using: if((fptr = creat(output_file, _S_IWRITE)) == -1) { printf("output_file..."..); return (1); } for(...) { _write(fptr, buffer, BUF_SIZE); } It says "_S_IWRITE" undeclared!!! Anybody knows what function I can use for that and what I... (3 Replies)
Discussion started by: lacasa
3 Replies

2. UNIX for Dummies Questions & Answers

FreeBSD

I am on AOL now,and i am using 56 k,i was gonna install FreeBSD,but i dont know if aol works on BSD,or my modem. Do they work on BSD? (2 Replies)
Discussion started by: kita
2 Replies

3. UNIX for Dummies Questions & Answers

Freebsd 4.5

i am new at unix and am VERY confused about the compression processes. what progs do i need to unzip and zip files? there must be a standard one similar to winzip? (1 Reply)
Discussion started by: Mindscan
1 Replies

4. UNIX for Dummies Questions & Answers

FreeBSD

What is FreeBSD, who does use Free? (3 Replies)
Discussion started by: cyberangel
3 Replies

5. BSD

FreeBSD 5.2.1

I want someone tell me the positives and negatives points of FreeBSD 5.2.1, if someone help me, i thanks a lot! (4 Replies)
Discussion started by: israel
4 Replies

6. BSD

I want the Best FREEBSD

B]I want the best of the best FreeBSD version for my study in Unix...please sugest me... Thanks (5 Replies)
Discussion started by: israel
5 Replies

7. BSD

please help me in FreeBSD

Hi to all, Iam doing a project in Free BSD and i am stuck with a puzzle. Please any one of you clarify my doubt : How to add a mechanism to check the status of the file system which alerts the root user via. email if any single partition is greater than 90% full. This alert should include the... (3 Replies)
Discussion started by: tadakamalla
3 Replies

8. Programming

Application crashes in FreeBSD 7.1 while working ok in FreeBSD 6.3

Hello there, My mulithreaded application (which is too large to represent the source code here) is crashing after installing FreeBSD 7.1-RELEASE/amd64. It worked properly on others machines (Dual Cores with 4GB of RAM - FreeBSD 6.2-RELEASE/i386). The current machine has 2x Core 2 Duo... (1 Reply)
Discussion started by: Seenquev
1 Replies

9. Fedora

FreeBSD

I'm using Windows mostly and the only *nix thing I used during my life was cygwin (I like command line :)). But currently I have (by an occasion) a DVD with latest FreeBSD. I don't know why, but I want to install it... But probably, this OS is too difficult for a beginner. I heard, it's used on... (3 Replies)
Discussion started by: TeenageWerewolf
3 Replies
PERL-AFTER-UPGRADE(1)					User Contributed Perl Documentation				     PERL-AFTER-UPGRADE(1)

NAME
perl-after-upgrade -- fixup FreeBSD packages that depend on perl SYNOPSIS
perl-after-upgrade perl-after-upgrade -f perl-after-upgrade -v DESCRIPTION
The standard procedure after a perl port (either lang/perl5.6 or lang/perl5.8) upgrade is to basically reinstall all other packages that depend on perl. This is always a painful exercise. The perl-after-upgrade utility makes this process mostly unnecessary. The tool goes through the list of installed packages, looks for those that depend on perl, moves files around, modifies shebang lines in those scripts in which it is necessary to do so, tries its best to adjust dynamically linked binaries that link with libperl.so in the old path, and updates the package database. After installation of the new perl is complete, either by hand from the ports collection, or from a package, or via portupgrade, do the following: o go root; o run perl-after-upgrade utility. Do not specify any arguments at first, so it does nothing destructive. Pay attention to the produced output and especially to errorlist at the end, if any; o run the utility again, with -f command line option. This will actually do the work. Again, pay attention to the output produced; o fix any reported errors; o reinstall required packages: The utility will tell you what packages that depend on perl it could not handle. It will also tell you why it happened (for example, they were compiled against a binary incompatible perl). If you want such packages to remain operational, you will have to reinstall then by hand or via portupgrade. o review the files left in the older perl installation. This is typically /usr/local/lib/perl5/site_perl/5.X.Y/. There should be very little, if any, files in that directory and its subdi- rectories, excepting a number of .ph files; o check that things work as they should; o remove backup files from the package database. Those will be /var/db/pkg/*/+CONTENTS.bak; o that's all. COPYRIGHT AND LICENSE
Copyright 2005 by Anton Berezin "THE BEER-WARE LICENSE" (Revision 42) <tobez@FreeBSD.org> wrote this module. As long as you retain this notice you can do whatever you want with this stuff. If we meet some day, and you think this stuff is worth it, you can buy me a beer in return. Anton Berezin NO WARRANTY OF ANY KIND, USE AT YOUR OWN RISK. HISTORY
The first version of this utility was not bundled with perl package on FreeBSD. It was dumber than the current version in several impor- tant areas. It was faster. CREDITS
Thanks to Mathieu Arnold for discussion. SEE ALSO
perl(1). perl v5.8.9 2009-04-13 PERL-AFTER-UPGRADE(1)
All times are GMT -4. The time now is 03:07 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy