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
getusershell(3C)					   Standard C Library Functions 					  getusershell(3C)

NAME
getusershell, setusershell, endusershell - get legal user shells SYNOPSIS
#include <unistd.h> char *getusershell(void); void setusershell(void); void endusershell(void); DESCRIPTION
The getusershell() function returns a pointer to a legal user shell as defined by the system manager in the file /etc/shells. If /etc/shells does not exist, the following locations of the standard system shells are used in its place: /bin/bash /bin/csh /bin/jsh /bin/ksh /bin/pfcsh /bin/pfksh /bin/pfsh /bin/sh /bin/tcsh /bin/zsh /sbin/jsh /sbin/pfsh /sbin/sh /usr/bin/bash /usr/bin/csh /usr/bin/jsh /usr/bin/ksh /usr/bin/pfcsh /usr/bin/pfksh /usr/bin/pfsh /usr/bin/sh /usr/bin/tcsh /usr/bin/zsh /usr/xpg4/bin/sh The getusershell() function opens the file /etc/shells, if it exists, and returns the next entry in the list of shells. The setusershell() function rewinds the file or the list. The endusershell() function closes the file, frees any memory used by getusershell() and setusershell(), and rewinds the file /etc/shells. RETURN VALUES
The getusershell() function returns a null pointer on EOF. BUGS
All information is contained in memory that may be freed with a call to endusershell(), so it must be copied if it is to be saved. SunOS 5.10 30 Aug 2004 getusershell(3C)
All times are GMT -4. The time now is 09:38 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy