Solo che quando mi collego al pc con windows ho il controllo sul desktop remoto, su slackware no, ho solo un ambiente grafico twm, con una shell. Vorrei sapere se è possibile accedere alla sezione corrente
Ecco uno screen di quello che ho sulla macchina con cui tento di accedere:

Ecco cosa ho fatto dopo aver installato vnc:
Codice: Seleziona tutto
vncpasswdCodice: Seleziona tutto
bash-3.1# vncserver
Couldn't start Xvnc; trying default font path.
Please set correct fontPath in the vncserver script.
New 'X' desktop is darkstar:1
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/darkstar:1.log
bash-3.1# Codice: Seleziona tutto
bash-3.1# vncviewer XX.XX.XX.XX:1
Connected to RFB server, using protocol version 3.8
Enabling TightVNC protocol extensions
Performing standard VNC authentication
Password:
Authentication successful
Desktop name "root's X desktop (darkstar:1)"
VNC server default format:
32 bits per pixel.
Least significant byte first in each pixel.
True colour: max red 255 green 255 blue 255, shift red 16 green 8 blue 0
Using default colormap which is TrueColor. Pixel format:
32 bits per pixel.
Least significant byte first in each pixel.
True colour: max red 255 green 255 blue 255, shift red 16 green 8 blue 0
Using shared memory PutImage
Same machine: preferring raw encoding
Ed infine ecco il /root/.vnc/darkstar:1.log:
Codice: Seleziona tutto
Couldn't open RGB_DB '/usr/X11R6/lib/X11/rgb'
14/03/09 23:08:12 Xvnc version TightVNC-1.3.9
14/03/09 23:08:12 Copyright (C) 2000-2007 TightVNC Group
14/03/09 23:08:12 Copyright (C) 1999 AT&T Laboratories Cambridge
14/03/09 23:08:12 All Rights Reserved.
14/03/09 23:08:12 See http://www.tightvnc.com/ for information on TightVNC
14/03/09 23:08:12 Desktop name 'X' (darkstar:1)
14/03/09 23:08:12 Protocol versions supported: 3.3, 3.7, 3.8, 3.7t, 3.8t
14/03/09 23:08:12 Listening for VNC connections on TCP port 5901
14/03/09 23:08:12 Listening for HTTP connections on TCP port 5801
14/03/09 23:08:12 URL http://darkstar:5801
_FontTransSocketUNIXConnect: Can't connect: errno = 2
failed to set default font path 'unix/:7100'
Fatal server error:
could not open default font 'fixed'
Couldn't open RGB_DB '/usr/X11R6/lib/X11/rgb'
14/03/09 23:08:13 Xvnc version TightVNC-1.3.9
14/03/09 23:08:13 Copyright (C) 2000-2007 TightVNC Group
14/03/09 23:08:13 Copyright (C) 1999 AT&T Laboratories Cambridge
14/03/09 23:08:13 All Rights Reserved.
14/03/09 23:08:13 See http://www.tightvnc.com/ for information on TightVNC
14/03/09 23:08:13 Desktop name 'X' (darkstar:1)
14/03/09 23:08:13 Protocol versions supported: 3.3, 3.7, 3.8, 3.7t, 3.8t
14/03/09 23:08:13 Listening for VNC connections on TCP port 5901
14/03/09 23:08:13 Listening for HTTP connections on TCP port 5801
14/03/09 23:08:13 URL http://darkstar:5801
xsetroot: unknown color "grey"
twm: invalid color name "black"
twm: invalid color name "white"
twm: invalid color name "slategrey"
twm: invalid color name "gray85"
twm: invalid color name "gray85"
twm: invalid color name "gray85"
twm: invalid color name "slategrey"
twm: invalid color name "gray70"
twm: invalid color name "gray85"
twm: invalid color name "gray85"
twm: invalid color name "gray85"
No VNC extension on display :1
Codice: Seleziona tutto
bash-3.1# cat /root/.vnc/xstartup
#!/bin/sh
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
twm &
bash-3.1#

