Struggling with trying to get a 'shared' VNC desktop - like the article
of the linuxjournal - January 2002

I have set /etc/sysconfig/vncservers

VNCSERVERS="1:craig"
ARGS="-geometry 1024x768 -alwaysshared "

and changed one line in /etc/rc.d/init.d/vncserver

from

            "su ${display##*:} -c \"cd ~${display##*:} && [ -f
.vnc/passwd ] && vncserver :${display%%:*}\""

to

#            "su ${display##*:} -c \"cd ~${display##*:} && [ -f
.vnc/passwd ] && vncserver ${ARGS} :${disp
lay%%:*}\""

and when I try to start the vnc service, it always returns that there is
no file - relating to the $ARGS

What has changed? How can I slip in the '-alwaysshared' ?

I tried substituting "-alwaysshared" instead of ${ARGS} and I get the
same error.

Craig




-- 
Psyche-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/psyche-list

Reply via email to