瀏覽代碼

exec startx

pull/1/head
10sr 12 年之前
父節點
當前提交
1e724a6c23
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      bashrc

+ 1
- 1
bashrc 查看文件

@@ -166,7 +166,7 @@ showinfo(){

x(){
if [[ -z $DISPLAY ]] && ! [[ -e /tmp/.X11-unix/X0 ]] && (( EUID )); then
nohup startx >~/.backup/log/xorg.log 2>&1 &
exec nohup startx # >~/.backup/log/xorg.log 2>&1 &
else
echo "X cant be started! Maybe another X is already running!" 1>&2
fi


Loading…
取消
儲存