login后直接startx

如果没装GDM、KDM、XDM等登录管理器,又想在login后直接startx,可以在~/.bashrc末尾添加如下代码:
if [ ! -e /tmp/.X*-lock ]; then startx fi

Labels: ,

2008/11/11 4:43:00 PM  By Lao | License:by-nd/3.0 | 繁體  English | 0 Comments

Add a comment to this post  //  Subscribe Comments

Loading Comments...