From 81ddf8bc5359ef6daf8a9003f5101b5367e43e73 Mon Sep 17 00:00:00 2001 From: xyz Date: Wed, 9 Nov 2022 18:52:40 -0800 Subject: studio laptop change to headless server --- home/xyz/.profile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'home/xyz/.profile') diff --git a/home/xyz/.profile b/home/xyz/.profile index fff55260..8040dc0f 100644 --- a/home/xyz/.profile +++ b/home/xyz/.profile @@ -93,6 +93,6 @@ playerctld daemon # startx when login, should be put after environmental variables for .xinitrc to use # use `[ "$XDG_VTNR" ]` to avoid "-bash: [: : integer expression expected" warning/error message, when `sudo su - xyz` or ssh into a remote server, not sure if best practice or not -if [ -z "$DISPLAY" ] && [ "$XDG_VTNR" ] && [ "$XDG_VTNR" -eq 1 ]; then - exec startx -fi +#if [ -z "$DISPLAY" ] && [ "$XDG_VTNR" ] && [ "$XDG_VTNR" -eq 1 ]; then +# exec startx +#fi -- cgit v1.2.3-70-g09d2