-
-
Save rainbowbird/f17cb5feb1f65c2de1de3caffd48d2aa to your computer and use it in GitHub Desktop.
VNC xstartup for unity
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/bash | |
sudo apt-get install vnc4server ubuntu-desktop | |
sudo apt-get install gnome-panel gnome-settings-daemon metacity nautilus gnome-terminal |
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 | |
#[ -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 & | |
export XKL_XMODMAP_DISABLE=1 | |
unset SESSION_MANAGER | |
unset DBUS_SESSION_BUS_ADDRESS | |
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup | |
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources | |
xsetroot -solid grey | |
vncconfig -iconic & | |
gnome-session & | |
gnome-panel & | |
gnome-settings-daemon & | |
metacity & | |
nautilus & | |
gnome-terminal & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment