0
$\begingroup$

I have installed compressed package from website, but when I executed the code ./blender from Ubuntu on a cloud server, ref error occurs.

Unable to open a display 
Aborted (core dumped)

I checked the contents of the environment variable DISPLAY with the command echo $DISPLAY on the terminal but it displays nothing:

enter image description here

The following is the output when running ./blender:

enter image description here

$\endgroup$
8
  • $\begingroup$ what output do you get when running echo $DISPLAY? can you also include a screenshot of your terminal window $\endgroup$ Jul 21, 2022 at 4:30
  • $\begingroup$ Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking. $\endgroup$
    – Community Bot
    Jul 21, 2022 at 9:37
  • $\begingroup$ I want to run blender,but I don't know how to run it correctly. $\endgroup$
    – STRUGGLE
    Jul 22, 2022 at 5:24
  • $\begingroup$ @STRUGGLE you are root in the screenshot, don't run as root. run as user. if you are a user what does echo $DISPLAY output? still empty? Try running setenv DISPLAY :0.0; export DISPLAY $\endgroup$ Jul 22, 2022 at 5:47
  • $\begingroup$ Oh you are running blender from another server. You need to enable X11 Forwarding look here how to configure unix.stackexchange.com/questions/12755/… $\endgroup$ Jul 22, 2022 at 6:07

1 Answer 1

0
$\begingroup$

You need to enable X11 Forwarding in order to run graphical applications from a server.

X11 forwarding is a mechanism that allows a user to start up remote applications, and then forward the application display to their local machine. It enables you to run GUIs from a local server. It’s essentially remote desktop software that looks better on your screen and is easier to work with.

Check this thread on how to configure this How to forward X over SSH to run graphics applications remotely?

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .