Remote Desktop Vncviewer Enable Disable command Line

IT IS ONLY FOR ENABLE THE CLIENT DESKTOP NOT FOR CONTROL

Remote Desktop Enable Disable through Command Line To ACCESS
ENABLE / DISABLE Remote Desktop
1)Enable the remote Desktop through command line Interface To access from other system
gconftool-2 -s -t bool /desktop/gnome/remote_access/enabled true
a)true -enable b)false -disable

Enable / Disable For CONFIRMATION
2)gconftool-2 -s -t bool /desktop/gnome/remote_access/prompt_enabled true -> enable the confirmation
if it is false mean - without confirmation you can access the system.
a)true - enable b)false - disable
To confirm
System -> Preferences -> Remote Desktop

3)Allow the User To control Desktop- "Allow other user to control your desktop"
gconftool-2 -s -t bool /desktop/gnome/remote_access/view_only false

false - control Desktop
true - view Desktop
Depends on their Boolean True or False value it will reflect on the following XML File.$HOME/.gconf/desktop/gnome/remote_access/%gconf.xml: XML 1.0 document text

To Enable the Exact Graphical Remote Virtual Desktop
1) Enable the Session Manager.
#file $HOME/.vnc/xstartup
un comment Following Two parameter.
unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc
2) Create Virtual Desktop 1
#file /etc/sysconfig/vncservers
VNCSERVERS =”1:USERNAME”
3)Confirm whether vncserver is running or not
4)create the vncpasswd.
NOTE: In these scenario even though if
Allow other users to view your desktop is Disable
Allow other users to control your desktop is Disable
we can access the virtual desktop.

Post a Comment

0 Comments