Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Run UE4 from a headless Ubuntu 18.04 server via VNC


I am using an Ubuntu 18.04 server with 2 graphic cards:

nvidia-smi Tue Mar 5 12:23:04 2019 +-----------------------------------------------------------------------------+ | NVIDIA-SMI 396.82 Driver Version: 396.82 | |-------------------------------+----------------------+----------------------+ | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | |===============================+======================+======================| | 0 GeForce GTX 1080 Off | 00000000:01:00.0 Off | N/A | | 0% 29C P0 36W / 200W | 0MiB / 8119MiB | 0% Default | +-------------------------------+----------------------+----------------------+ | 1 GeForce GTX 1080 Off | 00000000:02:00.0 Off | N/A | | 0% 25C P0 36W / 200W | 0MiB / 8119MiB | 2% Default | +-------------------------------+----------------------+----------------------+

I am connecting to the server by vnc from the client's side and want to render and run simulations in UE4 following https://carla.readthedocs.io/en/latest/carla_headless/. However, when I run : vglrun -d :1.0 ~/UnrealEngine/Engine/Binaries/Linux/UE4Editor ~/UnrealEngine/AirSim/Unreal/Environments/Blocks/Blocks.uproject

it complains that " Cannot create OpenGL context. Check that the drivers and hardware support at least OpenGl 4.3 (or re-run with -opengl3). If I use -opengl3, it causes Segmentation fault and crashes. When I try to upgrade the OpenGL version (which currently is 3.3):

sudo apt-get dist-upgrade Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: libglx-mesa0 : Depends: libglapi-mesa (= 18.2.2-0ubuntu1~18.04.2) but 18.3.3-1ubuntu1~18.04~ppa1 is installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

I don't know how to solve the issue. Does anyone have some experience?

Thank you, Petra

Product Version: UE 4.18
more ▼

asked Mar 05 '19 at 12:08 PM in Linux

avatar image


(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question