Computing.Net > Forums > Linux > vnc-logout RedHat

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

vnc-logout RedHat

Reply to Message Icon

Name: cekcool
Date: November 17, 2003 at 22:59:32 Pacific
OS: RedHat Adv Server 2.1
CPU/Ram: 2.0G/512M
Comment:

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?



Sponsored Link
Ads by Google

Response Number 1
Name: 3Dave
Date: November 18, 2003 at 07:28:18 Pacific
Reply:

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


0

Response Number 2
Name: cekcool
Date: November 19, 2003 at 17:40:58 Pacific
Reply:

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


0

Response Number 3
Name: 3Dave
Date: November 20, 2003 at 05:13:29 Pacific
Reply:

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.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


using vnc-viewer IP problems, setting up a...



Post Locked

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


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: vnc-logout RedHat

VNC in RedHat 9 www.computing.net/answers/linux/vnc-in-redhat-9/22005.html

VNC in Redhat and Windows www.computing.net/answers/linux/vnc-in-redhat-and-windows/22239.html

Need help w/ VNC (xstartup) www.computing.net/answers/linux/need-help-w-vnc-xstartup/6193.html