PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Suse 9.1 Prof VNC nur Konsole



Mysterox
21.12.04, 23:18
Hallo zusammen,

ich hoffe ich bin hier im richtigen Bereich.

Wenn ich auf meinem Linux Rechner (Suse 9.1 Prof) mit dem Befehl vncserver :0 den VNC Server starte, dann kann ich auch von meinem Windows rechner aus drauf zeugreifen, sehe aber leider nur einen grauen hintergrund und die Konsole.
Ich hätte aber gerne die Konsole, des angemeldeten Users (thomas)

Für Konsolen zugriff benutze ich Putty, da brauche ich ja kein VNC für.

Wäre nett wenn mir jemand helfen kann.

Habe aber leider sehr wenig Ahnung von Linux

mfg

Mysterox

Meilenstein
22.12.04, 00:03
wenn Du nur die Konsole haben willst warum verwendest Du dann VNC, mit Putty sollte das doch perfekt klappen wie Du auch bereits geschrieben hast

Mysterox
22.12.04, 00:09
Hi,

habe ich mich wohl etwas missverständlich ausgedrückt!

Ich will per VNC ja meinen Desktop sehen und nicht die Konsole, wenn ich die Konsole haben wollte, dann würde ich weiterhin Putty verwenden.
Ich will aber halt die KDE sehen per VNC!

mfg

Mysterox

Mysterox
23.12.04, 12:00
Hat denn niemand ne idee wie ich dieses prob lösen könnte?

mfg

Mysterox

drcux
23.12.04, 12:19
~/.vnc/xstartup

twm & --> startkde &

TRex2003
23.12.04, 16:42
hab grad dasselbe..

xstartup ausgeführt, dann kommt folgendes:

twm: another window manager is already running on screen 0?
twm: unable to find any unmanaged screens

dann geht noch eine shell auf und das wars dann.. nix mit verbindung vom anderen rechner...

drcux
23.12.04, 17:37
nicht die xstartup ausführen sondern editieren!

Danach den vncserver normal starten...

TRex2003
23.12.04, 18:08
danke :D

hat funktioniert, kann mich anmelden :D

Mysterox
24.12.04, 19:10
Hi,

ich wo finde ich diese xstartup datei denn?

Muss ich dann da nur diesesn Eintrag "twm & --> startkde &" hinzufügen oder was muss ich dort genau machen?

mfg & frohes Fest

Mysterox

TRex2003
24.12.04, 20:14
in dem homeverzeichnis des jeweiligen users (zb benutzer myst -> /home/myst/.vnc/)
da ist die datei.

da steht in der datei drin in der letzten zeile

twm &

und das ändern zu startkde &

ed: auch dir ein frohes fest ;)

Mysterox
25.12.04, 00:32
Hi und danke,

hmm....

habe die änderungen in der xstartup vergenommen, jedoch kann ich immer noch nicht meinen KDE Desktop sehen.
WEnn ich mich mit dem VNC Viewer von REAL VNC connecte kommt gar nix, keine Fehlermeldung keine Password abfrage, einfach nix.
Wenn ich den Viewer von Tight VNC nutze kommt ne Passwort abfrage und ich sehe aber wieder nur einen grauen Bildschirm, noch nicht mal mit einer Konsole.

Muss ich vielleicht sonst noch irgendwelche einstellungen vornehmen bzw. ändern?

mfg

Mysterox

TRex2003
25.12.04, 00:56
realvnc gibts in 2 versionen bzw 2 protokolle: 3.3 und 4.xx

bei mir ist vnc 3.3 auf dem linuxrechner, 4 auf xp. bei der 4 muss ich dann in den einstelluneg auf 3.3 only schalten, damits funktioniert.

kanns daran liegen?

Mysterox
25.12.04, 11:07
Hi,

danke jetzt komme ich auch mit dem REAL VNC Viewer drauf, aber ich habe immer noch nur einen Grauen Bildschrim ohne meine KDE?

mfg

Mysterox

TRex2003
25.12.04, 12:22
wenn du auf den desktop (ja eigentlich ist da garnix, aber du weißt was ich mein) klickst, kommt da so ein kurzes menü? sowas in der art twm ?
das ist dann nämlich twm ;)

musst du mal überprüfen, ob die xstartup in ~/.vnc/ wirklich stimmt..

Mysterox
25.12.04, 15:27
Hi,

also in der /home/thomas/.vnc/xstartup datei steht folgendes drin:

#!/bin/sh

xrdb $HOME/.Xresources
xsetroot -solid grey
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
startkde &

Auf dem "Desktop" den ich angezeigt bekomme über VNC kann ich klicken wie ich will, ich bekomme kein Menü, weder rechte noch linke Maustaste bringen etwas zum vorschein!

Hoffe das ihr mir dabei helfen könnt, denn viele sachen kann ich bzw, gehen glaub ich gar nicht über putty!

mfg

Mysterox

TRex2003
25.12.04, 16:49
ich würde behaupten, kde ladet nich vollständig..

evt kannst mal die log posten; ist in ~/.vnc/

ich bezweifle zwar dass ich dir dann weiterhelfen kann (selber noch zu lernen) aber ein anderer wirds sicher können :)

Mysterox
25.12.04, 18:17
Hi,

also ich poste dann hier man die linux:0.log Datei.
Ich hoffe das irgendjemand damit etwas anfangen kann, so das das Problem endlich gelösst wird.

25/12/2004 01:36:04 Xvnc version XF4VNC-4.3.0.104
25/12/2004 01:36:04 Copyright (C) 2001-2003 Alan Hourihane.
25/12/2004 01:36:04 Copyright (C) 2000-2003 Constantin Kaplinsky
25/12/2004 01:36:04 Copyright (C) 1999 AT&T Laboratories Cambridge
25/12/2004 01:36:04 All Rights Reserved.
25/12/2004 01:36:04 See http://www.tightvnc.com/ for information on TightVNC
25/12/2004 01:36:04 See http://xf4vnc.sf.net for xf4vnc-specific information
25/12/2004 01:36:04 Desktop name 'X' (linux:0)
25/12/2004 01:36:04 Protocol versions supported: 3.130, 3.3
25/12/2004 01:36:04 RGB format 8 8 8
25/12/2004 01:36:04 Listening for VNC connections on TCP port 5900
25/12/2004 01:36:04 Listening for HTTP connections on TCP port 5800
25/12/2004 01:36:04 URL http://linux:5800
Could not init font path element /usr/X11R6/lib/X11/fonts/local, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi:unscaled, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/CID, removing from list!
AUDIT: Sat Dec 25 01:36:05 2004: 14795 Xvnc: client 1 rejected from local host
Auth name: XDM-AUTHORIZATION-1 ID: -1
Xlib: connection to ":0.0" refused by server
Xlib: Protocol not supported by server

xrdb: Can't open display ':0'
Xlib: connection to ":0.0" refused by server
Xlib: Protocol not supported by server

xsetroot: unable to open display ':0'
Xlib: connection to ":0.0" refused by server
Xlib: Protocol not supported by server

xterm Xt error: Can't open display: :0
ERROR: KDE seems already running on this display.
Xlib: connection to ":0.0" refused by server
Xlib: Protocol not supported by server

