Created
September 6, 2012 14:09
-
-
Save ompugao/3656646 to your computer and use it in GitHub Desktop.
ubuntu vncserver xstartup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Uncomment the following two lines for normal desktop: | |
unset SESSION_MANAGER | |
#exec /etc/X11/xinit/xinitrc | |
/bin/sh /etc/X11/xinit/xinitrc | |
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup | |
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources | |
xsetroot -solid grey | |
vncconfig -iconic & | |
x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & | |
#x-window-manager & | |
exec gnome-session & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment