On Mon, Aug 11, 2003 at 09:29:39AM -0500, towens@linuxmds.com wrote:
I've got this windows machine on my network, and I'd like to be able to vnc into it on a separate X session on my linux workstation. Starting another X session is easy, only I'm not wanting a normal X session.
Here's what I'd like...
I'd like a nice little script that I could fire off from a command line on tty6 or something... that would start X and just have vncviewer pop up for me to enter the machine I want it to connect to.
I'm playing with xinit and startx and passing different params to each, but whatever I try, I either end up with a full windows manager running (which I can't afford on this wimpy machine) or an error message that says vncviewer can't connect to the display...
Has anyone rolled custom xinit's before... I think this would be helpful in other avenues besides vnc...
Yes, you just get a standard .xinitrc, and replace the line which runs your window manager with the command to run vncviewer. However.... I would recommend that you *do* run a window manager. If you don't, you'll probably have problems with controlling the keyboard and mouse focus. Start vncviewer in the background, then run the WM. If your machine is underpowered, you don't have to run something like kwm - just pick a very small WM like fvwm, or if that is still too much, twm will provide really basic WM functionality in a tiny amount of memory. If you want some more help, send me your current .xinitrc, and I'll see what I can do. HTH... -- David Smith Work Email: Dave.Smith@st.com STMicroelectronics Home Email: David.Smith@ds-electronics.co.uk Bristol, England GPG Key: 0xF13192F2