PDA

View Full Version : problem installing freenx f6



sohlinux
29th May 2007, 12:34 AM
Hello,

I am trying to install freenx on fedora core 6

basicaly its saying there is nothing to do!

Any ideas what im doing wrong?

I have updated yum.

Thanks
Tom

[root@server ~]# yum install freenx
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Nothing to do
[root@server ~]#

markkuk
29th May 2007, 09:18 AM
"nothing to do" response from yum means the package is already installed. Use "rpm -q freenx" or "yum list freenx" to confirm that.

sohlinux
29th May 2007, 10:09 AM
I enabled the repository which allowed the install but now I get the following..

NX> 203 NXSSH running with pid: 3628

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: 23.0.0.0 on port: 22

NX> 202 Authenticating user: nx

NX> 208 Using auth method: publickey

strings: '/usr/libexec/nx/nxagent': No such file

HELLO NXSERVER - Version 1.5.0-60 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: root

NX> 102 Password:

strings: '/usr/libexec/nx/nxagent': No such file

NX> 103 Welcome to: server40085 user: root

NX> 105
listsession --user="root" --status="suspended,running" --geometry="1024x768x32+render"
--type="unix-kde"

NX> 127 Sessions list of user 'root' for reconnect:

Display Type Session ID Options Depth Screen Status Session Name

------- ---------------- -------------------------------- -------- ----- --------------
----------- ------------------------------

NX> 148 Server capacity: not reached for user: root

NX> 105
startsession --link="adsl" --backingstore="1" --nodelay="1" --cache="8M" --images="32M"
--media="0" --imagecompressionmethod="-1" --imagecompressionlevel="-1" --render="1"
--session="85" --type="unix-kde" --geometry="1024x768" --kbtype="pc102/es"
--screeninfo="1024x768x32+render"

NX> 1000 NXNODE - Version 1.5.0-60 OS (GPL)

NX> 700 Session id: server-1000-65F4774C9E1BEF83DBAC8

NX> 705 Session display: 1000

NX> 703 Session type: unix-kde

NX> 701 Proxy cookie: 40cc209ae5f76ff5f2928a5e1a6

NX> 702 Proxy IP: 88....

NX> 706 Agent cookie: 40cc209a5f76bf50a92e8a5e1a6

NX> 704 Session cache: unix-kde

NX> 707 SSL tunneling: 0

NX> 105 NX> 596 Session startup failed.

NX> 1004 Error: NX Agent exited with exit status 1.

NX> 1006 Session status: closed

NX> 1001 Bye.

/usr/libexec/nx/nxserver: line 1190: 7309 Terminated sleep
$AGENT_STARTUP_TIMEOUT

Can't open
/var/lib/nxserver/db/running/sessionId{653FB4748C99EDB84CEF8DBC8}: No
such file or directory.

mv: cannot stat
`/var/lib/nxserver/db/running/sessionId{653FB7754899E1DB84C5F83AC8}': No
such file or directory

Killed by signal 15.

Boscoe
7th June 2007, 10:42 PM
I'm having this EXACT same problem. I had upgraded from FC6, and FreeNX was working with my windows client until the upgrade.

sohlinux
7th June 2007, 11:02 PM
I'm having this EXACT same problem. I had upgraded from FC6, and FreeNX was working with my windows client until the upgrade.


I managed to get mine working!

type- yum remove freenx

Completely delete all the old nx and nxserver directories
yum remove freenx does not delete all the old files and directories so make sure they are all gone!
check the complete OS and make sure they are no lingering old installations and delete them all.
check the following locations-
/root/ nxserver
/etc/nxserver
/usr/libexec/nx/
/var/lib/nxserver
/usr/libexec/nx/nxserver
there may be hiding in other directories so type- locate nx to find them

once you are sure they are all gone
type - yum install freenx
it should reinstall and include any dependencies.

Mine connected first time!

I had previously spent hours editing all the scripts and with 37 different errors.

I hope your works as easy as mine did.

Good luck.
Tom

ps.

dont forget to paste the key in.

imperia
10th June 2007, 06:11 PM
i did as yo suggested but:

Transaction Summary
======================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)

Total download size: 61 k



is that all? i still got the same error.

sohlinux
10th June 2007, 08:28 PM
Try asking on the freenx mailing list, they are very helpfull.

https://mail.kde.org/mailman/listinfo/freenx-knx/

Tom :)

Boscoe
11th June 2007, 03:03 AM
Okay, here's the solution. The problem is NOT with FreeNX. The problem is with SELinux. With the upgrade to Fedora7, SELinux is set to "Enforcing" by default, and even though there appears to be some configuration for FreeNX, SELinux sees the moving of session files as something to be blocked.

The temporary solution is to take SELinux out of Enforcing and to the next step down. Run system-config-securitylevel-tui and set the level to "Permissive".