Sfoglia il codice sorgente

exec startx

pull/1/head
10sr 12 anni fa
parent
commit
1e724a6c23
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      bashrc

+ 1
- 1
bashrc Vedi 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


Caricamento…
Annulla
Salva