And I want to be able to log in and log out from either linux or windows.
So far I have a simple VNC server, that starts xfce and if I needed it, some other programs.
I’ve found how to autologin so the vncserver can be started automatically.
Not to worry, while the machine firewall is disabled it is behind a router that only will have ftp and http ports opened to this computer. I need this setup because one program I need to use requires the X server running and to turn this computer into a headless one that I can manage within the internal network.
I’ve tried to use XDMCP from the X server, but all it does is login into a new session, and when I close it, the session gets destroyed killing this program I need.
I’m interested in using some kind of program (either XDMCP or NX for example) that interfaces with the X server directly or that feels more responsive since I will be using the machine trough the internal lan and I have bandwith to spare, not so cpu (computer is a fanless Via C3 at 800 mhz)
The VNC server is fine, though, I have one problem.
The connection randomly disconnects (sometimes when I click, others with no apparent reason). It’s not that much of a problem since the server is intact, and all I would have to do is reconnect to continue using it. But it’s annoying as it happens very often.
Log, just in case:
04/03/2009 19:07:57 Got VNC connection from client 192.168.1.102
04/03/2009 19:07:57 Using protocol version 3.4
04/03/2009 19:07:57 Non-standard protocol version 3.4, using 3.3 instead
04/03/2009 19:08:02 Full-control authentication passed by 192.168.1.102
04/03/2009 19:08:02 Pixel format for client 192.168.1.102:
04/03/2009 19:08:02 32 bpp, depth 24, little endian
04/03/2009 19:08:02 true colour: max r 255 g 255 b 255, shift r 16 g 8 b 0
04/03/2009 19:08:02 no translation needed
04/03/2009 19:08:02 Using hextile encoding for client 192.168.1.102
04/03/2009 19:08:02 rfbProcessClientNormalMessage: ignoring unknown encoding 17
04/03/2009 19:08:02 rfbProcessClientNormalMessage: ignoring unknown encoding 16
04/03/2009 19:08:02 rfbProcessClientNormalMessage: ignoring unknown encoding 9
04/03/2009 19:08:02 rfbProcessClientNormalMessage: ignoring unknown encoding 8
04/03/2009 19:08:02 Using copyrect encoding for client 192.168.1.102
04/03/2009 19:08:02 Using compression level 6 for client 192.168.1.102
04/03/2009 19:08:02 Enabling X-style cursor updates for client 192.168.1.102
04/03/2009 19:08:02 Enabling cursor position updates for client 192.168.1.102
04/03/2009 19:08:02 Using image quality level 6 for client 192.168.1.102
04/03/2009 19:08:02 rfbProcessClientNormalMessage: ignoring unknown encoding -65530
04/03/2009 19:08:02 Enabling LastRect protocol extension for client 192.168.1.102
04/03/2009 19:08:02 rfbProcessClientNormalMessage: ignoring unknown encoding -223
04/03/2009 19:08:02 rfbProcessClientNormalMessage: ignoring unknown encoding -32768
04/03/2009 19:08:02 rfbProcessClientNormalMessage: ignoring unknown encoding -32767
04/03/2009 19:08:02 rfbProcessClientNormalMessage: ignoring unknown encoding -32766
04/03/2009 19:08:13 WriteExact: select: Interrupted system call
04/03/2009 19:08:13 rfbSendUpdateBuf: write: Interrupted system call
04/03/2009 19:08:13 rfbClientConnectionGone
04/03/2009 19:08:13 VNC Client 192.168.1.102 gone
04/03/2009 19:08:13 Statistics:
04/03/2009 19:08:13 key events received 0, pointer events 254
04/03/2009 19:08:13 framebuffer updates 38, rectangles 357, bytes 1052091
04/03/2009 19:08:13 cursor shape updates 11, bytes 1782
04/03/2009 19:08:13 cursor position updates 1, bytes 12
04/03/2009 19:08:13 hextile rectangles 345, bytes 1050297
04/03/2009 19:08:13 raw bytes equivalent 6141092, compression ratio 5.847005
04/03/2009 19:08:13 GenerateVncDisconnectedEvent
Note this time it took 11 secons to die. Normally I use UltraVNC viewer for the job, but TightVNC and RealVNC viewer dies like this as well.
I know how to move on linux but since this is the first time I’m doing this and I’m not that expert, I will be working on a virtual machine (VirtualBox) so I can test everything before, so, any suggestion (about the VNC server, XDMCP or even how to login or start stuff ) will be welcome.
Thanks for the time.