CentOS Icon CentOS Logo
CentOS Text
   
  
www.centos.org Forum Index
   CentOS 6 - General Support
  Cannot locate nx/freenx rpm's?

 

 Bottom   Previous Topic   Next Topic
123>
  •  Rate Thread
      Rate this Thread
      Excellent
      Good
      Average
      Bad
      Terrible
Poster Thread
  •  TECK
      TECK
Cannot locate nx/freenx rpm's?
#1
Regular Board Member
Joined: 2007/3/19
From Montreal, Canada
Posts: 82
Hi guys,

I'm using freenx for a long time and it allows me to connect to my servers remotely.
After installing CentOS 6, I tried to install the nx/freenx packages and they are not available?
# yum install nx freenx

http://mirror.centos.org/centos/6/extras/x86_64/ is empty, this is where the RPM's are stored.
Could you please let me know if they are available?
Posted on: 2011/7/19 1:10
Create PDF from Post Print
Top
  •  scottro
      scottro
Re: Cannot locate nx/freenx rpm's?
#2
Moderator
Joined: 2007/9/3
From NYC
Posts: 1502
They don't seem to be. Additionally, I"m finding that for a reason I haven't yet solved, I can't get nomachine's nx server working either.

I imagine that these, like many others, will eventually become available.
_________________
New users should read FAQ & Readme First
Posted on: 2011/7/19 2:18
Create PDF from Post Print
Top
  •  TECK
      TECK
Re: Cannot locate nx/freenx rpm
#3
Regular Board Member
Joined: 2007/3/19
From Montreal, Canada
Posts: 82
Thank you so much for the reply. I tried Toracat's beta rpm's without success:
http://centos.toracat.org/misc/nx-freenx/6/x86_64/

This really sucks, I'm forced to go back to CentOS 5 on that test machine as is one of my development boxes.
Did you managed to get the remote desktop working from Windows 7 to CentOS 6? I tried that also and it fails miserably with all VNC clients.
Posted on: 2011/7/19 2:27
Create PDF from Post Print
Top
  •  WhatsHisName
      WhatsHisName
Re: Cannot locate nx/freenx rpm
#4
Professional Board Member
Joined: 2005/12/19
From /earth/usa/nj
Posts: 1483
Toracat's el6 freenx/nx run fine on several of my SL6 systems.

A 32-bit system:

$ uname -rpmi
2.6.32-131.6.1.el6.i686 i686 i686 i386

$ rpm -q freenx nx
freenx-0.7.3-6.el6.ay.i386
nx-3.4.0-6.el6.ay.i386


A 64-bit system:

$ uname -rpmi
2.6.32-71.29.1.el6.x86_64 x86_64 x86_64 x86_64

$ rpm -q freenx nx
freenx-0.7.3-6.el6.ay.x86_64
nx-3.4.0-6.el6.ay.x86_64

Had absolutely no problems installing/configuring.

You should post the errors you encountered.
_________________
Useful links: Newbie Info; Manuals; Wiki; EL Repo
Posted on: 2011/7/19 4:41
Create PDF from Post Print
Top
  •  toracat
      toracat
Re: Cannot locate nx/freenx rpm
#5
Moderator
Joined: 2006/9/3
From California, US
Posts: 6921
Quote:

TECK wrote:
Thank you so much for the reply. I tried Toracat's beta rpm's without success:
http://centos.toracat.org/misc/nx-freenx/6/x86_64/

That version has been working just fine for me. Do you see any error message? How does it fail?

In CentOS 6, selinux is enabled by default. Can you disable it temporarily and try again? If you can connect that way, then follow the instructions in this blog:

http://blog.toracat.org/2010/12/selinux-and-freenx/
_________________
Useful links: Search Forums, Forum FAQ
Posted on: 2011/7/19 4:42
Create PDF from Post Print
Top
  •  TECK
      TECK
Re: Cannot locate nx/freenx rpm
#6
Regular Board Member
Joined: 2007/3/19
From Montreal, Canada
Posts: 82
Thanks Toracat. Because I'm using a Windows NX client, I don't get much of an error log. The only message I get is:

NX> 203 NXSSH running with pid: 4440
NX> 285 Enabling check on switch command
NX> 285 Enabling skip of SSH config files
NX> 285 Setting the preferred NX options
ssh: connect to host 192.168.1.3 port 22: Connection refused

Now, if I set a default CentOS5 install, I can connect without issues. Obviously I'm aware of the client key and other settings related to Selinux. I simply installed a minimal CentOS6 desktop then I installed your rpm's while noticing several deps installed. I tried to connect with Selinux disabled, no change. Still that is not a solution, disabling things. In CentOS5 works as intended with Selinux enabled.

When I check the status on the Linux box, I get this message:
# nxserver --status
NX> 100 NXSERVER - Version 3.2.0-74-SVN OS (GPL, using backend: not detected)
NX> 110 NX Server is running
NX> 999 Bye
Posted on: 2011/7/19 7:58
Create PDF from Post Print
Top
  •  r_hartman
      r_hartman
Re: Cannot locate nx/freenx rpm
#7
Professional Board Member
Joined: 2009/3/23
From Netherlands
Posts: 701
Quote:

ssh: connect to host 192.168.1.3 port 22: Connection refused


Your problem appears to be with your ssh connection being rejected.
Can you login using ssh outside of nx?
Does nx require anything special for its ssh connection (keys, maybe)?
Firewall?
_________________
René

Recommended reading for new forum users: FAQ & Readme First
Posted on: 2011/7/19 9:26
Create PDF from Post Print
Top
  •  scottro
      scottro
Re: Cannot locate nx/freenx rpm
#8
Moderator
Joined: 2007/9/3
From NYC
Posts: 1502
Ah, I didn't even know about toracat's rpms. There is an SELinux issue there too, which is covered on toracat's blog. I'll have to play with this. Still an authentication problem, not quite sure why yet.
_________________
New users should read FAQ & Readme First
Posted on: 2011/7/19 12:26
Create PDF from Post Print
Top
  •  toracat
      toracat
Re: Cannot locate nx/freenx rpm
#9
Moderator
Joined: 2006/9/3
From California, US
Posts: 6921
I agree with r_hartman's diagnosis. You have a problem with ssh connection, so this is before any nx authentication steps. Can you somehow make sure you can ssh from your Windows machine to the server?
_________________
Useful links: Search Forums, Forum FAQ
Posted on: 2011/7/19 15:15
Create PDF from Post Print
Top
  •  TECK
      TECK
Re: Cannot locate nx/freenx rpm
#10
Regular Board Member
Joined: 2007/3/19
From Montreal, Canada
Posts: 82
The problem is: I don't know what to look for as issue.
As I mentioned before, if I install a default Desktop CentOS5 setup with provided nx/freenx rpm's that are available into Extras everything works perfect, so is not a network setup or Windows software issue. It just does not work on a Minimal Desktop CentOS6 setup. I will try a regular Desktop CentOS6 setup also and see if the added libs/rpm's make a difference.
Posted on: 2011/7/19 16:59
Create PDF from Post Print
Top
  •  toracat
      toracat
Re: Cannot locate nx/freenx rpm
#11
Moderator
Joined: 2006/9/3
From California, US
Posts: 6921
Quote:

TECK wrote:
The problem is: I don't know what to look for as issue.

The issue is that your CentOS-6 machine is refusing ssh connection. So, what you should test is whether or not you can ssh into the CentOS-6 box from other machine (does not matter if it is Windows or not). Once this is verified and you still have problem with nx, we can do more troubleshooting.
_________________
Useful links: Search Forums, Forum FAQ
Posted on: 2011/7/19 17:08
Create PDF from Post Print
Top
  •  scottro
      scottro
Re: Cannot locate nx/freenx rpm
#12
Moderator
Joined: 2007/9/3
From NYC
Posts: 1502
A quick update--toracat's rpms are now working perfectly for me. (My mistake was twofold, forgetting to change my default ssh port in node.cfg and forgetting that I'd installed openbox from source, so it was in /usr/local/bin/--I'd had a custom setting to /usr/bin/openbox-session.)

In addition, thanks to toracat for the blog entry which also works. http://blog.toracat.org/2010/12/selinux-and-freenx/

The one thing not mentioned---when toracat writes you may need to repeat, though the reader has already been told to use, the second time, freenx2 rather than freenx, when repeating the third time, use freenx3 (rather than freenx or freenx2).

