vncserver works fine, but how to I start an app?

Andy Anderson opus at slowlanecafe.com
Fri Mar 24 17:13:27 UTC 2006


Darryl Clarke wrote:

>>I installed vncserver on Ubuntu 5.10, and it works fine, but
>>when I connect to it with a viewer it just gives me a blank
>>X screen.  I suspect that I need to feed vncserver the
>>equivalent of an .initrc file.  If that is correct, how
>>is that done?

> 
> You can control what vncserver runs on startup using the files in ~/.vnc/
> 
> I personally run a light weight window manager called blackbox, my
> ~/.vnc/xstartup file looks like this:
> 
> <start>
> #!/bin/sh
> 
> [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
> xsetroot -solid grey
> vncconfig -iconic &
> blackbox &
> 
> <end>

Darryl, that looks like exactly what I need.  Thanks for your time
and the info.

-- 
Andy Anderson
Salisbury, MD, USA
http://www.slowlanecafe.com

"A truly happy person is one who can enjoy the scenery on a detour."
                                                      - Anonymous





More information about the ubuntu-users mailing list