LinuxSir.cn,穿越时空的Linuxsir!

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

普通用户无法 startx

[复制链接]
发表于 2007-6-20 17:45:01 | 显示全部楼层 |阅读模式
提示 /var/log/ 目录的权限问题
无法把 /var/log/xorg.0.log 改为  /var/log/xorg.0.log.old 只能用 root 进 X
发表于 2007-6-20 17:51:05 | 显示全部楼层
还有这样的事情?
你都把user加入那些组了?

加入video,audio,power,....了么?

x的权限本来就是root,但是用户可以启动和结束
回复 支持 反对

使用道具 举报

发表于 2007-6-20 18:45:33 | 显示全部楼层
pacman 3.0.5的bug。
回复 支持 反对

使用道具 举报

发表于 2007-6-20 19:10:41 | 显示全部楼层
不是把。.着都有..
回复 支持 反对

使用道具 举报

发表于 2007-6-21 01:07:00 | 显示全部楼层
sudo chmod u+s /usr/bin/Xorg
回复 支持 反对

使用道具 举报

发表于 2007-6-21 09:58:39 | 显示全部楼层
昨天升级系统也遇到这个问题。

参考了
http://bbs.archlinux.org/viewtopic.php?id=34339
http://bbs.archlinux.org/viewtopic.php?id=34338

chmod u+s /usr/bin/Xorg搞定。
回复 支持 反对

使用道具 举报

发表于 2007-6-21 10:32:15 | 显示全部楼层
幸好我是root党
回复 支持 反对

使用道具 举报

发表于 2007-6-22 09:46:41 | 显示全部楼层

pacman 3.0.5-1 = 重装系统?

早上pacman -Syu之后:

  1. >>> VERY IMPORTANT <<<
  2. >>> pacman 3.0.5-1 had a bad bug when dealing with symlinks in packages,
  3. >>> causing possible dangerious file permissions. It is recommended you
  4. >>> reinstall any packages you have installed since upgrading to version
  5. >>> 3.0.5-1. Use /var/log/pacman.log for this information.
复制代码


俺的系统刚用pacman 3.0.5-1装的:eek:
http://www.archlinux.org/第一条新闻就是这个。


  1. [skee@skee ~]$ find /bin -perm -o=w
  2. /bin/sh
  3. /bin/awk
  4. /bin/bash
  5. /bin/gzip
  6. /bin/bzcat
  7. /bin/pidof
  8. /bin/domainname
  9. /bin/compress
  10. /bin/nisdomainname
  11. /bin/dnsdomainname
  12. /bin/ntfs-3g
  13. /bin/ypdomainname
  14. /bin/bunzip2
  15. [skee@skee ~]$ find /sbin -perm -o=w
  16. /sbin/lvm
  17. /sbin/lvs
  18. /sbin/pvs
  19. /sbin/vgs
  20. /sbin/pvck
  21. /sbin/vgck
  22. /sbin/umount.smbfs
  23. /sbin/lvconvert
  24. /sbin/lvdisplay
  25. /sbin/pvchange
  26. /sbin/pvcreate
  27. /sbin/vgmknodes
  28. /sbin/telinit
  29. /sbin/pvremove
  30. /sbin/pvresize
  31. /sbin/lvmchange
  32. /sbin/lvmsadc
  33. /sbin/poweroff
  34. /sbin/dhcpcd
  35. /sbin/lspcmcia
  36. /sbin/swapoff
  37. /sbin/vgcfgrestore
  38. /sbin/lvmdiskscan
  39. /sbin/pvdisplay
  40. /sbin/lvmsar
  41. /sbin/lvscan
  42. /sbin/vgchange
  43. /sbin/vgcreate
  44. /sbin/pvmove
  45. /sbin/pvscan
  46. /sbin/reboot
  47. /sbin/vgexport
  48. /sbin/vgextend
  49. /sbin/vgimport
  50. /sbin/vgscan
  51. /sbin/vgmerge
  52. /sbin/vgsplit
  53. /sbin/lvchange
  54. /sbin/mount.smbfs
  55. /sbin/lvcreate
  56. /sbin/lvextend
  57. /sbin/vgreduce
  58. /sbin/vgrename
  59. /sbin/vgremove
  60. /sbin/vgconvert
  61. /sbin/mount.ntfs-3g
  62. /sbin/vgcfgbackup
  63. /sbin/lvreduce
  64. /sbin/lvrename
  65. /sbin/lvremove
  66. /sbin/lvresize
  67. /sbin/vgdisplay
复制代码


查了$PATH,又看了看/usr/man和/usr/share,果然江山一片红,难怪建议重装。
就听了建议重装?已经清空了/var/cache/pacman/pkg/*.tar.gz,实在不想再下了。
算了,还是chmod吧,凡是root.root就chmod o-w,先用着。

还有遇到此问题的弟兄?有何建议?
回复 支持 反对

使用道具 举报

发表于 2007-6-22 10:28:41 | 显示全部楼层
用 debian 吧
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-6-23 09:28:24 | 显示全部楼层
不知 pacman-3.0.5-2 有么有解决了这个问题
回复 支持 反对

使用道具 举报

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

本版积分规则

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