<div class="gmail_quote">On Sat, Jun 5, 2010 at 8:43 PM, Patrick Doyle <span dir="ltr">&lt;<a href="mailto:wpdster@gmail.com">wpdster@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
This is slightly off topic, but I would like to start up a VNC server<br>
on :1 on my mythbuntu box.  I&#39;ve installed vnc4server and edited<br>
~/.vnc/xstartup so that it runs xinitrc, but when I do that, I get a<br>
2nd instance of mythfrontend running on my :1 server.<br>
<br></blockquote><div><br></div><div>This is all I use for my ~/.vnc/xstartup:</div><div><br></div><div>#!/bin/sh</div><div>xsetroot -solid black</div><div>export XDG_CONFIG_DIRS=/etc/xdg/xdg-mythbuntu</div><div>export XDG_DATA_DIRS=/etc/xdg/xdg-mythbuntu</div>
<div>exec startxfce4</div><div> </div><div>does that do what you&#39;re looking for?  Then you just have to get your vncserver to run at boot time, or whenever you ssh in and execute vncserver(which is what I do).</div><div>
<br></div><div>When I&#39;m done and don&#39;t want to consume the resources anymore, killall Xvnc4 (or Xvnc)</div></div>