LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-04-2009, 10:50 AM   #1
asou
LQ Newbie
 
Registered: Dec 2005
Posts: 6

Rep: Reputation: 0
freenx on KDE4 (Slackware 13.0)


Hi, folks

I've installed the least slackware release - 13.0 - with KDE 4.2.4. And, I've built the freenx and nx* packages with the two following scripts:

http://connie.slackware.com/~alien/s.../nx.SlackBuild
http://connie.slackware.com/~alien/s...enx.SlackBuild

There are no errors during the compilation and no error messages while using. But there is a big trouble while I login with the NX client:

After I login to my KDE4 desktop, no matter what I do, the screen would freeze immediately. And then the connection would be broken (NX client said server has no response).

I don't know what's going wrong, is there anyone successful installing freenx for logining to KDE4 desktop?

BTW, I've tried the tightvnc coming with the 13.0 release, but the quality of the remote KDE screen is ugly, even setting the lowest compression ratio.
 
Old 09-04-2009, 12:22 PM   #2
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098

Rep: Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175
sorry for the question, have you tried alien's prebuilt packages for 12.2? they works for me
 
Old 09-04-2009, 06:34 PM   #3
asou
LQ Newbie
 
Registered: Dec 2005
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks for your tips, but it still doesn't work.

After the remote desktop appeared, it would disconnect immediately.

BTW, my machine is x86.
 
Old 09-05-2009, 12:49 AM   #4
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098

Rep: Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175
I think (but i'm only guessing) that there's some problem with starting the kde session: you can try it selecting in your nx client another kind of session for that host.
in the official nomachine client you can do that by going in "configure", select "custom" in the desktop session selection and then select "run the following command", putting as command argument "xterm", and "new virtual desktop". save and connect.
connecting to the server should run a simple xterm full screen from where you can even "startkde" and eventually look at errors.

you can also enable logging for nx in /etc/nxserver/node.conf setting two variables
Code:
NX_LOG_LEVEL=6
NX_LOGFILE=/tmp/nxserver.log
I'm making you log in /tmp because it looks logging is done as the user nx and it does not have write permission in /var/log
if you want it to log there you have to "mkdir /var/log/nx; chown -R nx /var/log/nx" and edit node.conf to log in /var/log/nx/nxserver.log
then restart the freenx server with "/etc/rc.d/rc.freenx stop; /etc/rc.d/rc.freenx start"

just for curiosity:
- which video driver are you using in your client?
- have you tried also connecting from another pc (you can also from windows/mac)?

P.S. if someone is willing to try them, I built for me on a clean slack64 the updated versions of nx components (got 'em here) with alien slackbuilds, and it looks they're working fine: packages (also server one, but that's basically the same) are 1 and 2
here you can find updated slackbuilds and sources (preconfigured for 32bit)

Last edited by ponce; 09-05-2009 at 04:59 AM.
 
Old 09-05-2009, 11:10 AM   #5
asou
LQ Newbie
 
Registered: Dec 2005
Posts: 6

Original Poster
Rep: Reputation: 0
I'm sure that there are no problems on my client side, because I can connect to the other nxservers (on Slackware 12.2) with it.

My sys/configuration of my client side is the following:
- Microsoft Windows XP with Service Pack 3
- ATI Mobility Radeon X600, using Radeon Omega Driver v4.8.442 (not official driver)

The sys/configuration of the two nxservers (which can be successfully connected)
- Slackware Linux 12.2 (up-to-date)
- (MAYBE) Intel Graphical Chipset, vesa driver
- KDE 3.5.10

The sys/configuration of the one which would disconnect while using KDE
- Slackware Linux 13.0 (clean-installation)
- NVIDIA GeForce 6200, using NVIDIA DISPLAY DRIVER-x86 version 185.18.36 (released on 2009.8.21)
- KDE 4.2.4

I'll go on finding what goes wrong by watching the log files, thanks for your advices.
 
Old 09-05-2009, 08:26 PM   #6
asou
LQ Newbie
 
Registered: Dec 2005
Posts: 6

Original Poster
Rep: Reputation: 0
-- Appendix: /var/log/nxserver.log (NX_LOG_LEVEL=6) --

-- NX SERVER START: -c /usr/bin/nxserver - ORIG_COMMAND=
-- NX SERVER START: - ORIG_COMMAND=
Info: Using fds #4 and #3 for communication with nxnode.
HELLO NXSERVER - Version 3.2.0-73 OS (GPL, using backend: 3.3.0)
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: user1
NX> 102 Password:
Info: Auth method: ssh user1@127.0.0.1's password:
NX> 1000 NXNODE - Version 3.2.0-73 OS (GPL, using backend: 3.3.0)
NX> 716 Slave mode started successfully.
nxnode_reader: NX> 1000 NXNODE - Version 3.2.0-73 OS (GPL, using backend: 3.3.0)
nxnode_reader: NX> 716 finished
nxnode_reader: NX> 1001 Bye.

NX> 103 Welcome to: localhost user: user1
NX> 105 listsession --user="user1" --status="suspended,running" --geometry="1280x768x32+render" --type="unix-kde"
NX> 127 Sessions list of user 'user1' for reconnect:

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


NX> 148 Server capacity: not reached for user: user1
NX> 105 startsession --link="wan" --backingstore="1" --encryption="1" --cache="16M" --images="64M" --shmem="1" --shpix="1" --strict="0" --composite="1" --media="0" --session="localhost.pas.csie.ntu" --type="unix-kde" --geometry="1280x740" --client="winnt" --keyboard="pc102/us" --screeninfo="1280x740x32+render"

&link=wan&backingstore=1&encryption=1&cache=16M&images=64M&shmem=1&shpix=1&strict=0&composite=1&medi a=0&session=localhost.pas.csie.ntu&type=unix-kde&geometry=1280x740&client=winnt&keyboard=pc102/us&screeninfo=1280x740x32+render&clientproto=3.2.0&user=user1&userip=140.112.218.41&uniqueid=982C9BE 6DD4F596EB8BB48CB5059CEE1&display=1000&host=127.0.0.1
nxnode_reader: NX> 1000 NXNODE - Version 3.2.0-73 OS (GPL, using backend: 3.3.0)
NX> 1000 NXNODE - Version 3.2.0-73 OS (GPL, using backend: 3.3.0)
server_nxnode_echo: NX> 1000 NXNODE - Version 3.2.0-73 OS (GPL, using backend: 3.3.0)
nxnode_reader: NX> 700 Session id: localhost-1000-982C9BE6DD4F596EB8BB48CB5059CEE1
nxnode_reader: NX> 705 Session display: 1000
nxnode_reader: NX> 703 Session type: unix-kde
nxnode_reader: NX> 701 Proxy cookie: 3754484955f77adfe139241451db9a61
nxnode_reader: NX> 702 Proxy IP: 127.0.0.1
nxnode_reader: NX> 706 Agent cookie: 3754484955f77adfe139241451db9a61
nxnode_reader: NX> 704 Session cache: unix-kde
nxnode_reader: NX> 707 SSL tunneling: 1
NX> 700 Session id: localhost-1000-982C9BE6DD4F596EB8BB48CB5059CEE1
NX> 705 Session display: 1000
NX> 703 Session type: unix-kde
NX> 701 Proxy cookie: 3754484955f77adfe139241451db9a61
NX> 702 Proxy IP: 127.0.0.1
NX> 706 Agent cookie: 3754484955f77adfe139241451db9a61
NX> 704 Session cache: unix-kde
NX> 707 SSL tunneling: 1
server_nxnode_echo: NX> 700 Session id: localhost-1000-982C9BE6DD4F596EB8BB48CB5059CEE1
server_nxnode_echo: NX> 705 Session display: 1000
server_nxnode_echo: NX> 703 Session type: unix-kde
server_nxnode_echo: NX> 701 Proxy cookie: 3754484955f77adfe139241451db9a61
server_nxnode_echo: NX> 702 Proxy IP: 127.0.0.1
server_nxnode_echo: NX> 706 Agent cookie: 3754484955f77adfe139241451db9a61
server_nxnode_echo: NX> 704 Session cache: unix-kde
server_nxnode_echo: NX> 707 SSL tunneling: 1
nxnode_reader: NX> 1009 Session status: starting
NX> 1009 Session status: starting
server_nxnode_echo: NX> 1009 Session status: starting
nxnode_reader: NX> 710 Session status: running
nxnode_reader: NX> 1002 Commit
nxnode_reader: NX> 1006 Session status: running
NX> 710 Session status: running
NX> 1002 Commit
NX> 1006 Session status: running
server_nxnode_echo: NX> 710 Session status: running
server_nxnode_echo: NX> 1002 Commit
session_status 982C9BE6DD4F596EB8BB48CB5059CEE1 Running
NX> 105 server_nxnode_echo: NX> 1006 Session status: running
bye
Bye
NX> 999 Bye
nxnode_reader: NX> 596 Error: Session failed. Reason was: Session: Display failure detected at 'Sun Sep 6 09:20:23 2009'.
NX> 596 Error: Session failed. Reason was: Session: Display failure detected at 'Sun Sep 6 09:20:23 2009'.
nxnode_reader: NX> 1009 Session status: suspending
server_nxnode_echo: NX> 596 Error: Session failed. Reason was: Session: Display failure detected at 'Sun Sep 6 09:20:23 2009'.
NX> 1009 Session status: suspending
session_status 982C9BE6DD4F596EB8BB48CB5059CEE1 Suspending
server_nxnode_echo: NX> 1009 Session status: suspending
Info: Closing connection to slave with pid 20763.
nxnode_reader: 1001 Bye.
1001 Bye.
nxnode_reader: NX> 1005 Session status: suspended
NX> 1005 Session status: suspended
session_suspend 982C9BE6DD4F596EB8BB48CB5059CEE1
server_nxnode_echo: NX> 1005 Session status: suspended
 
Old 09-06-2009, 03:34 AM   #7
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098

Rep: Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175
still absolutely not sure if related, but: if you have an ~/.xinitrc in the home of the user you're trying to connect, rename it and try to connect again.
had to do it now for one machine I was trying to connect with a user i never connected with nx (one user, the usual, with no .xinitrc, let me in, another one no dropping connection).

btw, you probably already know, you can check if everything is working server-side with
Code:
nxsetup --test
if you copied/moved keys to a different machine/installation be sure to remove known_hosts file from /var/lib/nxserver/home/.ssh to let it reload the new localhost key.

Last edited by ponce; 09-06-2009 at 06:13 AM.
 
Old 09-07-2009, 12:59 PM   #8
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098

Rep: Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175
don't know if related (maybe a different problem), but I found this: they suggest to set
Code:
ENABLE_SLAVE_MODE="0"
in /etc/nxserver/node.conf
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware 13 KDE4 Not Starting 1998chevy1500 Slackware 5 09-30-2009 02:18 PM
kde4.2 and slackware 12.2 specialized Slackware 7 05-07-2009 07:26 AM
Installing kde4.2 on slackware? Intel_ Slackware 11 04-09-2009 10:08 AM
slackware and kde4 mbvo Linux - Software 4 09-08-2008 03:25 AM
trouble with alien's slackbuild for freenx: cannot stat freenx/build/nomachine.id_dsa BCarey Slackware 2 03-12-2008 09:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration