vnc gray screen problem
Jonathan Morton
chromi "at" cyberspace.org
Mon, 10 Apr 2000 07:31:43 +0000
>On Thu, 6 Apr 2000, Jonathan Morton wrote:
>
>> >I have a following problem:
>> >i have installed vnc-server on solaris (2.7) machine
>> >and i use vncviewer on linux machine
>> >first i loggin to solaris machine and run vncserver
>> >then i run vncviewer on my computer and all works correctly
>> >(by web-browser its wark ok too)
>> >but when i loggout from solaris and try run vncviewer (or by web-browser)
>> >i see only gray screen
>> >i dont understand why ?
>> >if i loggin to solaris again and use 'ps -ef' then Xvn still exist on
>> >proces list, but i can't connect with vncviewer (again gray screen with
>> >x-cursor)
>> >when i kill vncserver and after run it again then all works ok
>> >is it normal for vnc that i can connect only when i logged on server
>> >machine ?
>>
>> It sounds like the window manager process is being killed when you log out.
>> Do you use the window-manager's "logout" before you close the VNC viewer
>> window? If so, that would cause it. When finished with a VNC session,
>> just close the viewer window, don't log out of the window manager unless
>> you want to free up the memory.
>>
>> --------------------------------------------------------------
>
>Its me again
>I dont use window-manager's 'logout', i simply close vnc-viewer window.
>When i connect again it still works ok, unless user who run vncsrever
>logout from solaris machine. I try run vncserver on solaris from my
>computer (via telnet) and simply on solaris, by typing 'vncserver' in
>terminal window. Its works good unless i close telnet session (or logout
>from solaris in second ..)
>If i then connect with vncviewer i only see gray screen.
>When i login again on solaris, 'Xvnc' still exist on process list.
>I must kill it (vncserver -kill :1) and restart.
>
>This is my problem ( i write more precisionely (?), i hope so)
>I will very happy, if you try help me again
>
Ahhh, i think i see your problem. When you log out, all processes attached
to your terminal (including the window manager and all your applications)
are killed. However, Xvnc detaches itself from the terminal and is not
affected.
Workaround: run the vncserver script inside a "screen" session, then type
Ctrl-A followed by D (this will detach 'screen' along with all it's
applications from the terminal). If you need to kill the session in the
future, you can use screen -R to reconnect to the session, or just use
vncserver -kill.
--------------------------------------------------------------
from: Jonathan "Chromatix" Morton
mail: chromi "at" cyberspace.org (not for attachments)
uni-mail: j.d.morton "at" lancaster.ac.uk
The key to knowledge is not to rely on people to teach you it.
--------------------------------------------------------------
Contributing to the VNC Project - http://www.uk.research.att.com/vnc/
Macintosh VNCserver v3.3.2 beta2.3 now posted at:
http://chromatix.autistics.org/vnc/
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to majordomo "at" uk.research.att.com
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------