977
edits
Lukasblakk (talk | contribs) |
Lukasblakk (talk | contribs) |
||
Line 61: | Line 61: | ||
And make sure it looks like this: | And make sure it looks like this: | ||
#!/bin/sh | #!/bin/sh | ||
# Uncomment the following two lines for normal desktop: | # Uncomment the following two lines for normal desktop: | ||
unset SESSION_MANAGER | unset SESSION_MANAGER | ||
exec /etc/X11/xinit/xinitrc | exec /etc/X11/xinit/xinitrc | ||
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup | [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup | ||
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources | [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources | ||
xsetroot -solid grey | xsetroot -solid grey | ||
vncconfig -iconic & | vncconfig -iconic & | ||
xterm -geometry 80×24+10+10 -ls -title “$VNCDESKTOP Desktop” & | xterm -geometry 80×24+10+10 -ls -title “$VNCDESKTOP Desktop” & | ||
startx & | startx & | ||
gnome-session & | gnome-session & | ||
Make it executable: | Make it executable: | ||
Line 83: | Line 83: | ||
And make sure that there is the following: | And make sure that there is the following: | ||
VNCSERVERS="0:cltbld" | VNCSERVERS="0:cltbld" | ||
VNCSERVERARGS[0]=”-geometry | VNCSERVERARGS[0]=”-geometry 1027×768″ | ||
=== Make directories === | === Make directories === |
edits