using daz studio 4.9 over remote desktop windows 10

I want to be able to launch daz studio from my laptop using remote desktop on my main computer. The problem is that my laptop doesn't have the required open gl support. So when I try to launch it I get an error about the open gl and Daz studio won't launch. If I start Daz studio with the main computer and then use remote desktop after studio has launched I am able to use studio with no problems. I could do this with 4.8 and had no problems.

Here are some ideas that i think possible might work if I can figure out how to do them, but I'm open to anything that works. If there is a way to prevent daz from checking for open gl version maybe this will fix my problem. Also, there might be some way to make sure that daz detects the host machines open gl version and not my laptop/remote desktop version. Maybe there is a way to set the remote desktop to appear to have a different open gl version.

I'm a little desperate here. Any solutions?

Comments

  • I found the solution at https://social.technet.microsoft.com/Forums/windowsserver/en-US/c8295ef8-3711-4576-9293-2c4965280165/opengl-and-remote-desktop?forum=winserverTS

    I have a nice batch file that kicks me off, restarts Daz and then when I reconnect, Daz Studio is working.

  • Cris PalominoCris Palomino Posts: 12,480
    edited June 2017
    Post edited by Cris Palomino on
  • Thank you, that's what I was originally looking for. Do you know what ,"this switch should be used with appropriate caution" is supposed to mean?

  • InkuboInkubo Posts: 745

    Woohoo! Thanks, guys! I just wrote support about this. Glad to know there's a solution!

  • Richard HaseltineRichard Haseltine Posts: 108,072

    Thank you, that's what I was originally looking for. Do you know what ,"this switch should be used with appropriate caution" is supposed to mean?

    As with leaving a non-remote machine to render, you should of course be sure there is no potential - due to position or lack of ventillation for example - for the machine to damage itsself, or cause damage to the surroundings.

  • One problem that I seem to have with the "-allowRemote" method is that the iray preveiw mode doesn't render the scene in the viewport. When I click render, it shows in the log that my nividia 1050ti is used to render the scene. I can also verify that the nvidia card's processor is maxed out and the memory usage increases while rendering an actual render.

     

    "-allowRemote" Iray preview viewport doesn't render scene; Actual Iray render uses remote GPU and renders scene

    With batch file, both work but I get kicked off remote session and I have to wait a until daz loads before I reconnect. Inconvenient but works completely.

    Am I missing a setting with the "-allowRemote" method?

  • InkuboInkubo Posts: 745

    For me, if I go to my workstation, start DS, then go to my laptop and connect remotely, DS works perfectly.

    But if I connect remotely and start DS with the -allowRemote switch, DS will start up and mostly work, but I can't use the mouse to select anything in the viewport. The Smart Content pane and the Scene pane work normally, and I can use Parameters to edit the scene. But the Active Pose tool won't work because I can't select any body parts or drag anything, and I can't use the Surfaces tool or position anything by dragging in the viewport.

  • InkuboInkubo Posts: 745

    I can also confirm Heinzer's Iray issue. If I start DS at the workstation, then manipulate it remotely, Iray works normally. But if I start DS remotely, Iray preview is black and HDRI backgrounds don't show up in other view modes.

  • Inkubo, if you are interested in trying the windows batch file I use, I can help you. It works the same as if you had physically launched the program on the actual remote machine.

    Basically, I took the information from the link and modified it.

    1. You have to be able to run the batch (bat) file I made as administrator.

    2. You will be shown the remote desktop session id, you type that in and hit enter.

    3. Your remote session will be ended. Wait until Daz has enough time to start. Then remote back in.

    If you want my bat file or help let me know.

  • InkuboInkubo Posts: 745

    Sure, I'll give it a try!

  • Do you know how to add Dazstudio.exe to the windows system path? If you can, you won't need to edit the batch file.

  • InkuboInkubo Posts: 745

    Yeah, I have no problem putting directories in the search path.

  • Use a plain text editor and copy this code save it as something .bat and make sure you run it as administrator. If you know what your doing, there is plenty of stuff you can remove if you want. Also the prompt needs the id typed in like rdp-tcp#18.

    @echo off
    qwinsta.exe
    set /p input="Enter the rdp-tcp#: "
    echo.
    echo Remote Desktop will be temporarily disconnected . . . please reconnect after a few seconds.
    echo.
    @echo on
    tscon.exe %input% /v /dest:console
    @echo off
    echo.
    echo Starting Daz Studio . . .
    @echo on
    start DAZStudio.exe
    @echo off
    echo.
    pause

    ----------

    @echo off
    if [%1]==[] goto DISCONTINUE
    echo.
    echo Remote Desktop will be temporarily disconnected . . . please reconnect after a few seconds.
    echo.
    pause
    @echo on
    tscon.exe %1 /v /dest:console
    @echo off
    echo.
    echo Starting MyProgram.exe . . .
    @echo on
    start DAZStudio.exe
    @echo off
    echo.
    pause
    goto FINISH

  • InkuboInkubo Posts: 745
    edited June 2017

    Thanks! It seems to work great. The instructions were a bit confusing because at first I was entering the RDP console number instead of the process ID, so I modified the file a bit to clarify. See what you think:

    @echo offecho.echo.qwinsta.exeecho.echo Please look at output above to find your session's rdp-tcp#,echo then look to the right to find its process ID. After youecho press Enter, your Remote Desktop session will be temporarilyecho disconnected. Please reconnect after a few seconds.echo.set /p input="Enter the rdp-tcp process ID: "@echo ontscon.exe %input% /v /dest:console@echo offecho Starting DAZ Studio...@echo onstart DAZStudio.exe@echo off
    Post edited by Inkubo on
  • You can change it however you like. If you want to see the original code it is in the link I posted above. My id changes each time I connect. So, I had to add the qwinsta.exe to show the session information and the prompt to type it in.

    I didn't realize I could just type the number 18. I've been typing the whole thing rdp-tcp#18.

    If you are going to share it you might want to add something about it being the line with your username and on mine it has a ">" symbol at the begining of the line.

  • If anyone is interested I have updated the batch file I use to work with the 4.11 beta.

     

    @echo off
    qwinsta.exe
    set /p input="Enter the rdp-tcp#: "
    echo.
    echo Remote Desktop will be temporarily disconnected . . . please reconnect after a few seconds.
    echo.
    @echo on
    tscon.exe %input% /v /dest:console
    @echo off
    echo.
    echo Starting Daz Studio . . .
    @echo on
    schtasks /create /tn "DAZStudio" /tr "C:\Program Files\DAZ 3D\DAZStudio4 Public Build\DAZStudio.exe" /sc daily /st 08:00:00 /ed 12/31/2018
    schtasks /run /tn DazStudio
    schtasks /delete /tn DazStudio /f
    @echo off
    echo.

Sign In or Register to comment.