# Programmatically enable Remote Administration (VNC)

**URL:** <https://forums.suse.com/t/programmatically-enable-remote-administration-vnc/25931>\
**Category:** SLED Configure-Administer\
**Created:** [August 3, 2014, 1:41pm UTC](https://forums.suse.com/t/programmatically-enable-remote-administration-vnc/25931 "2014-08-03T13:41:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![DeWaRs](https://avatars.discourse-cdn.com/v4/letter/d/7cd45c/32.png) [@DeWaRs](https://forums.suse.com/u/DeWaRs)\
**Post date:** [August 3, 2014, 1:41pm UTC](https://forums.suse.com/t/programmatically-enable-remote-administration-vnc/25931/1 "2014-08-03T13:41:39Z")

</div>

Hello,  
Did any one know how to enable remote adminstration (VNC) without using Yast (Yast / Network Services / Remote Administration / Allow Remote Administration)? I’m looking for the same thing, but in command line ?  
Thanks to anyone which could help me on this.  
BR  
DeWaRs

---

<div class="post-metadata">

**Author:** ![smflood](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/smflood/32/10576_2.png) [@smflood](https://forums.suse.com/u/smflood)\
**Post date:** [August 6, 2014, 1:59pm UTC](https://forums.suse.com/t/programmatically-enable-remote-administration-vnc/25931/2 "2014-08-06T13:59:10Z")

</div>

On 03/08/2014 11:44, DeWaRs wrote:  
[color=blue]

> Did any one know how to enable remote adminstration (VNC) without using  
> Yast (Yast / Network Services / Remote Administration / Allow Remote  
> Administration)? I’m looking for the same thing, but in command line ?  
> Thanks to anyone which could help me on this.[/color]

You might want to take a look at /usr/share/YaST2/modules/Remote.ycp  
which is the script used by the YaST2 Remote module. It looks like it’s  
not just one thing that needs doing but several steps including setting  
variables in /etc/sysconfig/displaymanager file, installing packages,  
and enabling services.

## HTH.

Simon  
SUSE Knowledge Partner

* * *

## If you find this post helpful and are logged into the web interface, please show your appreciation and click on the star below. Thanks.
