Topic: vnc and weird background

Basicly i set-up crunchbang on my web server and installed vnc server so i can vnc into so im not messing around with multiple keyboards i got open box to work in it but the background is still  messing up (see picture below) i believe is conky and i need to put something into my xstartup file to get it working but im not sure what 

this is what it look's like at the moment when looking through vnc
http://img823.imageshack.us/img823/1646/severvnc.png

Re: vnc and weird background

Please post the contents of your Openbox autostart.sh

Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.

Re: vnc and weird background

autostart.sh

# Run the system-wide support stuff
#. $GLOBALAUTOSTART

# Programs to launch at startup
# =============================

# Start session manager
lxsession &

# Start Bluetooth applet
#bluetooth-applet &

# Enable power management
gnome-power-manager &

# Set-up keyboard maps and sytem tray switcher
# tip - quickly toggle between keyboard maps by holding both shift keys!
#setxkbmap -option grp:switch,grp:shifts_toggle,grp_led:scroll gb,us,de,fr &
#(sleep 1s && fbxkb) &
# ^^ note: if using the LiveCD, you can also change to a different
#          keyboard map by entering the terminal command:
#              setxkbmap xx
#          Where "xx" is the 2 letter country code.

# Force openoffice.org to use GTK theme
# enable this if you install openoffice
#export OOO_FORCE_DESKTOP=gnome

# Start volume control system tray applet
volwheel &

# Set desktop wallpaper
nitrogen --restore &

# Enable Eyecandy - off by default
# see "/usr/bin/crunchbang/xcompmgr-crunchbang" for more info
#xcompmgr-crunchbang --startstop &

# Start screensaver deamon
gnome-screensaver &

# Launch network manager applet
(sleep 4s && nm-applet) &

# Launch clipboard manager
#(sleep 1s && parcellite) &

# Uncomment to enable system updates at boot
#(sleep 180s && system-update) &

# Check for restricted hardware
(sleep 60s && jockey-gtk --check) &

# Launch Conky
conky -q &

# Launch panel
tint2 &

# launch vncserver
vncserver &

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" &
exec ck-launch-session openbox-session 
twm &

Re: vnc and weird background

Change your xinitrc to this:

#!/bin/sh

# Uncomment the following two lines for normal desktop:
# unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc

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

Also why do you put all that stuff in .xinitrc instead of autostart.sh?

Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.

Re: vnc and weird background

anonymous wrote:

Also why do you put all that stuff in .xinitrc instead of autostart.sh?

I read some where else that where you had to put it so that what i did

Re: vnc and weird background

it dident work i tried it in both autostart.sh and xstartup

Re: vnc and weird background

Try a clean .xinitrc with only "exec ck-launch-session openbox-session".

Or if you think the problem is conky, just comment it out in your autostart.sh.

Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.