Command line enable of VNC/Remote Management?

I have a situation where I need to enable remove mgmt (VNC) on my Mac at work, so I can get to it over VPN at home, to access my Parallels, etc. I can ssh to the system, but can't figure out how to enable the Remote Desktop (and it's specific parameters) via the command line. I believe it would be a defaults write.
Can someone point me in the right direction? I just want to restrict VNC with a Password, then disable it when I'm done.
Thanks.

Hi
Difficult to see why you're hesitating to use the kickstart utility as that will do what you originally asked. Just because it does not specifically mention VNC does not mean VNC is not running or working.
VNC Server and Client is built into OSX since 10.5. If you enable Remote Management it will open ports 5900 and 3283 on that workstation. Port 5900 is the VNC Port and port 3283 is the special control port Apple add to the built in VNC/ARD Agent to allow their dedicated management VNC Server application - Apple Remote Desktop - to offer a lot more than simple control for remote clients. You don't have to buy ARD to do what you want.
Enabling Screen Sharing only opens port 5900. On a Mac all you need is the local admin's name and password of the client workstation you're trying to control. If you're trying to control a mac from a PC then you'd need a dedicated VNC Viewer installing on the PC. Something like RealVNC Viewer. To allow the PC to control the mac you would have to add a VNC password option which should not be the same as the local admin's password.
Tony

