VNC Settings, Start, Kill, and close all windows.
VNC settings
Display Port User ID
3 5903 user3
4 5904 user4
5 5905 user5
If user finds her/his vncserver is not running right, she/he can stop and restart the vncserver from PUTTY or SSH session as:
However, the user is NOT allowed to restart other vncservers meant for other users.
Putty host-dev –l user5 <== login with putty as user ‘lumichal'
[user5@host-dev ~]$ vncserver -kill :5 <== Kill vncserver for display 5 assigned to user5
3. Restart vncserver for your display (for example 5, for user user5 )
[user5@host-dev ~]$ vncserver :5
Log out CLOSING ALL windows: ( See the link here )
If you alter the "xstartup" script to run everything except the
window-manager in the background (i.e. with the "&" suffix), then run
the window-manager (in the foreground), and finally add:
vncserver -kill $DISPLAY
Then the desktop will be shutdown when the window-manager exits, which
is usually what happens when the user selects "Log out".
window-manager in the background (i.e. with the "&" suffix), then run
the window-manager (in the foreground), and finally add:
vncserver -kill $DISPLAY
Then the desktop will be shutdown when the window-manager exits, which
is usually what happens when the user selects "Log out".