Need Help for FreeNX installation on Slacware 10.2
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Need Help for FreeNX installation on Slacware 10.2
I have installed Slackware 10.2. I want to view its desktop on Windows Xp system. I have download FreeNX pkg from slackware website. Can someone guide me how to install this pkg.
Thanks in advance
I am assuming you're referring to my FreeNX packages?
When you install the nx and freenx Slackware packages using installpkg your NX server is already functional. You could check the file
Code:
/etc/nxserver/node.conf.sample
and rename it to
Code:
/etc/nxserver/node.conf
if you need to change any of the default values.
There is no startup script or anything else to start for the FreeNX server to work. Just run a NX-client on your workstation and connect it to your new FreeNX server's IP address.
By the way, even though the packages are stored in a directory called "pkg/10.1/" because they were built on Slackware 10.1, they should work on Slackware 10.2 as well.
You do need of course to download a client for NX from the NoMachine website - there's not much you can do with only a server :-)
thanks Eric
I downloaded your build pkgs and installed nx pkg first and then freenx
but freenx didn't and prints a warning message
Freenx need "netcat" to install
Freenx need "expect" to install
Now after installing the netcat and expect, I connect my winxp machine having nxclient for win. After authorizing, i get message "Server not installed or NX access disabled" In detail tab:
NX> 148 Server capacity: not reached for user: nx
NX> 105 startsession --session="nomachine" --type="unix-kde" --cache="8M" --images="32M" --cookie="******" --link="lan" --kbtype="pc102/en_US" --nodelay="1" --backingstore="when_requested" --geometry="fullscreen" --media="0" --agent_server="" --agent_user="" agent_password="******"" --screeninfo="800x600x32+render"
Permission denied (publickey,password,keyboard-interactive).
Killed by signal 15.
What should i do ?
Last edited by netsoft2005; 03-02-2006 at 09:01 AM.
all are in Slackware
I installed it first and then freenx
then i connect from winxp machine it get the above error
i add another user (group: wheel) then connect with it.
Problem Solved
Last edited by netsoft2005; 03-06-2006 at 08:00 AM.
NX> 203 NXSSH running with pid: 2456
NX> 285 Enabling check on switch command
NX> 285 Enabling skip of SSH config files
NX> 200 Connected to address: 192.168.100.2 on port: 22
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
HELLO NXSERVER - Version 1.4.0-44 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: nx
NX> 102 Password:
NX> 103 Welcome to: stxbox user: nx
NX> 105 listsession --user="nx" --status="suspended,running" --geometry="800x600x32+render" --type="unix-default"
NX> 127 Sessions list of user 'nx' for reconnect:
Display Type Session ID Options Depth Screen Status Session Name
------- ---------------- -------------------------------- -------- ----- -------------- ----------- ------------------------------
NX> 148 Server capacity: not reached for user: nx
NX> 105 startsession --session="STX" --type="unix-default" --cache="8M" --images="32M" --cookie="******" --link="lan" --virtualdesktop="1" --kbtype="pc102/en_US" --nodelay="1" --backingstore="never" --geometry="fullscreen" --media="0" --agent_server="" --agent_user="" agent_password="******"" --screeninfo="800x566x32+render"
Permission denied (publickey,password,keyboard-interactive).
Killed by signal 15.
but working for any other user except nx
What you think about this ?
I had a similar error: "authentication failed" when trying to access the
NX server from a remote client. The fix was to edit the sshd_config file
in /etc/ssh/ and ensure that the line
Didn't really want to create a completely new FreeNX thread on here as I'm sure that this one is okay Sorry to the OP though if I'm hijacking
@Alien Bob: I've used your slackware packages and everything works correctly up until the point that it says "establishing X server...." at which point nothing else happens. The little window eventually closes but the connection stays open.
I've tail'd /var/log/messages as well as /var/log/nxserver.log (which I've set in /etc/nxserver/node.conf to level 6 logging (debugging)) to see what is going on, but nowt
Solutions for NX Clients versions 2.0.0 and FreeNX 0.4.x and 0.5.0.
If you have problem connecting with new NX Client ver. 2.0.0, there are 2 patch, which working for me with NX Client ver. 2.0.0-93:
'fake cookie authentication problem':
Some new clients uses 1.4.0 as proto version. You have to make sure that 'fake cookie authentication' is working on the server. Look at nxnode and search for that string in 'node_startsession()' function and edit it.
For freenx 0.4.x nxnode in function 'node_startsession()'
if [ "$ENABLE_1_5_0_BACKEND" = "1" -a "$clientproto" = "1.5.0" ] || [ "$ENABLE_1_5_0_BACKEND" = "1" -a "$clientproto" = "1.4.0" ]
then
# enable fake cookie authentication
cookie=$proxy_cookie
fi
For freenx 0.5.0 nxnode in function 'node_startsession()'
if [ "$clientproto" = "1.5.0" ] || [ "$clientproto" = "1.4.0" ]
then
# enable fake cookie authentication
cookie=$proxy_cookie
fi
Pre 1.5 clients will face trouble in this case, though - but works for me (no users with old clients). As I see in comunnication with client ver. 2.0.0-93, it use 1.5.0 proto version, so this is for older 2.0.0 clients.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.