Explorar el Código

exec startx

pull/1/head
10sr hace 12 años
padre
commit
1e724a6c23
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      bashrc

+ 1
- 1
bashrc Ver fichero

@@ -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


Cargando…
Cancelar
Guardar