seems to be a connection of 3 commands (to run them in one line)
1. initlog $INITLOG_ARGS -c \"su ${display##*:} -c \"cd ~${display##*:}
(see 'man initlog' for what this does, INITLOG_ARGS is an environment or
script variable, same for ${...} where ... represents the name of the variable) )
2. [-f .vnc/passwd ] this is a test if the given file '.vnc/passwd' exists
3. vncserver -depth 24 -geometry 1280x1024 :${display%%:*}\" "
this starts the server width color 24 Bit per pixel, 1280x1024 resolution
for the last term see what man vncserver (or other vnc documentation says
about a parameter which starts with ':')Matthias
silient k wrote:
Hello all, Could you please help me understand what this line of code doing , Im a bit confused:
initlog $INITLOG_ARGS -c \"su ${display##*:} -c \"cd ~${display##*:} && [-f .vnc/passwd ] && vncserver -depth 24 -geometry 1280x1024 :${display%%:*}\" "
I have taken the above code from vncserver startup script, please explain me a bit detaily since Im very new to linux ;)
Thanks a lot,
--------------------------------- Yahoo! Search - Looking for more? Try the new Yahoo! Search _______________________________________________ VNC-List mailing list [EMAIL PROTECTED] To remove yourself from the list visit: http://www.realvnc.com/mailman/listinfo/vnc-list
_______________________________________________ VNC-List mailing list [EMAIL PROTECTED] To remove yourself from the list visit: http://www.realvnc.com/mailman/listinfo/vnc-list