Toracat, if you see this, I'd add that line to the blog.
_________________
New users should read FAQ & Readme First
Posted on: 2011/7/19 17:31
Create PDF from Post Print
Top
  •  toracat
      toracat
Re: Cannot locate nx/freenx rpm
#13
Moderator
Joined: 2006/9/3
From California, US
Posts: 6921
Quote:

scottro wrote:
A quick update--toracat's rpms are now working perfectly for me.

Thanks for the success report.

Quote:

In addition, thanks to toracat for the blog entry which also works. http://blog.toracat.org/2010/12/selinux-and-freenx/

The one thing not mentioned---when toracat writes you may need to repeat, though the reader has already been told to use, the second time, freenx2 rather than freenx, when repeating the third time, use freenx3 (rather than freenx or freenx2).

Toracat, if you see this, I'd add that line to the blog.

Oh, c'mon. All Linux users are smart enough to figure that out, right? RIGHT?
_________________
Useful links: Search Forums, Forum FAQ
Posted on: 2011/7/19 17:36
Create PDF from Post Print
Top
  •  scottro
      scottro
Re: Cannot locate nx/freenx rpm
#14
Moderator
Joined: 2007/9/3
From NYC
Posts: 1502
I look at it this way--the user is probably already frustrated, or they wouldn't be googling for how to get it connected. So, make it as easy as possible.

It's not all that obvious, especially to folks new to SELinux--keep in mind that everything's obvious when you know it. (Which reminds me, during my young, crazy days, and my buddy Wayne blowing out a match in an ashtray with predictable results. I said, Sheesh, any moron knows not to blow out something in an ashtray. Wayne answered, I'm not a moron, so how should I know?)

If it saves 3 people 30 seconds, that is already a gain in the time it took you to add it. My feeling, perhaps from time on other forums and mailing lists with many newcomers is that it's always better to give too much information than too little, especially when it's relatively simple to add a single line. So, my opinion is certainly biased from answering questions of many newcomers.
_________________
New users should read FAQ & Readme First
Posted on: 2011/7/19 17:50
Create PDF from Post Print
Top
  •  toracat
      toracat
Re: Cannot locate nx/freenx rpm
#15
Moderator
Joined: 2006/9/3
From California, US
Posts: 6921
Instead of typing more answers here, I did a one-minute job of adding a sentence to the blog.

Thanks for your valuable advice.
_________________
Useful links: Search Forums, Forum FAQ
Posted on: 2011/7/19 18:00
Create PDF from Post Print
Top
  •  WhatsHisName
      WhatsHisName
Re: Cannot locate nx/freenx rpm
#16
Professional Board Member
Joined: 2005/12/19
From /earth/usa/nj
Posts: 1483
...or do it in one shot.

Run "setenforce 0" on the server, immediately log in via nx and then "setenforce 1" on the server. Then verify that all logged denials are relevant to the nx/freenx service and remove any that are not.

Done that way, you usually capture everything that is needed to build new local policy in one cycle.

Of course, in a high threat environment, I would not do it that way.
_________________
Useful links: Newbie Info; Manuals; Wiki; EL Repo
Posted on: 2011/7/19 18:20
Create PDF from Post Print
Top
  •  toracat
      toracat
Re: Cannot locate nx/freenx rpm
#17
Moderator
Joined: 2006/9/3
From California, US
Posts: 6921
Will be great if you could add that as a comment ... (hint, hint).
_________________
Useful links: Search Forums, Forum FAQ
Posted on: 2011/7/19 18:26
Create PDF from Post Print
Top
  •  scottro
      scottro
Re: Cannot locate nx/freenx rpm
#18
Moderator
Joined: 2007/9/3
From NYC
Posts: 1502
Thank you. :)

I'm going to update my own freenx page.
_________________
New users should read FAQ & Readme First
Posted on: 2011/7/19 19:20
Create PDF from Post Print
Top
  •  TECK
      TECK
Re: Cannot locate nx/freenx rpm
#19
Regular Board Member
Joined: 2007/3/19
From Montreal, Canada
Posts: 82
OK some updates. I managed to get a decent failed response from NX:

