Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Autostarting VNC fails, gray screen + x cursor< Next Oldest | Next Newest >
EvilLawnGnome Offline





Group: Members
Posts: 6
Joined: July 2006
Posted: July 22 2006,23:36 QUOTE

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?
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: July 23 2006,00:24 QUOTE

did you try adding a " &" to the end of that line?
Back to top
Profile PM 
EvilLawnGnome Offline





Group: Members
Posts: 6
Joined: July 2006
Posted: July 23 2006,01:43 QUOTE

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?
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: July 23 2006,04:40 QUOTE

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.
Back to top
Profile PM 
EvilLawnGnome Offline





Group: Members
Posts: 6
Joined: July 2006
Posted: July 23 2006,09:57 QUOTE

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
Back to top
Profile PM 
6 replies since July 22 2006,23:36 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: Autostarting VNC fails

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code