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

Darryl Clarke smartssa at gmail.com
Fri Mar 24 16:43:22 UTC 2006


On 24/03/06, Andy Anderson <opus at slowlanecafe.com> 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  ~ smartssa at gmail.com
~ http://darrylclarke.com




More information about the ubuntu-users mailing list