LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 2631|回复: 21

freenx真不错

[复制链接]
发表于 2007-11-24 04:12:32 | 显示全部楼层 |阅读模式
现在有了vpn有了freenx,我就可以完完全全在家里办公了
http://en.wikipedia.org/wiki/FreeNX
http://gentoo-wiki.com/HOWTO_FreeNX_Server
附图是我从家里笔记本登录公司笔记本,再从公司笔记本登录家里笔记本

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
发表于 2007-11-24 07:05:18 | 显示全部楼层
早已用上,可是有個問題一直未解決:NX Client 其實也可以遠程遙控瘟到死的,但我沒有 windows server 來測試。。。
回复 支持 反对

使用道具 举报

发表于 2007-11-24 11:13:51 | 显示全部楼层
NX Client 在哪里下载? 有GPL版本的吗?
回复 支持 反对

使用道具 举报

发表于 2007-11-24 13:11:05 | 显示全部楼层
从家里笔记本登录公司笔记本,再从公司笔记本登录家里笔记本
真不嫌折腾的
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-11-24 15:24:20 | 显示全部楼层
玩么,就要bt一点,;)
回复 支持 反对

使用道具 举报

发表于 2007-11-24 16:04:18 | 显示全部楼层
zhllg用的是gnome还是kde,还是别的什么啊?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-11-24 17:07:22 | 显示全部楼层
home: kde
company: gnome
回复 支持 反对

使用道具 举报

发表于 2007-11-24 21:36:47 | 显示全部楼层
我使用的是fvwm,在windows下的客户端无法连接!
显示如下:
  1. NX> 203 NXSSH running with pid: 332
  2. NX> 285 Enabling check on switch command
  3. NX> 285 Enabling skip of SSH config files
  4. NX> 200 Connected to address: 192.168.1.7 on port: 22
  5. NX> 202 Authenticating user: nx
  6. NX> 208 Using auth method: publickey
  7. HELLO NXSERVER - Version 2.1.0-71 OS (GPL)
  8. NX> 105 hello NXCLIENT - Version 1.5.0
  9. NX> 134 Accepted protocol: 1.5.0
  10. NX> 105 SET SHELL_MODE SHELL
  11. NX> 105 SET AUTH_MODE PASSWORD
  12. NX> 105 login
  13. NX> 101 User: ling
  14. NX> 102 Password:
  15. NX> 103 Welcome to: ike user: ling
  16. NX> 105 listsession --user="ling" --status="suspended,running" --geometry="1400x1050x16+render" --type="unix-console"
  17. NX> 127 Sessions list of user 'ling' for reconnect:
  18. Display Type             Session ID                       Options  Depth Screen         Status      Session Name
  19. ------- ---------------- -------------------------------- -------- ----- -------------- ----------- ------------------------------
  20. 0       vnc-local        89D8E6F820C3EDCDAA002B4489E648F4 --------       1400x1050      Running     X0 (Local)
  21. NX> 148 Server capacity: not reached for user: ling
  22. NX> 105 listsession --user="ling" --status="suspended,running" --geometry="1400x1050x16+render" --type="unix-console"
  23. NX> 127 Sessions list of user 'ling' for reconnect:
  24. Display Type             Session ID                       Options  Depth Screen         Status      Session Name
  25. ------- ---------------- -------------------------------- -------- ----- -------------- ----------- ------------------------------
  26. 0       vnc-local        D320E7D0649FEC690AB88B124B088965 --------       1400x1050      Running     X0 (Local)
  27. NX> 148 Server capacity: not reached for user: ling
  28. NX> 105 listsession --user="ling" --status="suspended,running" --geometry="1400x1050x16+render" --type="unix-console"
  29. NX> 127 Sessions list of user 'ling' for reconnect:
  30. Display Type             Session ID                       Options  Depth Screen         Status      Session Name
  31. ------- ---------------- -------------------------------- -------- ----- -------------- ----------- ------------------------------
  32. 0       vnc-local        58E59CD7CE7ECE1D6C19E8E1CA6834CE --------       1400x1050      Running     X0 (Local)
  33. NX> 148 Server capacity: not reached for user: ling
  34. NX> 105 listsession --user="ling" --status="suspended,running" --geometry="1400x1050x16+render" --type="unix-console"
  35. NX> 127 Sessions list of user 'ling' for reconnect:
  36. Display Type             Session ID                       Options  Depth Screen         Status      Session Name
  37. ------- ---------------- -------------------------------- -------- ----- -------------- ----------- ------------------------------
  38. 0       vnc-local        D694CB32046B9E0FA57C6EBC34B959B6 --------       1400x1050      Running     X0 (Local)
  39. NX> 148 Server capacity: not reached for user: ling
  40. NX> 105 listsession --user="ling" --status="suspended,running" --geometry="1400x1050x16+render" --type="unix-console"
  41. NX> 127 Sessions list of user 'ling' for reconnect:
  42. Display Type             Session ID                       Options  Depth Screen         Status      Session Name
  43. ------- ---------------- -------------------------------- -------- ----- -------------- ----------- ------------------------------
  44. 0       vnc-local        275DA1281981649E688FCF32A3C159CB --------       1400x1050      Running     X0 (Local)
  45. NX> 148 Server capacity: not reached for user: ling
  46. NX> 105 listsession --user="ling" --status="suspended,running" --geometry="1400x1050x16+render" --type="unix-console"
  47. NX> 127 Sessions list of user 'ling' for reconnect:
  48. Display Type             Session ID                       Options  Depth Screen         Status      Session Name
  49. ------- ---------------- -------------------------------- -------- ----- -------------- ----------- ------------------------------
  50. 0       vnc-local        BDF01785A4F04500F60B32CBC10B2812 --------       1400x1050      Running     X0 (Local)
  51. NX> 148 Server capacity: not reached for user: ling
  52. NX> 105 startsession --session="home(ike)" --type="unix-console" --cache="8M" --images="32M" --link="lan" --virtualdesktop="1" --kbtype="pc102/us" --nodelay="1" --encryption="1" --backingstore="never" --geometry="1024x768" --media="0" --agent_server="" --agent_user="" agent_password="******""  --screeninfo="1024x768x16+render"
  53. NX> 1000 NXNODE - Version 2.1.0-71 OS (GPL)
  54. NX> 105 /usr/bin/nxserver: line 1283:  2039 Terminated              sleep $AGENT_STARTUP_TIMEOUT
  55. NX> 596 Session startup failed.
  56. NX> 1004 Error: NX Agent exited with exit status 1. To troubleshoot set SESSION_LOG_CLEAN=0 in node.conf and investigate "/home/ling/.nx/F-C-ike-1000-79541CBAA8AE58F51778860621C72249/session". You might also want to try: ssh -X myserver; /usr/bin/nxnode --agent to test the basic functionality. Session log follows:
  57. NX> 1006 Session status: closed
  58. NX> 700 Session id: ike-1000-79541CBAA8AE58F51778860621C72249
  59. NX> 705 Session display: 1000
  60. NX> 703 Session type: unix-console
  61. NX> 701 Proxy cookie: 77efecfa09f342fd674bd3cc2fce69a5
  62. NX> 702 Proxy IP: 127.0.0.1
  63. NX> 706 Agent cookie: 77efecfa09f342fd674bd3cc2fce69a5
  64. Can't open /var/lib/nxserver/db/running/sessionId{79541CBAA8AE58F51778860621C72249}: No such file or directory.
  65. mv: cannot stat `/var/lib/nxserver/db/running/sessionId{79541CBAA8AE58F51778860621C72249}': No such file or directory
  66. NX> 704 Session cache: unix-console
  67. NX> 707 SSL tunneling: 1
  68. NX> 1001 Bye.
复制代码
这会是什么问题?
回复 支持 反对

使用道具 举报

发表于 2007-11-24 21:38:17 | 显示全部楼层

在windows下连接gentoo(fvwm)失败

我使用的是fvwm,在windows下的客户端无法连接!
显示如下:

  1. NX> 203 NXSSH running with pid: 332
  2. NX> 285 Enabling check on switch command
  3. NX> 285 Enabling skip of SSH config files
  4. NX> 200 Connected to address: 192.168.1.7 on port: 22
  5. NX> 202 Authenticating user: nx
  6. NX> 208 Using auth method: publickey
  7. HELLO NXSERVER - Version 2.1.0-71 OS (GPL)
  8. NX> 105 hello NXCLIENT - Version 1.5.0
  9. NX> 134 Accepted protocol: 1.5.0
  10. NX> 105 SET SHELL_MODE SHELL
  11. NX> 105 SET AUTH_MODE PASSWORD
  12. NX> 105 login
  13. NX> 101 User: ling
  14. NX> 102 Password:
  15. NX> 103 Welcome to: ike user: ling
  16. NX> 105 listsession --user="ling" --status="suspended,running" --geometry="1400x1050x16+render" --type="unix-console"
  17. NX> 127 Sessions list of user 'ling' for reconnect:

  18. Display Type             Session ID                       Options  Depth Screen         Status      Session Name
  19. ------- ---------------- -------------------------------- -------- ----- -------------- ----------- ------------------------------
  20. 0       vnc-local        89D8E6F820C3EDCDAA002B4489E648F4 --------       1400x1050      Running     X0 (Local)


  21. NX> 148 Server capacity: not reached for user: ling
  22. NX> 105 listsession --user="ling" --status="suspended,running" --geometry="1400x1050x16+render" --type="unix-console"
  23. NX> 127 Sessions list of user 'ling' for reconnect:

  24. Display Type             Session ID                       Options  Depth Screen         Status      Session Name
  25. ------- ---------------- -------------------------------- -------- ----- -------------- ----------- ------------------------------
  26. 0       vnc-local        D320E7D0649FEC690AB88B124B088965 --------       1400x1050      Running     X0 (Local)


  27. NX> 148 Server capacity: not reached for user: ling
  28. NX> 105 listsession --user="ling" --status="suspended,running" --geometry="1400x1050x16+render" --type="unix-console"
  29. NX> 127 Sessions list of user 'ling' for reconnect:

  30. Display Type             Session ID                       Options  Depth Screen         Status      Session Name
  31. ------- ---------------- -------------------------------- -------- ----- -------------- ----------- ------------------------------
  32. 0       vnc-local        58E59CD7CE7ECE1D6C19E8E1CA6834CE --------       1400x1050      Running     X0 (Local)


  33. NX> 148 Server capacity: not reached for user: ling
  34. NX> 105 listsession --user="ling" --status="suspended,running" --geometry="1400x1050x16+render" --type="unix-console"
  35. NX> 127 Sessions list of user 'ling' for reconnect:

  36. Display Type             Session ID                       Options  Depth Screen         Status      Session Name
  37. ------- ---------------- -------------------------------- -------- ----- -------------- ----------- ------------------------------
  38. 0       vnc-local        D694CB32046B9E0FA57C6EBC34B959B6 --------       1400x1050      Running     X0 (Local)


  39. NX> 148 Server capacity: not reached for user: ling
  40. NX> 105 listsession --user="ling" --status="suspended,running" --geometry="1400x1050x16+render" --type="unix-console"
  41. NX> 127 Sessions list of user 'ling' for reconnect:

  42. Display Type             Session ID                       Options  Depth Screen         Status      Session Name
  43. ------- ---------------- -------------------------------- -------- ----- -------------- ----------- ------------------------------
  44. 0       vnc-local        275DA1281981649E688FCF32A3C159CB --------       1400x1050      Running     X0 (Local)


  45. NX> 148 Server capacity: not reached for user: ling
  46. NX> 105 listsession --user="ling" --status="suspended,running" --geometry="1400x1050x16+render" --type="unix-console"
  47. NX> 127 Sessions list of user 'ling' for reconnect:

  48. Display Type             Session ID                       Options  Depth Screen         Status      Session Name
  49. ------- ---------------- -------------------------------- -------- ----- -------------- ----------- ------------------------------
  50. 0       vnc-local        BDF01785A4F04500F60B32CBC10B2812 --------       1400x1050      Running     X0 (Local)


  51. NX> 148 Server capacity: not reached for user: ling
  52. NX> 105 startsession --session="home(ike)" --type="unix-console" --cache="8M" --images="32M" --link="lan" --virtualdesktop="1" --kbtype="pc102/us" --nodelay="1" --encryption="1" --backingstore="never" --geometry="1024x768" --media="0" --agent_server="" --agent_user="" agent_password="******""  --screeninfo="1024x768x16+render"

  53. NX> 1000 NXNODE - Version 2.1.0-71 OS (GPL)
  54. NX> 105 /usr/bin/nxserver: line 1283:  2039 Terminated              sleep $AGENT_STARTUP_TIMEOUT
  55. NX> 596 Session startup failed.
  56. NX> 1004 Error: NX Agent exited with exit status 1. To troubleshoot set SESSION_LOG_CLEAN=0 in node.conf and investigate "/home/ling/.nx/F-C-ike-1000-79541CBAA8AE58F51778860621C72249/session". You might also want to try: ssh -X myserver; /usr/bin/nxnode --agent to test the basic functionality. Session log follows:
  57. NX> 1006 Session status: closed
  58. NX> 700 Session id: ike-1000-79541CBAA8AE58F51778860621C72249
  59. NX> 705 Session display: 1000
  60. NX> 703 Session type: unix-console
  61. NX> 701 Proxy cookie: 77efecfa09f342fd674bd3cc2fce69a5
  62. NX> 702 Proxy IP: 127.0.0.1
  63. NX> 706 Agent cookie: 77efecfa09f342fd674bd3cc2fce69a5
  64. Can't open /var/lib/nxserver/db/running/sessionId{79541CBAA8AE58F51778860621C72249}: No such file or directory.
  65. mv: cannot stat `/var/lib/nxserver/db/running/sessionId{79541CBAA8AE58F51778860621C72249}': No such file or directory
  66. NX> 704 Session cache: unix-console
  67. NX> 707 SSL tunneling: 1
  68. NX> 1001 Bye.
复制代码

这会是什么问题?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-11-24 22:36:47 | 显示全部楼层
我的经验是一个要nxserver --adduser
一个要nxclient import正确的key
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表