NX> 203 NXSSH running with pid: 5116
NX> 285 Enabling check on switch command
NX> 285 Enabling skip of SSH config files
NX> 285 Setting the preferred NX options
NX> 200 Connected to address: 192.168.1.3 on port: 232
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
HELLO NXSERVER - Version 3.2.0-74-SVN OS (GPL, using backend: not detected)
NX> 105 hello NXCLIENT - Version 3.2.0
NX> 134 Accepted protocol: 3.2.0
NX> 105 SET SHELL_MODE SHELL
NX> 105 SET AUTH_MODE PASSWORD
NX> 105 login
NX> 101 User: floren
NX> 102 Password: 
NX> 103 Welcome to: apollo.axivo.com user: floren
NX> 105 listsession --user="floren" --status="suspended,running" --geometry="2560x1600x32+render" --type="unix-gnome"
NX> 127 Sessions list of user 'floren' for reconnect:

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

NX> 148 Server capacity: not reached for user: floren
NX> 105 startsession  --link="lan" --backingstore="1" --encryption="1" --cache="16M" --images="64M" --shmem="1" 
--shpix="1" --strict="0" --composite="1" --media="0" --session="apollo.axivo.com" --type="unix-gnome" --geometry="1900x1200" 
--client="winnt" --keyboard="pc102/en_US" --screeninfo="1900x1200x32+render" 

NX> 1000 NXNODE - Version 3.2.0-74-SVN OS (GPL, using backend: not detected)
NX> 700 Session id: apollo.axivo.com-1000-AB5A8A8DD3B249FBEDB6FD31ABBA98C7
NX> 705 Session display: 1000
NX> 703 Session type: unix-gnome
NX> 701 Proxy cookie: 27dcebe6f01f0850164899cdf35a1e19
NX> 702 Proxy IP: 192.168.1.3
NX> 706 Agent cookie: 27dcebe6f01f0850164899cdf35a1e19
NX> 704 Session cache: unix-gnome
NX> 707 SSL tunneling: 1
NX> 105 /usr/bin/nxserver: line 1531:  4788 Terminated              sleep $AGENT_STARTUP_TIMEOUT
NX> 596 Session startup failed.
NX> 1004 Error: NX Agent exited with exit status 1. To troubleshoot set SESSION_LOG_CLEAN=0 in node.conf and 
investigate "/home/floren/.nx/F-C-apollo.axivo.com-1000-AB5A8A8DD3B249FBEDB6FD31ABBA98C7/session". You 
might also want to try: ssh -X myserver; /usr/bin/nxnode --agent to test the basic functionality. Session log follows:
Can't open /var/lib/nxserver/db/running/sessionId{AB5A8A8DD3B249FBEDB6FD31ABBA98C7}: No such file or directory.
NX> 1006 Session status: closed
mv: cannot stat `/var/lib/nxserver/db/running/sessionId{AB5A8A8DD3B249FBEDB6FD31ABBA98C7}': No such file or directory
NX> 1001 Bye.
/usr/bin/nxserver: line 562: kill: (4518) - No such process
NX> 280 Exiting on signal: 15


Any suggestions how I should proceed? Thanks.
Posted on: 2011/7/19 21:48
Create PDF from Post Print
Top
  •  toracat
      toracat
Re: Cannot locate nx/freenx rpm
#20
Moderator
Joined: 2006/9/3
From California, US
Posts: 6921
That is certainly a progress. You successfully connected through ssh (using port 232).

Now, which desktop are you using, gnome or kde? Do you have it on the server? In other words, is the desktop you are using available on the server?
_________________
Useful links: Search Forums, Forum FAQ
Posted on: 2011/7/19 21:53
Create PDF from Post Print
Top
 Top   Previous Topic   Next Topic
123>

 


 You cannot start a new topic.
 You can view topic.
 You cannot reply to posts.
 You cannot edit your posts.
 You cannot delete your posts.
 You cannot add new polls.
 You cannot vote in polls.
 You cannot attach files to posts.
 You cannot post without approval.




"Linux" is a registered trademark of Linus Torvalds. | All other trademarks are property of their respective owners. | All other content is Copyright @ 2004-2009 by the CentOS Project or "each individual contributor (forums, comments, etc.) unless otherwise assigned".| Theme based on a theme by 7dana.com