HD Install :: Autostarting VNC fails



So, i saw in another topic about a user who wanted to autostart firefox when the machine booted. I followed the instructions and modified .xinitrc to have a line beneath the dillo line that says:

vncviewer -fullscreen 192.168.2.50:1

and then i reboot. Boot process goes fine, and then it stalls when it whould be drawing the local desktop. Instead, i get the classic gray background and X cursor, and no indication as to whats going on.

Has anyone tried to do this before? Any tips?

did you try adding a " &" to the end of that line?
Aha! Thanks for the tip. I've never edited the xinitrc file before. :D

Anyway, it seems like im closer, but not there yet, im still getting hung locally. It draws the desktop background and the "start menu bar" (not sure what this is called), but there are no icons, and right clicking does nothng. And, as i said, it doesnt open the VNCViewer either.

Currently, i have the default dillo line commented out, and i have put this VNC viewer line directly beneath it. Should i be putting it somewhere else, perhaps at the end of the file?

Does taking out the vncviewer line allow everything to startup properly?

Maybe you should paste your whole .xinitrc ..
and  check the file permissions on it - it might be required to be executable.

Yeah, commenting out the vncviewer line makes everything boot properly. I think the problem is that vncviewer needs to ask for a password. If i open up ATerm, and type in:

vncviewer -fullscreen 192.168.2.50:1

the first thing it will come back with is:
Password:
on the very next line. I think this is where the problem is, all though im not wuite sure how to fix it. Also, pasting my entire .xinitrc file would be a lot of work, its on a different comp, etc etc. :D Ill give you, verbatim, the changes i have made.


-------above this everything is unchanged--------
#dillo etc etc etc &
vncviewer -fullscreen 192.168.2.50:1 &
-------below this everything is unchanged--------

Now, something tells me that i need to be doing something with pipes and STDIN to grab that password prompt and route it appropriately, but i cant say for sure. And i also cant say that im even using the right terms.

You've been very helpful so far, i hope im giving you the information you need to help some more. :D

Next Page...
original here.