Hallo
Ik heb een server draaien met xubuntu-desktop nu wil ik die via mijn xp pc bedienen.
Naar 2 dagen puzzelen met vnc4server heb ik nu eindelijk verbinding maar ik zei alleen maar een grijze gestippelde massa
met een groot kruis er in.
Deze howto heb ik gevolgd
sudo apt-get install vnc4server xinetd xvnc4viewer
sudo apt-get install ssh
Open the "Login Window" applet in the Applications --> Settings menu. You should be prompted for your password to access this.
Choose the "Remote" tab and select one of the options from the Style dropdown. I select Plain.
At the bottom of the tab, there is a button called "Configure XDMCP...". Click and make sure that the "Honor indirect requests" is NOT selected.
Using your favourite text editor, open /etc/gdm/gdm.conf for editing. You will need superuser privileges, so it should be something like:
sudo nano /etc/gdm/gdm.conf
In this file, in the [daemon] section, uncomment (i.e. remove the leading '#' sign) from the line which starts "RemoteGreeter=/usr/lib/gdm/gdmlogin".
In the [security] section, I change the AllowRemoteRoot to false.
In the [xdmcp] section, make sure Enable=true and HonorIndirect=false.
Now, to create an entry for xinetd to start each time it receives a connect request, create a file called Xvnc in /etc/xinetd.d. In /etc/xinetd.d/Xvnc, put the following text:
service Xvnc
{
type = UNLISTED
disable = no
socket_type = stream
protocol = tcp
wait = yes
user = root
server = /usr/bin/Xvnc
server_args = -inetd :1 -query localhost -geometry 1024x768 -depth 16 -once -fp /usr/share/fonts/X11/misc -DisconnectClients=0 -NeverShared passwordFile=/root/.vncpasswd
port = 5901
}
Create a password for xinetd, by running
sudo vncpasswd /root/.vncpasswd
Restart xinetd by running:
sudo /etc/init.d/xinetd stop
sudo killall Xvnc
sudo /etc/init.d/xinetd start
Ik hoop dat jullie mij kunnen helpen wat ik geef het bijna op