<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 19 November 2013 00:30, vfclists . <span dir="ltr"><<a href="mailto:vfclists@gmail.com" target="_blank">vfclists@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><div><div><div><br></div>I want to write a program to provide its own remote display without an X Window server, ie the program has its own display which can be connected to via VNC server. There is a libvncserver/libvnclient project at <a href="http://libvncserver.sourceforge.net/" target="_blank">http://libvncserver.sourceforge.net/</a> which enables one to do that, but I don't know where to start or even know who all the parts come together.<br>


<br></div>My main questions are:<br><br></div>1. Is it possible to direct the output of a Lazarus LCL program into such a display system, or perhaps replace the parts where it interacts with X Windows to such a system.<br>


<br></div>2. If I am willing  go with X Windows is it possible to dedicate a single X Window to a program alone, without using an Desktop Manager or Window Manager and link it with VNC, as though it is the program alone that displays on that X Window?<br>


<br></div>3. Is there some place I can get some more information about this RFB system of display programs if that is the right term?<span><font color="#888888"><br clear="all"><div><div><div><div><div><div><div>
<div><br>-- <br>Frank Church=======================<br></div></div></div></div></div></div></div></div></font></span></div></blockquote><div> </div></div>Thanks for the suggestions. By editing out most of the lines in ~/.vnc/xstartup I have been able to make some progress<br>

<br>#!/bin/sh<br><br># xrdb $HOME/.Xresources<br># xsetroot -solid grey<br># x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &<br>~/program/program  &<br>#x-window-manager &<br>

# Fix to make GNOME work<br>#export XKL_XMODMAP_DISABLE=1<br># /etc/X11/Xsession<br><br></div><div class="gmail_extra">I commented out everything except the command to run the program and I get a shaded gray screen with my program, but without the headers and menu which I suspect are placed there by the window manager.<br>

<br></div><div class="gmail_extra">I have also noticed  XTightvnc and its parameters in the process list and it looks to me that they are key to getting the results I need.<br>
</div></div>