Similar Messages

  • Is there a command line option for VNC to automatically launch in fullscreen mode?

    I can launch a VNC window from the command line, as such:
    open vnc://username:password@hostname
    ... but I'd like it to automatically start in full screen mode. Is there a command line option for this?
    I'm using an old MacMini purely to connect to another Mac over screen sharing, but when the MacMini boots I'd like it to go straight into the fullscreen of the other desktop.
    Many thanks!

    Set the Integer pref browser.sessionstore.max_resumed_crashes to 0 on the about:config page to get the about:sessionrestore page immediately with the first restart after a crash has occurred or the Task Manager was used to close Firefox.
    * http://kb.mozillazine.org/browser.sessionstore.max_resumed_crashes
    That will allow you to deselect the tab(s) that you do not want to reopen, but will allow to reopen other tabs.
    See:
    * http://kb.mozillazine.org/Session_Restore#Restoring_a_session_after_a_crash
    * http://kb.mozillazine.org/Browser.sessionstore.max_resumed_crashes

  • Command line equivalent of Work Group Manager's export feature

    Hello everyone,
    I am have a hard time upgrading from Lion Server to Mountain Lion Server, especially with Open Directory. What I wish to do, is to import the existing users and groups of an existing server running Lion Server into a new (fresh) Open Directory master created on another server that is running Mountain Lion Server.
    I have tried several options. Those that did *not* work for me include:
    Trying to make create a replica of the Lion Open Directory on the Mountain Lion Server
    Trying to backup the OD of the Lion Server using slapconfig
    What seems to work (for the moment), is to use the export feature of Work Group manager on Lion and to import the users/groups using the import feature of Mountain Lion Server app.
    My question is: is there a command line way to do the export ? Since Work Group manager seems to be kind of deprecated in ML, I assume there must be some other way (i.e., from the command line) to do the user/group import and export.
    Thanks for your help !

    Notice that the old Archive and Restore options are gone. To run a backup, run the slapconfig command along with the -backupdb option followed by a path to a folder to back the data up to: 
    sudo slapconfig -backupdb /odbackups
    To restore a database (such as from a previous version of the operating system where such an important option was actually present) use the following command (which just swaps backupdb with -restoredb) 
    sudo slapconfig -restoredb /odbackups
    /usr/sbin/ServerBackup -cmd backup -source /

  • Getting gnome to run from command line and over VNC

    Hi, I just got to the part of the Beginners guide, dealing with gnome and for some reason
    $ startx
    didn't give me a gnome desktop, X same with
    $ xinit
    but
    $ xinit /usr/bin/gnome-session
    worked and gave me a desktop.  From the gnome guide
    $ gnome-session
    generated the following error
    ** (gnome-session:4591): WARNING **: Cannot open display:
    Anyone know why I am getting these errors?
    VNC
    my xstartup used to look like
    #!/bin/sh
    vncconfig -iconic &
    unset SESSION_MANAGER
    unset DBUS_SESSION_BUS_ADDRESS
    OS=`uname -s`
    if [ $OS = 'Linux' ]; then
    case "$WINDOWMANAGER" in
    *gnome*)
    if [ -e /etc/SuSE-release ]; then
    PATH=$PATH:/opt/gnome/bin
    export PATH
    fi
    esac
    fi
    if [ -x /etc/X11/xinit/xinitrc ]; then
    exec /etc/X11/xinit/xinitrc
    fi
    if [ -f /etc/X11/xinit/xinitrc ]; then
    exec sh /etc/X11/xinit/xinitrc
    fi
    [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
    xsetroot -solid grey
    xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
    twm &
    with exec gnome-session added in, it still gave me a x desktop. Now it looks like
    #!/bin/sh
    autocutsel -fork
    export XKL_XMODMAP_DISABLE=1
    exec gnome-session
      and works. Am I missing out on anything by omitting the old stuff? Any suggestions? Also if my inittab looks like this
    # /etc/inittab
    # Runlevels:
    # 0 Halt
    # 1(S) Single-user
    # 2 Not used
    # 3 Multi-user
    # 4 Not used
    # 5 X11
    # 6 Reboot
    ## Only one of the following two lines can be uncommented!
    # Boot to console
    id:3:initdefault:
    # Boot to X11
    #id:5:initdefault:
    rc::sysinit:/etc/rc.sysinit
    rs:S1:wait:/etc/rc.single
    rm:2345:wait:/etc/rc.multi
    rh:06:wait:/etc/rc.shutdown
    su:S:wait:/sbin/sulogin -p
    # -8 options fixes umlauts problem on login
    c1:2345:respawn:/sbin/agetty -8 38400 tty1 linux
    c2:2345:respawn:/sbin/agetty -8 38400 tty2 linux
    c3:2345:respawn:/sbin/agetty -8 38400 tty3 linux
    c4:2345:respawn:/sbin/agetty -8 38400 tty4 linux
    c5:2345:respawn:/sbin/agetty -8 38400 tty5 linux
    c6:2345:respawn:/sbin/agetty -8 38400 tty6 linux
    # Hypervisor Virtual Console for Xen and KVM
    #h0:2345:respawn:/sbin/agetty -8 38400 hvc0 linux
    ca::ctrlaltdel:/sbin/shutdown -t3 -r now
    # Example lines for starting a login manager
    x:5:respawn:/usr/bin/xdm -nodaemon
    #x:5:respawn:/usr/sbin/gdm -nodaemon
    #x:5:respawn:/usr/bin/kdm -nodaemon
    #x:5:respawn:/usr/bin/slim >/dev/null 2>&1
    # End of file
    Do I need to worry about the login security hole?

    karol wrote:If you don't use a display manager, create one.
    Ok, but if I make any display manager do I become susceptible to this attack? Further, am I ok with my current xstartup?

  • How to setup my c# command line application to a remote oracle database?

    Hi all,
    I will like to ask, how do I setup my C# program to be able to connect to a remote oracle database?
    More information:
    - I have an oracle database express version running on my PC.
    - I am able to run and get data from the database on the same PC.
    - But when I bring my application over to another PC within the same LAN. It does not run and given me an error stating "The provider is not compatible with the version of Oracle client".
    What do I need to do on the Client PC so that I am able to communicate back to the server database?
    Many thanks!

    This is the XE forum, not the .NET programming forum, but this might be helpful:
    http://www.codeproject.com/Articles/18692/Instant-Oracle-Using-C

  • VNC/Remote Management display size setting?

    I'm not sure the best place to ask this question, it has several different components involved in it. I've looked all over but can't seem to find any info on this.
    I've got a headless Mini running 10.5.1. When I use a VNC client or now "Share Screen" to it, it comes up with a screen size of 1680 x 1050. Back when it was running Tiger it was something smaller (but can't remember what it was right now).
    Question is... how is this size set and is it changeable?
    Thanks,
    Rich

    Sorry, I guess I should have been more specific, how do you set it to other display sizes besides the ones that are listed in Sys Prefs? What if I want to make it bigger than 1860 x1050 (which is the biggest listed)? I'm connecting from a Mac that has a 30" display, so what if I want to make it closer to that display's size, which is 2560 x 1600? How was 1680 x 1050 even picked in the first place? I do not have a monitor attached at all, let alone that size.

  • Command line control Profile Manager 2

    Greeting All,
    Any guide that introduce command line that can control Profile Manager 2 to make device camera on/off? Do know is this possible via command line?
    Here is the sernario.
    1. User scan a QR code that trigger App to commnuicate Profile Manager turn off camera.
    2. App to login Profile Manager in background and turn off camera in profile.
    3. Profile Manager push profile to trun off device camera.
    4. App logout Profile Manager in background.
    Any advise is welcome.
    Thanks,
    Spin

    The CommandLine tool is also shipped with JCAPS and which is very useful to tool.
    We can do deploy, redeploy and undeploy with this tool. and the respective docs are available as said in the above location.

  • I need help in creating Firefox profiles directly from command line (script like) without having to use the profile manager step-by-step window

    is there a way to provide command line arguments when invoking profile manager so that I can seamlessly create a profile from one invocation? Passing profile name and profile location. I have to bypass user interaction with profile manager window. Thanks.

    http://developer.mozilla.org/en/docs/Command_Line_Options#User_Profile

  • Errors when packaging extension via Extension Manager Command Line

    Hi all,
    I am attempting to package an Adobe Fireworks extension via the CS6 Extension Manager command line tool:
    /Applications/Adobe\ Extension\ Manager\ CS6/Adobe\ Extension\ Manager\ CS6.app/Contents/MacOS/Adobe\ Extension\ Manager\ CS6 -suppress -package product="Fireworks CS6" mxi="name.mxi" mxp="name.mxp"
    I get the following error:
    error: +++ Assert in file /export/home/coretech/source/daily/extendscript/scriptobjects/build/xcode24/../../source/ bridgetalk/source/SoBridgeTalk.cpp, line 117
    +++ BridgeTalk::InitTerm::exit() has already been called.
    Debugger() was called!
    Does anyone have any suggestions on how to proceed?
    Best,
    Dmitriy

    1. There is no "product" attribute in package command. Please remove it.
    2. Why do you still package mxp? MXP has some limitations and is no longer supported in Extension Manager CC. You should package ZXP instead.
    3. Extension Manager CS6 can't sign extension during package. We have a new free product called Adobe Exchange Packager which can package and sign extensions. You can sign in http://www.adobeexchange.com/ and go to Resources page to download it. The current version in this page can't package extension based on existing mxi file. The latest version meets your requirement and will be available in a couple of days.

  • Managing MBeans w/Command Line throws Exception

    When I try to get the attributes of MBeans using the
    GET command I get the following exception:
    Note: non-MBean commands like PING execute fine
    ++++++++++++++++++++++++++++++++++++++++++++
    java weblogic.Admin -url localhost:7001 GET -type ServerConfigweblogic.rmi.extensions.RemoteRuntimeException: Undeclared checked exception
    java.rmi.UnmarshalException: Unmarshalling return; nested exception is:
    java.io.StreamCorruptedException: Type code out of range, is 125
    java.io.StreamCorruptedException: Type code out of range, is 125
    at java.io.ObjectInputStream.peekCode(ObjectInputStream.java,
    Compiled C
    ode)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:282)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:232)
    at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:978)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:369)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:232)
    at java.util.HashSet.readObject(HashSet.java:246)
    at java.lang.reflect.Method.invoke(Native Method)
    at
    java.io.ObjectInputStream.invokeObjectReader(ObjectInputStream.java:1
    685)
    at
    java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1165)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:369)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:232)
    at
    weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedO
    bjectInputStream.java:106)
    at
    weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedO
    bjectInputStream.java:114)
    at
    weblogic.management.internal.AdminMBeanHomeImpl_WLStub.getMBeansByTyp
    e(AdminMBeanHomeImpl_WLStub.java:552)
    at
    weblogic.management.commandline.CommandLine.listMatchedMBeans(Command
    Line.java:515)
    at
    weblogic.management.commandline.CommandLine.doCommandline(CommandLine
    .java:89)
    at weblogic.Admin.main(Admin.java, Compiled Code)
    --------------- nested within: ------------------
    weblogic.rmi.extensions.RemoteRuntimeException: Undeclared checked
    exception - w
    ith nested exception:
    [java.rmi.UnmarshalException: Unmarshalling return; nested exception is:
            java.io.StreamCorruptedException: Type code out of range, is 125]
    at
    weblogic.management.internal.AdminMBeanHomeImpl_WLStub.getMBeansByTyp
    e(AdminMBeanHomeImpl_WLStub.java:572)
    at
    weblogic.management.commandline.CommandLine.listMatchedMBeans(Command
    Line.java:515)
    at
    weblogic.management.commandline.CommandLine.doCommandline(CommandLine
    .java:89)
    at weblogic.Admin.main(Admin.java, Compiled Code)

    Thanks; you were right.
    "Dimitri Rakitine" <[email protected]> wrote in message
    news:[email protected]...
    That sounds like you use 1.2 to run weblogic.Admin - try it
    with 1.3.
    syrinx <[email protected]> wrote:
    When I try to get the attributes of MBeans using the
    GET command I get the following exception:
    Note: non-MBean commands like PING execute fine
    ++++++++++++++++++++++++++++++++++++++++++++
    java weblogic.Admin -url localhost:7001 GET -type ServerConfig
    weblogic.rmi.extensions.RemoteRuntimeException: Undeclared checked
    exception
    java.rmi.UnmarshalException: Unmarshalling return; nested exception is:
    java.io.StreamCorruptedException: Type code out of range, is 125
    java.io.StreamCorruptedException: Type code out of range, is 125
    at java.io.ObjectInputStream.peekCode(ObjectInputStream.java,
    Compiled C
    ode)
    atjava.io.ObjectInputStream.readObject(ObjectInputStream.java:282)
    atjava.io.ObjectInputStream.readObject(ObjectInputStream.java:232)
    atjava.io.ObjectInputStream.inputObject(ObjectInputStream.java:978)
    atjava.io.ObjectInputStream.readObject(ObjectInputStream.java:369)
    atjava.io.ObjectInputStream.readObject(ObjectInputStream.java:232)
    at java.util.HashSet.readObject(HashSet.java:246)
    at java.lang.reflect.Method.invoke(Native Method)
    at
    java.io.ObjectInputStream.invokeObjectReader(ObjectInputStream.java:1
    685)
    at
    java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1165)
    atjava.io.ObjectInputStream.readObject(ObjectInputStream.java:369)
    atjava.io.ObjectInputStream.readObject(ObjectInputStream.java:232)
    at
    weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedO
    bjectInputStream.java:106)
    at
    weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedO
    bjectInputStream.java:114)
    at
    weblogic.management.internal.AdminMBeanHomeImpl_WLStub.getMBeansByTyp
    e(AdminMBeanHomeImpl_WLStub.java:552)
    at
    weblogic.management.commandline.CommandLine.listMatchedMBeans(Command
    Line.java:515)
    at
    weblogic.management.commandline.CommandLine.doCommandline(CommandLine
    .java:89)
    at weblogic.Admin.main(Admin.java, Compiled Code)
    --------------- nested within: ------------------
    weblogic.rmi.extensions.RemoteRuntimeException: Undeclared checked
    exception - w
    ith nested exception:
    [java.rmi.UnmarshalException: Unmarshalling return; nested exception is:
    java.io.StreamCorruptedException: Type code out of range, is125
    at
    weblogic.management.internal.AdminMBeanHomeImpl_WLStub.getMBeansByTyp
    e(AdminMBeanHomeImpl_WLStub.java:572)
    at
    weblogic.management.commandline.CommandLine.listMatchedMBeans(Command
    Line.java:515)
    at
    weblogic.management.commandline.CommandLine.doCommandline(CommandLine
    .java:89)
    at weblogic.Admin.main(Admin.java, Compiled Code)--
    Dimitri

  • Guide to remote manage Hyper-V servers and VM's in workgroups or standalone

    This guide is based on the following 3 products:
    Windows server 2012 (core)
    Windows 8
    Hyper-V server v3 / Hyper-V server 2012
    The following guide will enable you to:
    1: remotely manage your Hyper-V Virtual Machines with Hyper-V manager
    2: remotely manage your Hyper-V servers' firewall with a MMC snap-in.
    3: remotely manage your Hyper-V server (2012) with server manager
    ! This should also work for Core installations of server 2012, but I haven't tried.
    This guide is purely focussed on servers in a WORKGROUP, or as a stand alone.
    I CAN NOT tell you what you need to do to get it working in a domain.
    * You can run these commands straight from the console (Physically at the machine) or through RDP.
    * You will need to be logged on as an administrator.
    * Commands are listed in somewhat random order; I do however advise to follow the steps as listed.
    * Commands with ? in front of them are only ment to be helpfull for troubleshooting,
    * and to identify settings and changes made.
    * Commands and instructions with ! in front of them are mandatory.
    - server: means the server core or hyper-v server (non gui)
    - client: means the machine you want to use for remote administration.
    - Some commands are spread over 2 lines; be sure to copy the full syntax.
    > To enable the Hyper-V manager to connect to your server, you need to perform the following 2 actions: (Assuming you have already installed the feature)
    1:
    ! Client: Locate the C:\Windows\System32\Drivers\etc\hosts file.
    ! right-click --> properties --> security
    ! click --> edit --> add --> YOURUSERNAME or Administrator --> OK
    ! then select this new user, and tick the "modify"-box under the "allow"-section.
    ! apply the change, and close.
    ! doubleclick the file, and open with notepad
    ! add the ip-address and name of your server (no // or other crap needed)
    ! Save the file
    # I recommend putting a shortcut to this file on the desktop.
    # If you change the ip-address of your server (e.g. move the server from staging to a live environment)
    # you might forget to do so in the hosts file.
    # Hyper-V manager, MMC, RSAT, and Server-manager all rely on the hosts-file to resolve the name.
    # some of these might connect to their respective service on an i.p.-level, but some don't.
    # This is the main reason you need to modify this file.
    ! USE AN ELEVATED CMD/POWERSHELL PROMPT TO CONTINUE !
    # the next config needs to be done on windows 8.
    # It seems that it's already preconfigured under server 2012
    2:
    ! Client: dcomcnfg
    ! open component services --> computers
    ! right-click -> my computer -> properties
    ! select "COM SECURITY" tab
    ! under "ACCESS PERMISSIONS" select "edit limits"
    ! select "ANONYMOUS LOGON", and tick "remote access" under ALLOW
    # Without this adjustment, you can't connect to your Hyper-V server
    # with the Hyper-V manager if you're not in a domain.
    > And if you haven't done so already... make sure you have enabled remote management number 4 on the Hyper-V server console.
    > Next, is to get the MMC firewall snap-in working.
       The reason for this, is to have a GUI available to configure it.
       If you're happy without it, you may skip this and use a shell instead to do so.
    ? server: netsh advfirewall show currentprofile
    # shows the current profile (public/domain/private) and its settings
    # depending on your needs, you should set the right profile to fit your needs.
    # You can easily do this when the MMC snap-in is done. (after you've followed these steps)
    ! server: netsh advfirewall set currentprofile settings remotemanagement enable
    # enables remote management of the firewall on an application level 
    # (In other words: allows the firewall to be remotely managed)
    ! server: netsh advfirewall firewall set rule group="Windows Firewall Remote Management" new enable=yes
    # allows remote management of the firewall, through the required firewall ports with TCP protocol.
    # 4 rules will be updated to allow access: public & Domain, dynamic and endpoint-mapper.
    # You can disable/add/change the rule from the MMC snap-in after finishing this guide.
    # e.g. set the firewall through the MMC-GUI to only allow specific ip-addresses etc.
    ? server: netsh advfirewall firewall show rule all
    # Shows a list of available rules, and their current state.
    # when run from cmd, the list exceeds the maximum length for review.
    # (from cmd,type:) start powershell, and run the command from there.
    ! Client: cmdkey /add:YOURSERVERNAME /user:USERNAMEONTHESERVER /pass:THEPASSWORDOFTHATUSER
    # I recommend you to use a username with enough privileges for management
    # All capital letters need to be replaced with your input
    # CMD answers "credential added successfully" when you're done
    ! Client: locate MMC, and run it as an admin.
    # In windows 8/2012, go to search and type MMC. Right-click the icon, 
    # and choose run as admin on the bar below.
    ! Client: application MMC: select "file" --> Add/remove snap-in 
    ! --> (left pane) scroll down to "windows firewall" --> select and click "add"
    ! select "another computer"
    ! type the name of the server you want to manage (NO workgroup/ or //, just same name as you typed for cmdkey)
    * Part 2 is done.
    # Have a look by doubleclicking the firewall icon in the left pane.
    # It looks and works the same as the GUI version that you are familiar with.
    ! Next is the Server Manager.
    # Follow the steps listed to get your server listed and manageable in the server manager.
    ! Client: Open the created Firewall snap-in for your server.
    ! Find the 3 "Remote Event Log Management" entries in the list of INBOUND rules, and enable them.
    ! Open powershell --> in cmd windows, type: start powershell
    ! run the following line in powershell
    ! Client: in C:\Windows\system32> set-item WSMAN:\localhost\client\trustedhosts -value YOURSERVERNAME -concatenate
    # WinRM Security Configuration.
    # This command modifies the TrustedHosts list for the WinRM client. The computers in the TrustedHosts list might not be
    # authenticated. The client might send credential information to these computers. Are you sure that you want to modify
    # this list?
    # [Y] Yes  [N] No  [S] Suspend  [?] Help (default is "Y"): y
    # I recommend to choose yes; unless you like to pull some more hairs...
    ! server: winrm qc
    # WinRM service is already running on this machine.
    # WinRM is not set up to allow remote access to this machine for management.
    # The following changes must be made:
    # Configure LocalAccountTokenFilterPolicy to grant administrative rights remotely
    # to local users.
    # Make the changes? y / n
    !  select yes
    ! Client: open the server 2012 server manager
    ! click manage -> add server
    ! select the DNS tab, and type the name of your server
    Done.
    You can now manage your remote server through the familiar computer management GUI.
    ! Right-click your remote server, and select "Computer Management"
    A few side notes:
    ? The Performance tab seems to list the local machine's performance, in stead of the remote servers'
    ? If you want Windows server backup, you need to right-click the server in the server manager, and select "add roles and features.
    ? it will then become available under the "computer management" of the remote server.
    If you liked this guide you may thank my employer, Mr. Chris W.
    for giving me the time to work it all out.
    Cheers!

    As a little update to the post, I'd like to add that replication, clustering and migration will not work in workgroup environments. Unless someone can provide an additional guide for this, I'd recommend anyone to no even bother to try.
    To manage the standalone hyper-v server in a remote location over the internet, I would recommend the following:
    Install windows 8 pro (x86 uses less resources!) as a vm on the host, and assign 2 network connections to it.
    1 external (shared with host) (be sure you have a dedicated ip-address for it!)
    1 internal connection.
    What I did was this:
    As soon as you've installed the win8 guest, proceed with the guide as described.
    For the 1st step of the guide (hosts-file) use the ip-address you will later assign to the "internal" network switch of the host!
    In my example, I'm using 10.0.0.1 for the host, and 10.0.0.2 for the guest.
    To be clear: I first used the guide on a LAN-environment, and did all the steps from a "real" client to server on the LAN.
    Then, installed the win8 guest on the host using the "real" clients' hyper-v manager over the LAN.
    Next, assigned the 2 network connections to the VM, and configured them as follows:
    external - as you would to be able to make your guest reach the internet.
    internal - I used the following config:
    ip-address: 10.0.0.2
    subnet: 255.255.255.252
    gateway - blank
    dns - Blank
    Now, when you get to the console of the hyper-v server (host) or RDP to it, go to network settings.
    You'll see that the internal card has been added here as well.
    Configure it as follows:
    ip-address: static - 10.0.0.1
    subnet: 255.255.255.252
    gateway - blank
    dns - blank
    You should now be able to ping your guest (win8) on 10.0.0.2 if it's running.
    Don't forget to enable ping response (option 4 on the host) to test connectivity the other way around as well (guest to host)
    When you're done, you'll be able to RDP to the guest OS over the internet, and then connect to the host with server manager, hyper-v manager, and MMC.
    Don't forget to enable each module on the hosts' firewall to make the snap-ins work!
    Remote volume management requires your guest/client firewall INcoming ports to be enabled as well! not just the host.
    Either update the firewall rules from the MMC gui as described in the guide, or use the following commands on the
    hosts' powershell:
    Enable the firewall rules with the command Enable-NetFirewallRule -DisplayGroup "USE_THE_COMMANDS_BELOW" (include the " " in the command)
    Remote Service Management
    Remote Volume Management
    Remote Event Log Management
    Remote Scheduled Tasks Management
    Windows Firewall Remote Management
    Windows Remote Management
    You can get the list with Get-NetFirewallRule -DisplayName *management*
    You can get the list with Get-NetFirewallRule -DisplayName *remote*
    Commands provided with credits to F. verstegen
    Cheers,
    Michael.
    Sigh...

  • Advice on constructi​ng a test engine and formatting a spreadshee​t test file to perform command line interface testing on a product through telnet or serial interface

    Advice on constructing a test engine and formatting a spreadsheet test file to perform command line interface testing on a range of products through telnet or serial interface and output pass/fail results.

    Hello j. smith,
    TestStand gives you the ability to create "sequence files" which are lists of tests to be run sequentially or in parallel. These tests can be written in any language: LabVIEW VIs, C/C++ DLLs, EXEs, ActiveX objects, .NET Assemblies, etc.
    You can run your TestStand sequence files from a command-line prompt using the following syntax:
    \bin\SeqEdit.exe" /quit -run
    This will launch the TestStand Sequence Editor (and optionally prompt you for TestStand login information if you have this configured), run your sequence file, then exit.
    If you're using the TestStand process model, it can output your results to a report file or database if you configure this. To use a TestStand process mo
    del to execute your sequence file, use the following syntax:
    \bin\SeqEdit.exe" /quit -runEntryPoint
    Here's an example:
    C:\>"C:\Program Files\National Instruments\TestStand 3.0\bin\SeqEdit.exe" /quit -runEntryPoint "Single Pass" "C:\Program Files\National Instruments\TestStand 3.0\Examples\Demo\C\computer.seq"
    Note that multiple sequences and sequence files can be specified on the command line.
    TestStand supports remote sequence execution using DCOM (Distributed COM), which is an east way to remotely execute tests. But as for running tests or commands through a telnet or serial interface, you would have need to check Windows documentation on how to execute command-line remotely like this.
    David Mc.
    NI Applications Engineer

  • Command Line - Remove user and group updates

    I am remote at the moment and not able to access the GUI on a number of OS X server boxes. How do I remove a user and the user from group via the command line.
    Thanks

    I am remote at the moment and not able to access the GUI on a number of OS X server boxes. How do I remove a user and the user from group via the command line.
    Thanks

  • Error: starting remote managed server from command line

    I have enabled SSL on the admin server, and configured/added the managed server
    via my admin server console. However, when I attempt to start the managed server
    via cmd line (script) on the remote machine, I get the following message:
    Starting WebLogic Server ....
    Connecting to http://adminservermachine:7001...
    <Nov 18, 2002 11:42:28 AM EST> <Emergency> <Configuration Management>
    <Errors detected attempting to connect to admin server at wk-gferguson:7001 during
    initialization of managed server ( null:7001 ). The reported error was: < weblogic.security.acl.DefaultUserInfoImpl
    Start server side stack trace:
    java.lang.ClassCastException: weblogic.security.acl.DefaultUserInfoImpl
    at weblogic.kernel.BootServicesImpl.authenticate(BootServicesImpl.java:189)
    at weblogic.kernel.BootServicesImpl.invoke(BootServicesImpl.java:145)
    at weblogic.rjvm.RJVMImpl.dispatchRequest(RJVMImpl.java:620)
    at weblogic.rjvm.RJVMImpl.dispatch(RJVMImpl.java:581)
    at weblogic.rjvm.ConnectionManagerServer.handleRJVM(ConnectionManagerServer.java:164)
    at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:640)
    at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:454)
    at weblogic.socket.NTSocketMuxer.processSockets(NTSocketMuxer.java:643)
    at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:24)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    End server side stack trace
    > This condition generally results when the managed and admin servers are using
    the same listen address and port.>
    <Nov 18, 2002 11:42:28 AM EST> <Emergency> <Server> <Unable to initialize the
    se
    rver: 'Fatal initialization exception
    Throwable: weblogic.management.configuration.ConfigurationException: weblogic.se
    curity.acl.DefaultUserInfoImpl

    This particular log entry looks like your problem:
    <Jan 8, 2010 11:33:30 PM PST> <Error> <Server> <BEA-002606> <Unable to create a server socket for listening on channel "Default". The address 10.249.22.43 might be incorrect or another process is using port 20014: java.net.BindException: Cannot assign requested address.>
    Check using netstat to see if that port is already in use.
    Shared libraries don't need to be on the classpath, they are deployed similar to applications, so I'm confused by your comment about putting them on the classpath. I assume you're using Node Manager to start the server from the AdminConsole, if you want to use a difference classpath either use the StartupScriptEnabled=true in nodemanager.properties OR put the extra classpath entries on the Server Start tab in the console.

  • Enable Screen Sharing from command line

    I inadvertently removed screen sharing from my mac mini server firewall but I can still ssh into it. How can I enable either screen sharing or remote management via ARD?
    Thanks so much,
    J.

    Sorry for the imperfect instructions, I was doing it from memory.
    First, set up secure ssh credentials by doing the public/private RSA key exchange.
    Based on someone else's suggestion I found on the web, I created an "alias" command in my .tcshrc file. I just launch a terminal session and use my alias I've created, followed by my ssh credentials on the remote machine, and the alias/script does the rest.
    Begin fragmment from my .tcshrc....
    echo " myvnc ACCOUNTNAME = connect to ACCOUNTNAME via VNC"
    alias myvnc 'ssh -f -L 1202:localhost:5900 \!:1 sleep 10 ; open vnc://localhost:1202'
    ... End fragment.
    So when I want to vnc I just type
    $ myvnc [email protected]
    In fact, after a while, I got tired of reading all the server logs of people trying to hack my server over port 22 (ssh standard port). Once you have the alias command above working for you, you can pick a different port on your server's firewall, and forward it to port 22 inside the firewall. That way, hackers that scan your port 22 won't get any response.
    Once you do this, you can revise the alias in your .tcshrc to also include the "-p" ssh argument, so hep save you the trouble of remembering the ssh port you have moved your server conversation to. For example, it you decided to close port 22 at the firewall, and forward port 2222 (just an arbitrary number I picked) to your server's port 22 inside the fire wall, your alias line would look like this...
    alias myvnc 'ssh -p 2222 -f -L 1202:localhost:5900 \!:1 sleep 10 ; open vnc://localhost:1202'

Maybe you are looking for

  • In a pickle with Quickyme

    Hi The hard drive died on my mac book recently (a new one too!) and I paid hundreds of pounds for the data to be recovered to an external hard drive. The data recovery people have saved my imovies as Quicktime movies and of course I cant just drag th

  • RFC channel error

    Hi Experts, First time, transport objects form DEV to QTY server in SAP PI 7.31 dual stack. My scenario is RFC to JDBC. Activation is done, but when try to test RFC destination from ECC qty (which freshly created in ECC QTY) getting some error in sen

  • New ipod, battery wont charge - any suggestions?

    I have had my ipod for less than 6 months and the battery charged without issue using any sort of charging station but it stopped charging a few days ago. Anyone else have this problem? Any suggestions?

  • I'm running windows 8 with PSE11 some of my pic don't display only a gray box with a paper in side,

    I'm running windows 8 with PSE 11 ans some of my pic don't display only a gray box with a paper in side it, when i go to a albums most of my pic don't display

  • Can't boot my Powerbook G4 from a DVD

    I am going to give my Powerbook G4 to a friend, so I thought I would wipe the drive and reinstall to OS. I was running 10.39. I started zeroing the drive and it locked. It finally quit booting from the DVD, so I connected it to my MacPro Intel with f