vnc

roland roland at cat.be
Tue Aug 7 09:56:10 UTC 2007


On Tue, 07 Aug 2007 00:37:30 +0200, Craig White <craig at tobyhouse.com>  
wrote:

> On Mon, 2007-08-06 at 23:55 +0200, roland wrote:
>> Hello,
>>
>> I installed fed6 and tried vncviewer on this server.As a result I had a
>> black screen with a cursor in it.I used the same CD's for a previous
>> installation and this worked without any problem.
>>
>> What could be wrong.
>>
>> vncserver is started. I had to type 'vncserver' to get a xstartup file  
>> in
>> the $HOME/.vnc directory.
>>
>> Isn't there anything like a checklist for vnc?
>>
>> This installation is a horror.
> ----
> users must set a password....
>
> # su - SOME_USER
> $ vncpasswd
>
> I would recommend that you use /etc/sysconfig/vncserver
>
> something like this...
>
> VNCSERVERS="1:craig"
> ARGS="-geometry 800x600 -depth 8 -alwaysshared "
>
> and also something like this in this users home directory
>
> $ cat ~/.Xclients-default
> #! /bin/bash
> # Created by Red Hat Desktop Switcher
>
> WM="startkde"
> WMPATH="/usr/bin /opt/bin /usr/local/bin /usr/X11R6/bin"
>
> for p in $WMPATH ; do
>         [ -x $p/$WM ] && exec $p/$WM
> done
>
> exit 1
>
I changed /etc/sysconfig/vncservers like this
----------->
VNCSERVERS="1:roland"
VNCSERVERARGS[1]="-geometry 800x600 -nolisten tcp -depth 8 -nohttpd  
-localhost -alwaysshared"
<------------
then I did: vncpasswd (for roland)

then  I started the vncserver: service vncserver start which gave:
---------->
Starting VNC server: 1:roland
New 'gdfecurie.gdf.fr:1 (roland)' desktop is gdfecurie.gdf.fr:1

Creating default startup script /home/roland/.vnc/xstartup
Starting applications specified in /home/roland/.vnc/xstartup
Log file is /home/roland/.vnc/gdfecurie.gdf.fr:1.log

                                                            [  OK  ]
<----------
then I started the session with 192.168.100.241:1
which gave the same result :-(

Any ideas?
-- 
Roland Brouwers
C.A.T. bvba




More information about the users mailing list