Run 3d games remotely (even behind a nat) with sound (Onlive DiY)
D you know Onlive? Here is a DIY howto, this is what i'm using to play games remotely on a poor netbook
Required packages:
Server: virtualgl,ffmpeg,socat,sshd
Client: virtualgl,mplayer,ssh,socat
Server: in /etc/ssh/sshd_config:
"AcceptEnv ALSA_CARD"
The user who wants to play remotely has to execute the following script on (say) the poor netbook:
(configure $user,$server and $sshport first), and as soon as it gains access to the remote shell, it has to execute:
vglrun (parameters) /path/to/3dgame
Main Script
#!/bin/bash
user=remote_username
server=remote_server
sshport=22
ServerSetup="\
killall socat ffmpeg ; sleep 1 ; killall -9 socat ffmpeg; \
echo inserting loopback module, ask for sudo pass:; \
sudo modprobe snd-aloop; \
socat UDP4-LISTEN:6000,fork,reuseaddr TCP:127.0.0.1:5000 &>/dev/null & \
ffmpeg -f alsa -ac 2 -i hw:Loopback,1,0 -acodec libmp3lame -b 128k -f rtp rtp://127.0.0.1:6000 &>/dev/null\
echo "Executing ServerSetup on " $Server:$sshport ...
ssh -f $user@$server -oPort=$sshport "$(echo $ServerSetup)"
killall mplayer socat ; sleep 1 ; killall -9 mplayer socat
echo "o=- 0 0 IN IP4 127.0.0.1" >/tmp/stream.sdp
echo "c=IN IP4 127.0.0.1" >>/tmp/stream.sdp
echo "m=audio 6000 RTP/AVP 14" >>/tmp/stream.sdp
socat TCP4-LISTEN:5000,fork,reuseaddr UDP4:localhost:6000 &>/dev/null &
sh -c "sleep 20 ; mplayer /tmp/stream.sdp -really-quiet </dev/null" &
ALSA_CARD=Loopback vglconnect -s $user@$server -o SendEnv=ALSA_CARD -p $sshport -R localhost:5000:localhost:5000
Explaination
Graphic streaming is very easy and totally managed by virtualgl as video data is taken from the server by using a seamless VirtualGL window,
vglconnect (part of virtualgl package) is an ssh wrapper that set-up port forwarding to tunnel frames,
no problem here for nat environments.
When comes to audio, the 3d application on the server will output all audio data to a virtual loopback device,
this is done by modprobing snd-aloop and then set the environment variable ALSA_CARD to "Loopback"
Sound is then encoded by ffmpeg into an mp3 streamed via rtp udp transport for lower delay.
Finally, that audio will be played back on the netbook via a background mplayer.
It will take as argument a text file (compiled by a bunch of echo runtime) describing the stream.
(ffplay would do it as well, but how to disable the spectrum visualization?)
Making audio work for client behind a nat is somehow tricky, because ssh only forwards TCP connections and our stream works over UDP,
but with socat we will 'convert' UDP to TCP (ssh here!) to UDP again so that we can use ssh tunnelling facilities while in the TCP domain:
server: ffmpeg will stream to localhost, udp port 6000
server: socat will forward from localhost, udp port 6000 to localhost tcp port 5000
server: vglconnect (ssh wrapper) will forward all tcp traffic directed to localhost:5000(tcp) to the remote endpoint (client), port 5000(tcp)
client: socat will forward from localhost, tcp port 5000 to localhost udp port 6000
client: finally mplayer will play from localhost port 6000
Note that mplayer will run on the client, but the last step we'll do in the script is to open an ssh connection into the server,
and that connection is necessary for mplayer to work as we'll setup port redirection there.
So, to keep things easy from the user point of view, mplayer is started early in background with a delay (20secs)
(read: your audio will start after a while)
If you are not behind a nat or prefer to use a vpn, you can (but it is not necessary at all)
* comment all of the socat commands,
* point ffmpeg streaming to the client ip,
* change the line that contains "c=IN IP4 127.0.0.1" to the client ip too.
Drawbacks of the script:
.It will kill any socat,ffmpeg and mplayer instances at startup (any idea?)
.No process has to listen on port 5000 and 6000 (tcp,udp), change the script or use some vars if you need it.
.Some programs (eg: braid) don't like alsa loopback device and outputs some garbage sound
.ALSA_CARD trick isn't going to work if you forced a !default output device in your .asoundrc (server side)
What is missing:
.A way to terminate leftover processes when we're done with playing
Highly suggested:
.remove "&>/dev/null" occurrences from the script if you run into problems
.Setup ssh key authentication
.Avoid sound skip by running ffmpeg with realtime priority (schedtool -n -19 -F -p 10 -e ffmpeg...)
Side notes:
.This thing doesn't work very well with virtualized environments, virtualbox client on the same server machine performs poorly, think that a real n280 netbook over a real 10Mbps link is smoother.
.Audio latency is about 300ms (i know it is not THAT low, but acceptable)
example code for a 10Mbit network which take about 600KBps at 1024x600
vglrun -np 2 -c jpeg -q 40 -samp 1 -fps 20 ./aquaria
-np 2 = use 2 threads to encode frames
-q 40 = jpeg quality=40
-samp 1 = Chrominance subsampling factor
-fps 20 = limit the framerate to 20fps
Last edited by kokoko3k (2012-01-24 14:11:44)
Hi kokoko3k thanks for the script. I had some troubles to start with, but hacked around and got it going.
I am using AMD64 Ubuntu based distributions for both client and server.
Anyways I thought I would post the (slightly) modified script in case it helps others out there.
#!/bin/bash
#Prereqs:
#Server: virtualgl,ffmpeg,socat,sshd,libavcodec-extra-53
#Client: virtualgl,mplayer,ssh,socat
#Server: in /etc/ssh/sshd_config:
#"AcceptEnv ALSA_CARD"
#Server: add to /etc/sudoers file:
#<user> ALL=(ALL) NOPASSWD: /sbin/modprobe
user=<user>
server=<Server Hostname>
sshport=22
ServerSetup="\
killall socat ffmpeg ; sleep 1 ; killall -9 socat ffmpeg; \
sudo modprobe snd-aloop; \
socat UDP4-LISTEN:6000,fork,reuseaddr TCP:127.0.0.1:5000 &>/dev/null & \
ffmpeg -f alsa -ac 2 -i hw:Loopback,1,0 -acodec libmp3lame -b 128k -f rtp rtp://127.0.0.1:6000 &>/dev/null\
echo "Executing ServerSetup on " $server:$sshport ...
ssh -f $user@$server -oPort=$sshport "$(echo $ServerSetup)"
killall vglclient mplayer socat ; sleep 1 ; killall -9 vglclient mplayer socat
echo "o=- 0 0 IN IP4 127.0.0.1" >/tmp/stream.sdp
echo "c=IN IP4 127.0.0.1" >>/tmp/stream.sdp
echo "m=audio 6000 RTP/AVP 14" >>/tmp/stream.sdp
socat TCP4-LISTEN:5000,fork,reuseaddr UDP4:localhost:6000 &>/dev/null &
sh -c "sleep 60 ; mplayer /tmp/stream.sdp -really-quiet </dev/null" &
ALSA_CARD=Loopback /opt/VirtualGL/bin/vglconnect -x -s $user@$server -o SendEnv=ALSA_CARD -p $sshport -R localhost:5000:localhost:5000
Last edited by Ken (2012-02-27 18:18:33)
Similar Messages
-
Window opens behind another window with sound how do i stop this.
When I open a window, another window will open behind it with sound. Mostly some add witch I then open that page and close. How do you stop this unwanted pages from opening?
I assume we are talking about Safari? If so goto Safari > Preferences > Security. Make sure Block pop-up windows is checked.
Also uncheck Enable Java. I have had problems with pop-under windows and this has prevented them. If you have a site that requires Java you can always re-enable it. -
User Initiated Remote Control - Behind NAT
I must be missing something. I am try to allow a laptop to request a
remote control session when it is disconnected from the network. When I
right-click on the remote management agent the option to request a
session is greyed out. Our user and workstation policy allow for the
user requested session and the ability to accept connections accross
NAT/Proxy. Assigning a password to the remote management agent also does
not help. Any ideas?I keep seeing that if a machine is behind a NAT'd firewall, like home for
instance, the user should be able to click on the Remote Management icon
and select Request Session. If the machine is on the local network, all RC
functions are fine. As soon as it's disconnected and behind a home
firewall or not even that, connected via dial-up to the net these options
go away. I have logged into the middle-tier via these methods and that
produces no change in my remote control options.
The error logs indicate that the workstation is not authenticated, which is
obvious, and that neither policies will be active.
Hope that helps...
> On Tue, 25 Jan 2005 21:05:57 GMT, [email protected] wrote:
>
> > I am try to allow a laptop to request a
> > remote control session when it is disconnected from the network.
>
> so how do you remote control?
>
> note: you need middletier installed to allow access from the outside of
> your network... and IIRC running client32 will not really help in your
> case...
> --
>
> Marcus Breiden
>
> Please change -- to - to mail me.
> The content of this mail is my private and personal opinion.
> http://www.edu-magic.net -
GPP runs in System account even if specified that it should run i user context
The user 'xlsx' preference item in the 'USER-Microsoft-Office Group Policy object did not apply because it failed with error code '0x80070005 Access is denied.' This error was suppressed.
I have a problem with GPP that should make a program (Libreoffce or Microsoft office) the default opening option for certain file-types (.doc, xls, .ppt etc...)
But the GPP runs in system account even tho I have set the policy to "Run in user's security context"Hi Martin,
Thank for your patiences!
Here is another log of a user that I'm certain that it is a failure on
2013-07-04 08:06:04.800 Entering ProcessGroupPolicyExFolderOptions()
2013-07-04 08:06:04.800 SOFTWARE\Policies\Microsoft\Windows\Group Policy\{A3F3E39B-5D83-4940-B954-28315B82F0A8}
2013-07-04 08:06:04.801 BackgroundPriorityLevel ( 0 )
2013-07-04 08:06:04.801 DisableRSoP ( 0 )
2013-07-04 08:06:04.801 LogLevel ( 2 )
2013-07-04 08:06:04.801 Command subsystem initialized. [SUCCEEDED(S_FALSE)]
2013-07-04 08:06:04.818 Background priority set to 0 (Idle).
2013-07-04 08:06:04.819 ----- Parameters
2013-07-04 08:06:04.819 CSE GUID : {A3F3E39B-5D83-4940-B954-28315B82F0A8}
2013-07-04 08:06:04.819 Flags : ( ) GPO_INFO_FLAG_MACHINE - Apply machine policy rather than user policy
2013-07-04 08:06:04.819 ( X ) GPO_INFO_FLAG_BACKGROUND - Background refresh of policy (ok to do slow stuff)
2013-07-04 08:06:04.819 ( ) GPO_INFO_FLAG_SLOWLINK - Policy is being applied across a slow link
2013-07-04 08:06:04.819 ( ) GPO_INFO_FLAG_VERBOSE - Verbose output to the eventlog
2013-07-04 08:06:04.819 ( X ) GPO_INFO_FLAG_NOCHANGES - No changes were detected to the Group Policy Objects
2013-07-04 08:06:04.819 ( ) GPO_INFO_FLAG_LINKTRANSITION - A change in link speed was detected between previous policy application and current policy application
2013-07-04 08:06:04.819 ( ) GPO_INFO_FLAG_LOGRSOP_TRANSITION - A change in RSoP logging was detected between the application of the previous policy and the application of the current policy.
2013-07-04 08:06:04.819 ( ) GPO_INFO_FLAG_FORCED_REFRESH - Forced Refresh is being applied. redo policies.
2013-07-04 08:06:04.820 ( ) GPO_INFO_FLAG_SAFEMODE_BOOT - windows safe mode boot flag
2013-07-04 08:06:04.820 ( ) GPO_INFO_FLAG_ASYNC_FOREGROUND - Asynchronous foreground refresh of policy
2013-07-04 08:06:04.820 Abort Flag : Yes (0x003967d0)
2013-07-04 08:06:04.820 HKey Root : Yes (0x000015e0)
2013-07-04 08:06:04.820 Deleted GPO List : No
2013-07-04 08:06:04.820 Changed GPO List : Yes
2013-07-04 08:06:04.820 Asynchronous Processing : Yes
2013-07-04 08:06:04.820 Status Callback : No (0x00000000)
2013-07-04 08:06:04.821 WMI namespace : No (0x00000000)
2013-07-04 08:06:04.821 RSoP Status : Yes (0x068ced48)
2013-07-04 08:06:04.821 Planning Mode Site : (none)
2013-07-04 08:06:04.821 Computer Target : No (0x00000000)
2013-07-04 08:06:04.821 User Target : No (0x00000000)
2013-07-04 08:06:04.821 Calculated list relevance. [SUCCEEDED(S_FALSE)]
2013-07-04 08:06:04.822 ----- Changed - 0
2013-07-04 08:06:04.822 Options : ( ) GPO_FLAG_DISABLE - This GPO is disabled.
2013-07-04 08:06:04.822 ( ) GPO_FLAG_FORCE - Do not override the settings in this GPO with settings in a subsequent GPO.
2013-07-04 08:06:04.822 Options (raw) : 0x00000000
2013-07-04 08:06:04.822 Version : 2293795 (0x00230023)
2013-07-04 08:06:04.822 GPC : LDAP://CN=User,cn={A357D87E-6F4D-4762-9F9A-6B5D3BE436F7},cn=policies,cn=system,DC=domain,DC=net
2013-07-04 08:06:04.822 GPT : \\domain.net\sysvol\domain.net\Policies\{A357D87E-6F4D-4762-9F9A-6B5D3BE436F7}\User
2013-07-04 08:06:04.822 GPO Name : {A357D87E-6F4D-4762-9F9A-6B5D3BE436F7}
2013-07-04 08:06:04.822 GPO Link : ( ) GPLinkUnknown - No link information is available.
2013-07-04 08:06:04.823 ( ) GPLinkMachine - The GPO is linked to a computer (local or remote).
2013-07-04 08:06:04.823 ( ) GPLinkSite - The GPO is linked to a site.
2013-07-04 08:06:04.823 ( ) GPLinkDomain - The GPO is linked to a domain.
2013-07-04 08:06:04.823 ( X ) GPLinkOrganizationalUnit - The GPO is linked to an organizational unit.
2013-07-04 08:06:04.823 ( ) GP Link Error
2013-07-04 08:06:04.823 lParam : 0x00000000
2013-07-04 08:06:04.823 Prev GPO : No
2013-07-04 08:06:04.823 Next GPO : Yes
2013-07-04 08:06:04.823 Extensions : [{00000000-0000-0000-0000-000000000000}{2EA1A81B-48E5-45E9-8BB7-A6E3AC170006}{3BFAE46A-7F3A-467B-8CEA-6AA34DC71F53}{BEE07A6A-EC9F-4659-B8C9-0B1937907C83}{CF848D48-888D-4F45-B530-6A201E62A605}][{25537BA6-77A8-11D2-9B6C-0000F8080861}{88E729D6-BDC1-11D1-BD2A-00C04FB9603F}][{35378EAC-683F-11D2-A89A-00C04FBBCFA2}{D02B1F73-3407-48AE-BA88-E8213C6761F1}][{5794DAFD-BE60-433F-88A2-1A31939AC01F}{2EA1A81B-48E5-45E9-8BB7-A6E3AC170006}][{A2E30F80-D7DE-11D2-BBDE-00C04F86AE3B}{FC715823-C5FB-11D1-9EEF-00A0C90347FF}][{A3F3E39B-5D83-4940-B954-28315B82F0A8}{3BFAE46A-7F3A-467B-8CEA-6AA34DC71F53}][{B087BE9D-ED37-454F-AF9C-04291E351182}{BEE07A6A-EC9F-4659-B8C9-0B1937907C83}][{E4F48E54-F38D-4884-BFB9-D4D2E5729C18}{CF848D48-888D-4F45-B530-6A201E62A605}]
2013-07-04 08:06:04.823 lParam2 : 0x33d71cd8
2013-07-04 08:06:04.824 Link : LDAP://OU=ou,DC=domain,DC=net
2013-07-04 08:06:04.827 RunOnce value created [SUCCEEDED(S_FALSE)]
2013-07-04 08:06:04.830 Read GPE XML data file (1124 bytes total).
2013-07-04 08:06:04.831 RunOnce value created [SUCCEEDED(S_FALSE)]
2013-07-04 08:06:04.831 Starting filter [AND FilterCollection].
2013-07-04 08:06:04.831 Starting filter [AND NOT FilterOs].
2013-07-04 08:06:04.832 Starting filter [AND NOT FilterOs].
2013-07-04 08:06:04.832 Starting filter [AND NOT FilterOs].
2013-07-04 08:06:04.833 RunOnce value created [SUCCEEDED(S_FALSE)]
2013-07-04 08:06:04.841 ----- Changed - 1
2013-07-04 08:06:04.841 Options : ( ) GPO_FLAG_DISABLE - This GPO is disabled.
2013-07-04 08:06:04.841 ( ) GPO_FLAG_FORCE - Do not override the settings in this GPO with settings in a subsequent GPO.
2013-07-04 08:06:04.842 Options (raw) : 0x00000000
2013-07-04 08:06:04.842 Version : 12517567 (0x00bf00bf)
2013-07-04 08:06:04.842 GPC : LDAP://CN=User,cn={F45570D0-E3E9-4C02-B471-11E5708EC6F8},cn=policies,cn=system,DC=domain,DC=net
2013-07-04 08:06:04.842 GPT : \\domain.net\SysVol\domain.net\Policies\{F45570D0-E3E9-4C02-B471-11E5708EC6F8}\User
2013-07-04 08:06:04.842 GPO Display Name : USER-Microsoft-Office
2013-07-04 08:06:04.842 GPO Name : {F45570D0-E3E9-4C02-B471-11E5708EC6F8}
2013-07-04 08:06:04.842 GPO Link : ( ) GPLinkUnknown - No link information is available.
2013-07-04 08:06:04.842 ( ) GPLinkMachine - The GPO is linked to a computer (local or remote).
2013-07-04 08:06:04.842 ( ) GPLinkSite - The GPO is linked to a site.
2013-07-04 08:06:04.842 ( ) GPLinkDomain - The GPO is linked to a domain.
2013-07-04 08:06:04.843 ( X ) GPLinkOrganizationalUnit - The GPO is linked to an organizational unit.
2013-07-04 08:06:04.843 ( ) GP Link Error
2013-07-04 08:06:04.843 lParam : 0x00000000
2013-07-04 08:06:04.843 Prev GPO : Yes
2013-07-04 08:06:04.843 Next GPO : No
2013-07-04 08:06:04.843 Extensions : [{00000000-0000-0000-0000-000000000000}{3BFAE46A-7F3A-467B-8CEA-6AA34DC71F53}{CEFFA6E2-E3BD-421B-852C-6F6A79A59BC1}][{35378EAC-683F-11D2-A89A-00C04FBBCFA2}{D02B1F73-3407-48AE-BA88-E8213C6761F1}][{A3F3E39B-5D83-4940-B954-28315B82F0A8}{3BFAE46A-7F3A-467B-8CEA-6AA34DC71F53}][{C418DD9D-0D14-4EFB-8FBF-CFE535C8FAC7}{CEFFA6E2-E3BD-421B-852C-6F6A79A59BC1}]
2013-07-04 08:06:04.843 lParam2 : 0x382b2bc8
2013-07-04 08:06:04.843 Link : LDAP://OU=ou,DC=domain,DC=net
2013-07-04 08:06:04.847 RunOnce value created [SUCCEEDED(S_FALSE)]
2013-07-04 08:06:04.851 Read GPE XML data file (4376 bytes total).
2013-07-04 08:06:04.852 RunOnce value created [SUCCEEDED(S_FALSE)]
2013-07-04 08:06:04.853 RunOnce value created [SUCCEEDED(S_FALSE)]
2013-07-04 08:06:04.857 RunOnce value created [SUCCEEDED(S_FALSE)]
2013-07-04 08:06:04.861 RunOnce value created [SUCCEEDED(S_FALSE)]
2013-07-04 08:06:04.864 RunOnce value created [SUCCEEDED(S_FALSE)]
2013-07-04 08:06:04.868 RunOnce value created [SUCCEEDED(S_FALSE)]
2013-07-04 08:06:04.872 RunOnce value created [SUCCEEDED(S_FALSE)]
2013-07-04 08:06:04.876 RunOnce value created [SUCCEEDED(S_FALSE)]
2013-07-04 08:06:04.880 RunOnce value created [SUCCEEDED(S_FALSE)]
2013-07-04 08:06:04.884 Properties handled. [ hr = 0x80070005 "Access is denied." ]
2013-07-04 08:06:04.887 Error suppressed. [ hr = 0x80070005 "Access is denied." ]
2013-07-04 08:06:04.888 RunOnce value created [SUCCEEDED(S_FALSE)]
2013-07-04 08:06:04.892 RunOnce value created [SUCCEEDED(S_FALSE)]
2013-07-04 08:06:04.896 RunOnce value created [SUCCEEDED(S_FALSE)]
2013-07-04 08:06:04.899 RunOnce value created [SUCCEEDED(S_FALSE)]
2013-07-04 08:06:04.909 Completed get next GPO. [SUCCEEDED(S_FALSE)]
2013-07-04 08:06:04.909 Completed get GPO list. [SUCCEEDED(S_FALSE)]
2013-07-04 08:06:04.927 Leaving ProcessGroupPolicyExFolderOptions() returned 0x00000000 -
Firmware update on my Nokia E52 only run java game...
Hi, I made that day Firmware update on my Nokia E52 and then update-s all right, only run java games and their sound is gone whether he shall be ON. Anybody have a similar problem and a solution for it?? Firmware-v 052.003 but the date is Cot. 29, 2010) will be happy if you give me an idea how to fix it! I tried quite moratoria preinstall, reset backup I have not done, unfortunately the old Firmware.
Okay, you are using a MacBook so I am not sure how much help I can give since I use a PC with Vista. In the latest version of Ovi Suite, once the update file has been downloaded and the installation starts, the computer will give your prompts that the phone is disconnected via USB, the phone restarts, the screen flashes, etc. I just leave it alone and after the progress bar on the Ovi Suite ends my phone is updated. I currently have v40. The free maps is available only to v31 and above for 5800 if I remember correctly.
If possible please use the Ovi Suite instead of PC suite (at least in my experience it works better), and do not in any way touch your phone during updates, even if it "disconnects" from the computer.
However regarding to your query as to why it is not available via the *#0000# method (or FOTA), updates are generally released through NSU before FOTA, sometimes with as much as a month in difference because the files in FOTA are not the entire update file but rather extractions from it. For example, the v40 FOTA is 17mb (according to someone who said he had it already), while the v40 I downloaded through Ovi Suite was 128mb.
If you find my post helpful please click the green star on the left under the avatar. Thanks. -
Black screen when I run some games
HI,
I have an up to date release of Archlinux :
$ uname -a
Linux XXXXXX 3.0-ARCH #1 SMP PREEMPT Wed Aug 17 21:55:57 CEST 2011 x86_64 Intel(R) Core(TM) i5 CPU 750 @ 2.67GHz GenuineIntel GNU/Linux
$ pacman -Qs nvidia
local/lib32-nvidia-utils 280.13-1
NVIDIA drivers utilities and libraries. (32-bit)
local/libcl 1.0-1
OpenCL library and ICD loader from NVIDIA
local/libvdpau 0.4.1-1
Nvidia VDPAU library
local/nvidia 280.13-1
NVIDIA drivers for linux.
local/nvidia-utils 280.13-1
NVIDIA drivers utilities and libraries.
local/opencl-nvidia 280.13-1
OpenCL implemention for NVIDIA
When I run some games like armagetronad (from community repo) or redeclipse (from AUR), I find myself after a few seconds (time variable) with a black screen and the system stopped responding, that's like it was a standby mode, impossible to return to the desktop or even to switch consoles.
I do not encounter this problem with other games like OpenArena or wormux.
Note that I have two monitors with the same resolution installed on my machine.
Thanks !xrandr: Failed to get size of gamma for output default
Screen 0: minimum 2560 x 1024, current 2560 x 1024, maximum 2560 x 1024
default connected 2560x1024+0+0 0mm x 0mm
2560x1024 50.0*
Last edited by blueicefield (2011-08-23 12:46:21) -
Configure OD master/replica behind a NAT
I have 4 servers 2 of them in public IP (the master is one of them) and the other in the public IP sync ok, but the two others that are behind a NAT in a DMZ with a PUBLIC-IP to private-IP configured, when they are promoting to replicas, the process runs until the end but suddenly the replica refuses to become a replica and return to the previous state, looking into the master logs, it looks like the replica send their true IP (192.168.1.4) to the master and not the IP that it has so I believe that this is part of the problem, I have a well-know DNS working in the master, but not on the replicas, and they point to the master as their DNS.
Any ideas ?Hi
Promote the Replica to OD Master. Demote the old Master to Standalone and then Promote to Replica. For OD Master & Replica relationships to be successful they must all be the same OS version:
http://manuals.info.apple.com/enUS/Open_Directory_Admin_v10.5_3rdEd.pdf
Page 57 onwards.
Tony -
Check if IIS running on a remote server
Hi,
I need to check if IIS is running in a remote server. This is what I have collected from web, but not working. Even though IIS is running in the remote-server, but this check always saying "Not running".
$servers = @("STGNX150-1")
foreach($server in $servers)
$iis = get-wmiobject Win32_Service -ComputerName $server -Filter "name='IISADMIN'"
if($iis.State -eq "Running")
{Write-Host "IIS is running on $server"}
else
{Write-Host "IIS is not running on $server"}I get the feeling that IIS is not installed on the server. Get-WMIObject returns nothing when a filter is not met regardless of if it is run against a remote computer, or on the local computer. This could be enough to make some people think it is not working.
Log on to your server and run the first four examples - do you get any results? Then try the following four from a remote computer changing 'computername' to the name of your IIS computer.
#Local
Get-WmiObject Win32_Service -Filter "Name='Winmgmt'"
Get-WmiObject Win32_Service -Filter "Name='eventlog'"
Get-WmiObject Win32_Service -Filter "Name='Dnscache'"
Get-WmiObject Win32_Service -Filter "Name='Netlogon'"
#Remote
Get-WmiObject Win32_Service -Filter "Name='Winmgmt'" -ComputerName computername
Get-WmiObject Win32_Service -Filter "Name='eventlog'" -ComputerName computername
Get-WmiObject Win32_Service -Filter "Name='Dnscache'" -ComputerName computername
Get-WmiObject Win32_Service -Filter "Name='Netlogon'" -ComputerName computername
Also, be sure to try the Get-Service cmdlet locally and remotely, as well.
#Local
Get-Service -Name 'IISADMIN'
Get-Service -Name 'Winmgmt'
Get-Service -Name 'eventlog'
Get-Service -Name 'Dnscache'
Get-Service -Name 'NetLogon'
#Remote
Get-Service -Name 'IISADMIN' -ComputerName computername
Get-Service -Name 'Winmgmt' -ComputerName computername
Get-Service -Name 'eventlog' -ComputerName computername
Get-Service -Name 'Dnscache' -ComputerName computername
Get-Service -Name 'NetLogon' -ComputerName computername -
My laptop scared me to death while running a game !! please HELP!!?
Hi everyone
I have a Lenovo G580 laptop with a 4GB ram and an Intel Core i3-3120M procersor with Windows 7 Ultimate 64-bit.
And a NVIDIA GE-FORCE Graphic card with a 1696 MB of memory.
I played Need for Speed Rivals on my laptop and the game ran without any problems (that was a while ago) but since then, a lot of softwares were installed into my laptop.
But today I installed Metal Gear Rising - Revengeance, and once I entered the ""Press Any Key"" screen, I opened Options and set the Graphic's quality to "Medium" and the rest of the graphics options were set to medium too
Then I started to play and it ran brilliantly (for like 5 mins) in that period I didn't notice any lagging or cutting.
But suddenly, the laptop's screen went black (it shut down on it's own!!) I didn't see any warnings before that shut down.
I'm really scared that if I try to run that game again, something awful might happen to my laptop, although before I ran the game I set the power option (in the battery's options) to ""Lenovo Dynamic Graphics"" cuz I thought doing that might make the laptop run the game using the graphic's card full capability.
should I be worried? or is there some sort of heavy task that could've caused that involuntary shut down?
And I don't think it overheated cuz its placed on top of a cooling fan.
Thanks in advance.neokenchi wrote:
hi shehabo,
From this this benchmark result, your right, the Lenovo Dynamic Graphics power setting gives the CPU/GPU more juice to complete tasks in less time (kinda like an overclock). If your machine shuts down in this power setting (while battery or AC power), it's possible that the hardware throttled or used its overheat protection by shutting down the machine to prevent further damage.
If you have the G580 with an Nvidia GT635M, your machine may not be enough to run Metal Gear Rising: Revengeance as it doesn't meet the minimum system requirements.
Metal Gear Rising: Revengeance - System Requirements
In this case, the game may not run properly or stall while loading or playing (in your case, the machine tried to run the game but may have reached its limits when it got exhausted).
As for the Need for Speed Rivals, your system meets the minimum system requirements, thus, you encountered no problems running the game.
Need for Speed Rivals PC System Requirements
Regards
Thank you for replying
As much as for Metal Gear Rising, I didn't notice any stalling or any cutting while loading and while playing. that benig said, my laptop should run the game perfectly normal. I had the same problem with Need for Speed Rivals on my PC, it kept overheating after like 5 or 15 mins of playing but the laptop didn't.
But as for the Graphic card,
when I open the Advanced Settings in the screen reslotion window it says: Intel(R) HD Graphics 4000, but my laptop has the green "NVIDIA GEFORCE" sticker under the keyboard's numbers keys (I though that ment it has a powerful graphic card) -
I have a Windows 8.1 and it's even running slow. I'm a complete novice with computers (I've only had this one for 3 weeks) and I'm probably doing something wrong, but I haven't a clue what.
The tools are not responding when I try to use them. Some of them work sometimes, but not others and some don't work at all. I'm in a design class online and I need these tools desperately. I have an assignment due Monday and I'm losing the whole weekend because Tech Support is only open M-F!
Any help anyone can give me will be appreciated.
Thanks,
Rose IrelandMaybe these links provide some pertinent information.
Optimize performance | Photoshop CS4, CS5, CS6, CC
Photoshop: Basic Troubleshooting steps to fix most issues -
how do I run a unix command to quit ARD if it is running on a remote server I am trying to access?
killall "Remote Desktop"
Regards. -
I bought a mac game from www.gamehouse.com. Downloaded it and now trying to install to play. But everytime I go to install, a message keeps popping up telling me "Your account doesn't have sufficient access privileges. You will need to run this game once from an administrator account. Afterwards you will be able to run it from this account." I am already on the administrator account. Can someone please help?!
Only the developer can fix his apparently defective product.
-
Will it be able to run these games?
Hello everyone,
i've had a small question an its been worrying me a little bit for the past couple days, basically i'm working for UPS an basically getting all the seasonal money I can. I'm struck by getting a new laptop which would be a Mac Pro, Mac Air, or possibly just a iPad Air.
If I end up getting a mac, I'm thinking a Mac Pro will be better for me to go when I decide to run Windows on a part of it so I can continue to play the certain games I like to play from time to time when I get free time. I'm not sure if a Mac Air would also be able to handle it, so I've included it as well in the question. Basically I wanted to know if a Mac Air an a Mac Pro by default on purchasing on Apple's website would be enough to play these games without hardly any problems.
Vindictus
Combat Arms
Minecraft
7DaystoDie
Those are the games I'm playing around with when I have the time. If these two computers can't run these games on their default specs, I'm wondering would an Apple Store carry upgraded models? I've recently went into one of their stores an tried to use the "Can You Run IT" software on one of the Pro's and turns to find out that website is Windows based only, so basically couldn't find a Mac side at all.
Thanks for your help.ipad air is out for those games. a macbook pro would be the best choice. my kid plays world or warcraft on his pro. no issues
Peace, Clyde -
Run commands on remote Hyper-V host in different domain/network with powershell
Hi experts,
My Setup: Windows Server 2012 R2 / SCVMM 2012 managing localhost and other Hyper-V hosts
I need to run a script on the remote Hyper-V Host which is in different domain/workgroup using powershell.
I have tried
Invoke-SCScriptcommand cmdlet. But I am getting the below error
Error (2917)
Virtual Machine Manager cannot process the request because an error occurred while authenticating MY-PC-15.mydomain.local. Possible causes are:
1) The specified user name or password are not valid.
2) The Service Principal Name (SPN) for the remote computer name and port does not exist.
3) The client and remote computers are in different domains and there is not a two-way full trust between the two domains.
The network path was not found (0x80070035)
I tried the 'Run Script Command' option in the Host tab in VMM. But getting the same error.
Checked that it uses the 'Invoke-ScScriptcommand' PS cmdlet.
Could someone explain how to run scripts on remote Hyper-V host in different Domain/Perimeter network ?
Regards,
SaleemHi Saleem,
Please try to follow the article below to regarding using command "enter-pssession" across domains :
https://social.technet.microsoft.com/Forums/windowsserver/en-US/f60a29ef-925e-4712-9788-1f95e12c8cfc/forum-faq-introduce-windows-powershell-remoting?forum=winserverpowershell
(I tested it in my lab )
Best Regards,
Elton Ji
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] . -
Can I partition an external hard drive to run windows games on my Macbook Pro
I want to play windows games on steam but I am not sure if I want to partition my Macbooks hard drive. I heard you could partition external hard drives but didn't know if you could run games on that external hard drive. I have a lot of files on my computer and don't want to take time to move my files to the external hard drive, so can I buy the external hard drive and then partition it to run window games or do I have to partition my actual default hard drive?
Hi! If your macbook doesn't have a cd drive you need to have Windows 7 but an ISO image, you can't just copy the contents of the copy into a USB and expect it to work. There are many tutorials on internet on how to obtain an ISO image from an installation disc, for example: http://pcsupport.about.com/od/software-tools/a/create-iso-image-file.htm As for "just download Windows 7" (i suppose you mean free download) this is not the right place to ask, believe me. Try searching Windows 7 ISO on google, but be careful with what you download and form where, also you are going to download the Windows drivers from the Bootcamp program, try reading this manual to give yourself a better idea: http://manuals.info.apple.com/MANUALS/1000/MA1636/en_US/boot_camp_install-setup_ 10.8.pdf
Maybe you are looking for
-
Switching back to 4.02 from 4.1 - what's the best way?
Dear experts, since I am experiencing considerable problems using Apex 4.1, I would like to revert back to Apex 4.02 for the timebeing. Although I had a look into the documentation I would like to ask you about the most efficient way of rolling back
-
Hello All, I have completed the configuration related to FI activation with GTS. I have checked the indicator for activation in SPRO --> FI and also mapped partners, document type and item category. While transferring the master data for customer sys
-
is there any way to talk on ichat using a microphone and m-audiobox? thanks
-
Replace operator with long datatypes
hi. i am trying to run the following replace command, but i have not had experience of using it before. update UNI72TEST.SCMAPPING set attributes = trim(replace(attributes,'TLCLIVE','TLCTEST')) ERROR at line 1: ORA-00932: inconsistent datatypes: expe
-
Problem syncing pictures to ipad2
I keep getting this message when i try to sync my pics 'You do not have privelege to make changes'. Please help! Btw, tried restoring my ipad but still have the same problem.