Bowmore skrev:Om du endast vill köra det för en användare så varför inte stoppa in kommandot vncserver start i Uppstartsprogram för den användaren?
Hmm, vad jag förstår startas inte programmet på bootup med denna metod, har jag fel?
Lägger man till en startkommando till ~/.profile?
Rune.K skrev:Som jag förstått så är det skillnad om du vill ansluta till en Windows eller Linux-dator som har en vncserver igång.
Jag har själv fjärranslutit till Windowsdatorer via VNC och det har aldrig varit några konstigheter.
Däremot om jag ville ansluta till en Linuxdator via VNC så verkade det vara tvunget att min användare redan var inloggad på fjärrdatorn.
När jag själv vill ansluta till en Linuxdator för att köra grafiska program så använder jag hellre "ssh med X portforwarding".
Nackdelen är att man är begränsad till ett program i taget, dvs man får inte fram Skrivbordet med paneler och menyer osv.
Men det har ju fungerat för andra, det måste ju kunna fungera för mig också?
Jag vill hellre använda vnc, men tack för förslaget.
Vet inte om det har med huvudproblemet att göra men när jag startar vnservern manuellt ser logfilen ut såhär:
Kod: Markera allt
Xvnc Free Edition 4.1.1
Copyright (C) 2002-2005 RealVNC Ltd.
See http://www.realvnc.com for information on VNC.
Underlying X server release 70000000, The X.Org Foundation
Mon Apr 26 21:01:51 2010
vncext: VNC extension running!
vncext: Listening for VNC connections on port 5901
vncext: created VNC server for screen 0
error opening security policy file /etc/X11/xserver/SecurityPolicy
Could not init font path element /usr/share/fonts/X11/TTF/, removing from list!
Could not init font path element /usr/share/fonts/X11/OTF, removing from list!
Could not init font path element /usr/share/fonts/X11/Type1/, removing from list!
Could not init font path element /usr/share/fonts/X11/CID/, removing from list!
Xlib: extension "Generic Event Extension" missing on display ":1.0".
Xlib: extension "RANDR" missing on display ":1.0".
Xlib: extension "Generic Event Extension" missing on display ":1.0".
Xlib: extension "Generic Event Extension" missing on display ":1.0".
Xlib: extension "Generic Event Extension" missing on display ":1.0".
Xlib: extension "Generic Event Extension" missing on display ":1.0".
fixme:heap:HeapSetInformation 0x110000 0 0x48bfb0 4
Xlib: extension "Generic Event Extension" missing on display ":1.0".
fixme:heap:HeapSetInformation 0x284000 0 0x48bfb0 4
fixme:winsock:WS_setsockopt Unknown IPPROTO_IPV6 optname 0x00000017
fixme:winsock:WS_setsockopt Unknown IPPROTO_IPV6 optname 0x00000017
err:winediag:WSASocketW Failed to create a socket of type SOCK_RAW, this requires special permissions.
err:winediag:WSASocketW Failed to create a socket of type SOCK_RAW, this requires special permissions.
err:ole:CoGetClassObject class {ae1e00aa-3fd5-403c-8a27-2bbdc30cd0e1} not registered
err:ole:CoGetClassObject class {ae1e00aa-3fd5-403c-8a27-2bbdc30cd0e1} not registered
err:ole:create_server class {ae1e00aa-3fd5-403c-8a27-2bbdc30cd0e1} not registered
fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported
err:ole:CoGetClassObject no class object {ae1e00aa-3fd5-403c-8a27-2bbdc30cd0e1} could be created for context 0x17
err:ole:CoGetClassObject class {ae1e00aa-3fd5-403c-8a27-2bbdc30cd0e1} not registered
err:ole:CoGetClassObject class {ae1e00aa-3fd5-403c-8a27-2bbdc30cd0e1} not registered
err:ole:create_server class {ae1e00aa-3fd5-403c-8a27-2bbdc30cd0e1} not registered
fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported
err:ole:CoGetClassObject no class object {ae1e00aa-3fd5-403c-8a27-2bbdc30cd0e1} could be created for context 0x17
fixme:keyboard:UnregisterHotKey (0x10062,1): stub
fixme:iphlpapi:adapterAddressesFromIndex address family 23 unsupported
Mon Apr 26 21:02:03 2010
Connections: accepted: 5.37.161.69::64905
SConnection: Client needs protocol version 3.8
SConnection: Client requests security type VncAuth(2)
Mon Apr 26 21:02:13 2010
VNCSConnST: Server default pixel format depth 16 (16bpp) little-endian rgb565
VNCSConnST: Client pixel format depth 16 (16bpp) little-endian rgb565
fixme:heap:RtlCompactHeap (0x284000, 0x0) stub
err:ole:CoGetClassObject class {ae1e00aa-3fd5-403c-8a27-2bbdc30cd0e1} not registered
err:ole:CoGetClassObject class {ae1e00aa-3fd5-403c-8a27-2bbdc30cd0e1} not registered
err:ole:create_server class {ae1e00aa-3fd5-403c-8a27-2bbdc30cd0e1} not registered
fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported
err:ole:CoGetClassObject no class object {ae1e00aa-3fd5-403c-8a27-2bbdc30cd0e1} could be created for context 0x17
err:ole:CoGetClassObject class {ae1e00aa-3fd5-403c-8a27-2bbdc30cd0e1} not registered
err:ole:CoGetClassObject class {ae1e00aa-3fd5-403c-8a27-2bbdc30cd0e1} not registered
err:ole:create_server class {ae1e00aa-3fd5-403c-8a27-2bbdc30cd0e1} not registered
fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported
err:ole:CoGetClassObject no class object {ae1e00aa-3fd5-403c-8a27-2bbdc30cd0e1} could be created for context 0x17
Mon Apr 26 21:22:54 2010
Connections: closed: 5.37.161.69::64905 (Clean disconnection)
SMsgWriter: framebuffer updates 111
SMsgWriter: copyRect rects 3, bytes 48
SMsgWriter: hextile rects 96, bytes 278559
SMsgWriter: raw bytes equivalent 5026672, compression ratio 18.045269
XIO: fatal IO error 11 (Resursen tillfälligt otillgänglig) on X server ":1.0"
after 21031 requests (20519 known processed) with 0 events remaining.
XIO: fatal IO error 11 (Resursen tillfälligt otillgänglig) on X server ":1.0"
after 35917 requests (35914 known processed) with 0 events remaining.
FreeFontPath: FPE "/usr/share/fonts/X11/misc/" refcount is 2, should be 1; fixing.