From: <ch...@to...> - 2004-04-08 18:53:48
|
How is this for a coKnoppix startup sequence? (the networking problem still needs to be solved) autorun.inf starts "vncviewer -listen" in that mode the viewer is minimized to the tray listening for a connection. coLinux daemon is then started. (possibly as a service) at the end of the boot process an rc script starts vncserver with appropriate options then vncconnect -display :1 192.168.0.1 the vncviewer then automaticly pops up! The only problem is figureing out what geometry to start the vncserver with. I like vncserver -geometry 1000x685 -depth 16 for a 1024x768 display on windows this is still reasonable but not ideal if the user is running larger but what if the user is running 800x600 one possible solution would be a little windows program that gathers the needed info and makes it avaliable on an embedded httpd (I could probably write this in a tclkit/starkit (there is a tcl httpd avaliable and also modules to read the registry) unless someone comes up with a better way of doing this) Or someone wants to do it in C++ Let me know If you think you will need it. It could share a runtime with the frontend that I wrote for e2fstools if you choose to include a version of it. http://hem.passagen.se/svto/tlinux/files/ it is called topoenlarge but I could customize it for coKnoppix. chris |