Browse Source

exec startx

pull/1/head
10sr 12 years ago
parent
commit
1e724a6c23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      bashrc

+ 1
- 1
bashrc View File

@@ -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…
Cancel
Save