Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: Alfred on January 02, 2012, 05:03:57 AM

Title: Boot into Tightvnc
Post by: Alfred on January 02, 2012, 05:03:57 AM
Hi everyone,

I'm trying to build a system that boots straigth into vncviewer because using the vnc would be the only purpose of that computer. I've learnt how to start a graphical program at the start-up. So I add a random file into /home/tc/.X.d and type there e.g. "editor &". So the editor opens at the start-up, no problem.

Also I can write there "vncviewer" so the vnc server starts. But I would need to run the vnc as a viewer and as soon as I add an ip address, e.g. "vncviewer 192.168.1.2" nothing seems to happen.

On the other hand, when I exit to prompt and type "startx", vncviewer opens perfectly. So the problem is how to make it open at the first boot. Any ideas?

Thank You!
Title: Re: Boot into Tightvnc
Post by: netnomad on January 02, 2012, 06:52:10 AM
hi alfred,

you can start your vncviewer with the help of a terminal:

f.e. if you want to use the standard aterm
aterm -e vncviewer 192.168.1.2

you can use your prefered terminal as xterm or lxterminal, too.
Title: Re: Boot into Tightvnc
Post by: Alfred on January 02, 2012, 08:52:11 AM
Thanks for your reply but unfortunately it still seems to do nothing.
Title: Re: Boot into Tightvnc
Post by: curaga on January 05, 2012, 10:43:28 AM
It sounds like your network is not yet up at the first go. Try adding a sleep or a ping loop before starting vncviewer.
Title: Re: Boot into Tightvnc
Post by: Alfred on January 09, 2012, 03:44:04 AM
Thank you so much! I confirmed that network is not ready and added 'sleep 3' before the vnc call and now it works.