Error: Can't open display: :0
25/12/2004 01:36:17
25/12/2004 01:36:17 Got connection from client 217.80.14.176
25/12/2004 01:36:17 Protocol version 3.8
25/12/2004 01:36:17 Ignoring minor version mismatch
25/12/2004 01:36:24
25/12/2004 01:36:24 Got connection from client 217.80.14.176
25/12/2004 01:36:24 (other clients25/12/2004 01:36:24 217.80.14.17625/12/2004 01:36:24 )
25/12/2004 01:36:24 Protocol version 3.5
25/12/2004 01:36:24 Ignoring minor version mismatch
25/12/2004 01:36:27 Full-control authentication passed by 217.80.14.176
25/12/2004 01:36:27 Pixel format for client 217.80.14.176:
25/12/2004 01:36:27 32 bpp, depth 24, little endian
25/12/2004 01:36:27 true colour: max r 255 g 255 b 255, shift r 16 g 8 b 0
25/12/2004 01:36:27 no translation needed
25/12/2004 01:36:27 Using tight encoding for client 217.80.14.176
25/12/2004 01:36:27 rfbProcessClientNormalMessage: ignoring unknown encoding 8
25/12/2004 01:36:27 Using copyrect encoding for client 217.80.14.176
25/12/2004 01:36:27 Enabling X-style cursor updates for client 217.80.14.176
25/12/2004 01:36:27 Enabling cursor position updates for client 217.80.14.176
25/12/2004 01:36:27 Using image quality level 6 for client 217.80.14.176
25/12/2004 01:36:27 Enabling LastRect protocol extension for client 217.80.14.176
25/12/2004 01:36:27 rfbProcessClientNormalMessage: ignoring unknown encoding -223
25/12/2004 01:36:39 Client 217.80.14.176 gone
25/12/2004 01:36:39 Statistics:
25/12/2004 01:36:39 key events received 0, pointer events 937
25/12/2004 01:36:39 framebuffer updates 1, rectangles 15, bytes 1068
25/12/2004 01:36:39 LastRect markers 1, bytes 12
25/12/2004 01:36:39 cursor shape updates 1, bytes 82
25/12/2004 01:36:39 cursor position updates 1, bytes 12
25/12/2004 01:36:39 tight rectangles 12, bytes 962
25/12/2004 01:36:39 raw bytes equivalent 3145740, compression ratio 3270.000000
AUDIT: Sat Dec 25 01:38:05 2004: 14795 Xvnc: last message repeated 3 times
25/12/2004 12:13:53
25/12/2004 12:13:53 Got connection from client 217.80.1.79
25/12/2004 12:13:53 (other clients25/12/2004 12:13:53 217.80.14.17625/12/2004 12:13:53 )
25/12/2004 12:13:54 Protocol version 3.3
25/12/2004 12:13:57 Full-control authentication passed by 217.80.1.79
25/12/2004 12:13:57 Pixel format for client 217.80.1.79:
25/12/2004 12:13:57 8 bpp, depth 8
25/12/2004 12:13:57 true colour: max r 3 g 3 b 3, shift r 4 g 2 b 0
25/12/2004 12:13:57 Enabling full-color cursor updates for client 217.80.1.79
25/12/2004 12:13:57 rfbProcessClientNormalMessage: ignoring unknown encoding -223
25/12/2004 12:13:57 rfbProcessClientNormalMessage: ignoring unknown encoding 16
25/12/2004 12:13:57 Using copyrect encoding for client 217.80.1.79
25/12/2004 12:13:57 Using hextile encoding for client 217.80.1.79
25/12/2004 12:15:19 Client 217.80.1.79 gone
25/12/2004 12:15:19 Statistics:
25/12/2004 12:15:19 key events received 0, pointer events 1371
25/12/2004 12:15:19 framebuffer updates 1, rectangles 2, bytes 399674
25/12/2004 12:15:19 cursor shape updates 1, bytes 300
25/12/2004 12:15:19 hextile rectangles 1, bytes 399374
25/12/2004 12:15:19 raw bytes equivalent 786444, compression ratio 1.969192
25/12/2004 16:28:30
25/12/2004 16:28:30 Got connection from client 217.80.1.79
25/12/2004 16:28:30 (other clients25/12/2004 16:28:30 217.80.14.17625/12/2004 16:28:30 )
25/12/2004 16:28:31 Protocol version 3.8
25/12/2004 16:28:31 Ignoring minor version mismatch
25/12/2004 16:28:43
25/12/2004 16:28:43 Got connection from client 217.80.1.79
25/12/2004 16:28:43 (other clients25/12/2004 16:28:43 217.80.1.7925/12/2004 16:28:43 217.80.14.17625/12/2004 16:28:43 )
25/12/2004 16:28:43 Protocol version 3.3
25/12/2004 16:28:46 Full-control authentication passed by 217.80.1.79
25/12/2004 16:28:47 Pixel format for client 217.80.1.79:
25/12/2004 16:28:47 8 bpp, depth 8
25/12/2004 16:28:47 true colour: max r 3 g 3 b 3, shift r 4 g 2 b 0
25/12/2004 16:28:47 Enabling full-color cursor updates for client 217.80.1.79
25/12/2004 16:28:47 rfbProcessClientNormalMessage: ignoring unknown encoding -223
25/12/2004 16:28:47 rfbProcessClientNormalMessage: ignoring unknown encoding 16
25/12/2004 16:28:47 Using copyrect encoding for client 217.80.1.79
25/12/2004 16:28:47 Using hextile encoding for client 217.80.1.79
25/12/2004 16:33:39 Client 217.80.1.79 gone
25/12/2004 16:33:39 Statistics:
25/12/2004 16:33:39 key events received 30, pointer events 701
25/12/2004 16:33:39 framebuffer updates 1, rectangles 2, bytes 399674
25/12/2004 16:33:39 cursor shape updates 1, bytes 300
25/12/2004 16:33:39 hextile rectangles 1, bytes 399374
25/12/2004 16:33:39 raw bytes equivalent 786444, compression ratio 1.969192
25/12/2004 16:33:44
25/12/2004 16:33:44 Got connection from client 217.80.1.79
25/12/2004 16:33:44 (other clients25/12/2004 16:33:44 217.80.1.7925/12/2004 16:33:44 217.80.14.17625/12/2004 16:33:44 )
25/12/2004 16:33:45 Protocol version 3.5
25/12/2004 16:33:45 Ignoring minor version mismatch
25/12/2004 16:33:48 Full-control authentication passed by 217.80.1.79
25/12/2004 16:33:48 Pixel format for client 217.80.1.79:
25/12/2004 16:33:48 32 bpp, depth 24, little endian
25/12/2004 16:33:48 true colour: max r 255 g 255 b 255, shift r 16 g 8 b 0
25/12/2004 16:33:48 no translation needed
25/12/2004 16:33:48 Using tight encoding for client 217.80.1.79
25/12/2004 16:33:48 rfbProcessClientNormalMessage: ignoring unknown encoding 8
25/12/2004 16:33:48 Using copyrect encoding for client 217.80.1.79
25/12/2004 16:33:48 Enabling X-style cursor updates for client 217.80.1.79
25/12/2004 16:33:48 Enabling cursor position updates for client 217.80.1.79
25/12/2004 16:33:48 Using image quality level 6 for client 217.80.1.79
25/12/2004 16:33:48 Enabling LastRect protocol extension for client 217.80.1.79
25/12/2004 16:33:48 rfbProcessClientNormalMessage: ignoring unknown encoding -223
25/12/2004 16:33:55 Client 217.80.1.79 gone
25/12/2004 16:33:55 Statistics:
25/12/2004 16:33:55 key events received 0, pointer events 282
25/12/2004 16:33:55 framebuffer updates 1, rectangles 15, bytes 1068
25/12/2004 16:33:55 LastRect markers 1, bytes 12
25/12/2004 16:33:55 cursor shape updates 1, bytes 82
25/12/2004 16:33:55 cursor position updates 1, bytes 12
25/12/2004 16:33:55 tight rectangles 12, bytes 962
25/12/2004 16:33:55 raw bytes equivalent 3145740, compression ratio 3270.000000


mfg

Mysterox

PS: Ich hoffe die ist nicht zu gross

TRex2003
25.12.04, 18:39
ansatzpunkt ist das hier:


Could not init font path element /usr/X11R6/lib/X11/fonts/local, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi:unscaled, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/CID, removing from list!
AUDIT: Sat Dec 25 01:36:05 2004: 14795 Xvnc: client 1 rejected from local host
Auth name: XDM-AUTHORIZATION-1 ID: -1
Xlib: connection to ":0.0" refused by server
Xlib: Protocol not supported by server

xrdb: Can't open display ':0'
Xlib: connection to ":0.0" refused by server
Xlib: Protocol not supported by server

xsetroot: unable to open display ':0'
Xlib: connection to ":0.0" refused by server
Xlib: Protocol not supported by server

xterm Xt error: Can't open display: :0
ERROR: KDE seems already running on this display.
Xlib: connection to ":0.0" refused by server
Xlib: Protocol not supported by server

alles schön brav hintereinander :)

was ich besonders interessant finde ist das in den letzten paar zeilen:
ERROR: KDE seems already running [....]

ich hab einmal bei mir probiert, bei laufender vnc-sitzung (wo kde 1x gestartet ist) nochmal am pc selber mich anzumelden und damit kde zu starten..ich kann nun leider nicht sagen, ob es ein ressourcenrpoblem ist bei mir (450mhz amd, 196mb sd-ram) oder ob es einfach unmöglich ist, kde 2x oder mehr zu starten

wenn du bereits angemeldet bist -> abmelden, neuer verbindungsversuch :)

Mysterox
25.12.04, 19:03
Hi,

das Prob ist, das ich ungefähr 170 KM von dem rechner entfernt bin :D

Wenn du mir jetzt sagen kannst, wie ich mich per Konsole abmelden kann, dann werde ich das mal versuchen.

PS: Also ich denke es sollte nicht an meinem Rechner liegen auch wenn der nicht als 2000+ läuft sondern nur mit 1 GHz

mfg

MYsterox

TRex2003
25.12.04, 20:16
ähm...*hust* hast du programme offen in der kde?
*hust hust* mit befehl "init 6" startest du den pc neu, dabei ginge alles ungespeicherte in der kde sicherlich verloren und der feine weg ists auch nich grade ;)

wie man kde von der konsole beenden könnte, hab ich leider nix gefunden..
bleibt nur zu hoffen, dass es hier ein anderer weiß :(

- oder -
du beendest kde mit "killall kdeinit" was halt wieder zu datenverlust fürhen könnte.