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
PERLFREEBSD(1)						 Perl Programmers Reference Guide					    PERLFREEBSD(1)

NAME
perlfreebsd - Perl version 5 on FreeBSD systems DESCRIPTION
This document describes various features of FreeBSD that will affect how Perl version 5 (hereafter just Perl) is compiled and/or runs. FreeBSD core dumps from readdir_r with ithreads When perl is configured to use ithreads, it will use re-entrant library calls in preference to non-re-entrant versions. There is a bug in FreeBSD's "readdir_r" function in versions 4.5 and earlier that can cause a SEGV when reading large directories. A patch for FreeBSD libc is available (see http://www.freebsd.org/cgi/query-pr.cgi?pr=misc/30631 ) which has been integrated into FreeBSD 4.6. $^X doesn't always contain a full path in FreeBSD perl sets $^X where possible to a full path by asking the operating system. On FreeBSD the full path of the perl interpreter is found by using "sysctl" with "KERN_PROC_PATHNAME" if that is supported, else by reading the symlink /proc/curproc/file. FreeBSD 7 and earlier has a bug where either approach sometimes returns an incorrect value (see http://www.freebsd.org/cgi/query-pr.cgi?pr=35703 ). In these cases perl will fall back to the old behaviour of using C's argv[0] value for $^X. AUTHOR
Nicholas Clark <nick@ccl4.org>, collating wisdom supplied by Slaven Rezic and Tim Bunce. Please report any errors, updates, or suggestions to perlbug@perl.org. perl v5.18.2 2013-11-04 PERLFREEBSD(1)
All times are GMT -4. The time now is 02:41 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy