LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
123
返回列表 发新帖
楼主: dutongtie

登录gnome报错(有图)(已解决)

[复制链接]
发表于 2009-2-18 09:16:19 | 显示全部楼层
Post by druggo;1947497
直接用gdm好了。

或者xinitrc里加入/usr/libexec/gnome-settings-daemon


就是加入/usr/libexec/gnome-settings-daemon
回复 支持 反对

使用道具 举报

发表于 2009-2-22 20:04:35 | 显示全部楼层
装gnome overlay里的gnome-session-2.24.3.1, 并设置一下/usr/share/gnome/default.session
  1. # This is the default session that is launched if the user doesn't
  2. # already have a session.
  3. # The RestartCommand specifies the command to run from the $PATH.
  4. # The Priority determines the order in which the commands are started
  5. # (with Priority = 0 first) and defaults to 50.
  6. # The id provides a name that is unique within this file and passed to
  7. the
  8. # app as the client id which it must use to register with gnome-session.
  9. # The clients must be numbered from 0 to the value of num_clients - 1.
  10. [Default]
  11. num_clients=4
  12. 0,id=default0
  13. 0,Priority=60
  14. 0,RestartCommand=pam-panel-icon --sm-client-id default0
  15. 1,id=default1
  16. 1,Priority=10
  17. 1,RestartCommand=gnome-wm --default-wm gnome-wm --sm-client-id default1
  18. 2,id=default2
  19. 2,Priority=40
  20. 2,RestartCommand=gnome-panel --sm-client-id default2
  21. 3,id=default3
  22. 3,Priority=40
  23. 3,RestartCommand=nautilus --no-default-window --sm-client-id default3
复制代码

但是2.24的session有点问题,所以没被添加官方portage里。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-2-22 21:56:27 | 显示全部楼层
Post by hezhit;1951144
装gnome overlay里的gnome-session-2.24.3.1, 并设置一下/usr/share/gnome/default.session


  1. # This is the default session that is launched if the user doesn't
  2. # already have a session.
  3. # The RestartCommand specifies the command to run from the $PATH.
  4. # The Priority determines the order in which the commands are started
  5. # (with Priority = 0 first) and defaults to 50.
  6. # The id provides a name that is unique within this file and passed to
  7. the
  8. # app as the client id which it must use to register with gnome-session.
  9. # The clients must be numbered from 0 to the value of num_clients - 1.

  10. [Default]
  11. num_clients=4
  12. 0,id=default0
  13. 0,Priority=60
  14. 0,RestartCommand=pam-panel-icon --sm-client-id default0
  15. 1,id=default1
  16. 1,Priority=10
  17. 1,RestartCommand=gnome-wm --default-wm gnome-wm --sm-client-id default1
  18. 2,id=default2
  19. 2,Priority=40
  20. 2,RestartCommand=gnome-panel --sm-client-id default2
  21. 3,id=default3
  22. 3,Priority=40
  23. 3,RestartCommand=nautilus --no-default-window --sm-client-id default3
复制代码


但是2.24的session有点问题,所以没被添加官方portage里。


非常非常谢谢!!终于解决了。
回复 支持 反对

使用道具 举报

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

本版积分规则

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