Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I am having linux server (installed with vnc-server) and window client (installed with vnc-client). I can manage to establish the cross platform connection successfully.
I had added the following in ~/.vnc/xstartup
exec startkde
in order to startup kde from vnc-viewer, to simulate the realtime linux interface.In the kde env,if i try to logout this linux server thru vnc-viewer, it will actually become a black screen on vncviewer instead of logout the actuall server.
And on the next time when i trying to connect to this session, it will not startup the kde, but showing a black screen instead.
Anyone knows how can i logout or shutdown the server remotely using vnc-viewer?
And eachtime when i typing this command "vncserver" in command prompt, it will create another session (e.g. ServerIP:5). Can i remove provious uuseless session (e.g. ServerIP:1,2,3,4) and how to do it?

You can use the vncserver command to kill off sessions (either remotely or locally), eg:
$ vncserver -kill :1

This command "$ vncserver -kill :1" works. TQ.
And, i am interested to know ab thte following(vnc usage):
1)can i click the logoff function from vncviewer? By doing so, the nxt time i connecting to same "server:2" will not showing KDE desktop when connected, but showing black screen instead. Why and how can i re-active it back?
2)if i issued "$ vncserver -kill :1" to kill the session, how can i re-active it back?Thanks

When using the log out button, you are just closing down KDE and not the VNC session...hence the black screen. Instead you should just close the VNC client window. This will allow you to reconnect to the same session where you left it off at a later date. To close the VNC session use the "vncserver -kill :1" command which will kill KDE and VNC.
I personnaly use both SSH and VNC. I first connect with SSH (use putty from a windoze client) and start/close the VNC session from that.

![]() |
using vnc-viewer
|
IP problems, setting up a...
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |