终于解决了slim /usr/bin/xauth: file /var/run/slim.auth does not exist错误无法登录的问题

slim无法启动:

1
2
 [admin@huangye log]$ cat slim.log /usr/bin/xauth: file /var/run/slim.auth does not exist
slim: unexpected signal 15

然后就自动回滚到init 3 以命令行方式启动,但是如果以console启动,登录后手动输入 startx 则可正常启动。

PS:google了下,发现依云的arch也有这个问题。不过他的却是能够登录。。。

我的先前在用Xfce时某次Syu之后slim就不能正常登录了,只能以init level 3 启动,然后再 startx .在网上搜索了N久没有找到解决方案。详细log如下:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/usr/bin/xauth:  file /var/run/slim.auth does not exist


This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.

X.Org X Server 1.10.3.901 (1.10.4 RC 1)
Release Date: 2011-07-29
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.0.0-ARCH i686
Current Operating System: Linux huangye 3.0-ARCH #1 SMP PREEMPT Wed Aug 17 20:24:07 UTC 2011 i686
Kernel command line: root=/dev/disk/by-uuid/d95683c2-582f-404f-8aa4-b0856858d4e0 ro 3 vga=773
Build Date: 08 August 2011  08:28:07AM
 
Current version of pixman: 0.22.2
    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sun Aug 21 13:13:40 2011
(==) Using config directory: "/etc/X11/xorg.conf.d"
(II) [KMS] Kernel modesetting enabled.
slim: unexpected signal 15
/usr/bin/xauth:  file /var/run/slim.auth does not exist


X.Org X Server 1.10.4
Release Date: 2011-08-19
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.0-ARCH i686
Current Operating System: Linux huangye 3.0-ARCH #1 SMP PREEMPT Tue Aug 30 07:32:23 UTC 2011 i686
Kernel command line: root=/dev/disk/by-uuid/d95683c2-582f-404f-8aa4-b0856858d4e0 ro 5 vga=773
Build Date: 17 September 2011  07:40:13AM
 
Current version of pixman: 0.22.2
    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sun Oct  2 19:12:22 2011
(==) Using config directory: "/etc/X11/xorg.conf.d"
(II) [KMS] Kernel modesetting enabled.
slim: unexpected signal 15

google了N久没有找到解决方案,今天我突然想起:何不重新下载源码自己编译?

1
2
3
4
5
6
7
8
9
sudo pacman -Rcn slim
wget http://download.berlios.de/slim/slim-1.3.2.tar.gz
tar -xfzf slim-1.3.2.tar.gz
cd slim-1.3.2
vim Makefile
#:%s/lpng12/lpng14/g
#:wq
make
sudo make install

重启,oh ,fuck! :twisted: 出现了熟悉了slim 登录界面!坑爹啊 :mad: ,这xfce上的slim谁编译的。。。。唉
我在xfce官方论坛上看到有一个人,他说他把arch重新安装一遍,然后问题解决了,我真服了他。

最后说下安装slim需要的库:
X11
libpng
libjpeg
freetype

slim项目地址及相关下载:
http://developer.berlios.de/project/showfiles.php?group_id=2663
theme 下载:
http://slim.berlios.de/themes01.php

换主题:

1
2
3
4
5
6
7
8
9
wget http://download.berlios.de/slim/slim-debian-moreblue.tar.bz2 -P/home/admin/Downloads/
sudo tar -xvjf ~/Downloads/slim-debian-moreblue.tar.bz2 -C/usr/share/slim/themes
wget http://download.berlios.de/slim/slim-archlinux-simple.tar.gz -P/home/admin/Downloads/
#...........
[admin@huangye themes]$ ls
debian-moreblue/  fingerprint/  scotland-road/
default/          flat/         archlinux/
sudo vim /etc/slim.conf
#current_theme       archlinux

喜欢slim的小巧简洁:

登录时若要进入 terminal, 输入 console 作为username即可 (默认是xterm,可编辑t /etc/slim.conf 修改为其它)
关机: 输入 halt 作为username即可
重启:输入 reboot 作为username即可
要退出shell,输入 exit 作为username即可

更多
One Response Post a comment

Leave a Reply

Note: You may use basic HTML in your comments. Your email address will not be published.

Subscribe to this comment feed via RSS