본문 바로가기

Linux

[linux]vnc server xstartup 설정

.vnc/xstartup에서

#!/bin/sh

# Uncomment the following two lines for normal desktop:
# unset SESSION_MANAGER  <-주석제거
# exec /etc/X11/xinit/xinitrc    <-주석제거

[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
twm &