# Using ROOT and LXPLUS

**URL:** <https://root-forum.cern.ch/t/using-root-and-lxplus/51275>\
**Category:** Newbie\
**Created:** [August 22, 2022, 12:52pm UTC](https://root-forum.cern.ch/t/using-root-and-lxplus/51275 "2022-08-22T12:52:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![npoliaru](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/npoliaru/32/30653_2.png) [@npoliaru](https://root-forum.cern.ch/u/npoliaru)\
**Post date:** [August 22, 2022, 12:52pm UTC](https://root-forum.cern.ch/t/using-root-and-lxplus/51275/1 "2022-08-22T12:52:46Z")

</div>

Hello! I am trying to use root with LXPLUS virtual machine and I am having troubles with it.  
I’ve made a program that creates a graph using data from .csv file. The problem is I can’t see the graph using this machine. Is it even possible?

The next problem is with “fit” functions. I tried using them on my PC root and they worked well, but I get problems on the machine. Like this:

Warning in : Abnormal termination of minimization.  
FCN=4.19015e+06 FROM MIGRAD STATUS=FAILED 104 CALLS 105 TOTAL  
EDM=40888.5 STRATEGY= 1 ERR MATRIX APPROXIMATE  
EXT PARAMETER APPROXIMATE STEP FIRST  
NO. NAME VALUE ERROR SIZE DERIVATIVE  
1 p0 6.90297e-02 8.33158e-04 0.00000e+00 -4.85404e+05  
2 p1 8.00000e+00 1.93352e+07 0.00000e+00 1.18376e-12  
FCN=1.21367 FROM MIGRAD STATUS=CONVERGED 122 CALLS 123 TOTAL  
EDM=9.5269e-08 STRATEGY= 1 ERROR MATRIX ACCURATE  
EXT PARAMETER STEP FIRST  
NO. NAME VALUE ERROR SIZE DERIVATIVE  
1 p0 1.23863e+00 1.27093e-01 9.12131e-05 -2.40140e-03  
2 p1 7.42646e+00 8.31739e-02 5.98429e-05 3.27141e-03

_ROOT Version:_ Not Provided  
_Platform:_ LXPLUS  
_Compiler:_ Not Provided

* * *

---

<div class="post-metadata">

**Author:** ![Axel](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/axel/32/11084_2.png) [@Axel](https://root-forum.cern.ch/u/Axel)\
**Post date:** [August 22, 2022, 1:59pm UTC](https://root-forum.cern.ch/t/using-root-and-lxplus/51275/2 "2022-08-22T13:59:52Z")

</div>

How do you log onto lxplus, what do you connect from (Linux / macOS / Windows)?

There’s an issue with the fit, that’s probably unrelated.

Can you open any graphics from lxplus, like on the terminal: `xterm`?

---

<div class="post-metadata">

**Author:** ![npoliaru](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/npoliaru/32/30653_2.png) [@npoliaru](https://root-forum.cern.ch/u/npoliaru)\
**Post date:** [August 26, 2022, 10:18am UTC](https://root-forum.cern.ch/t/using-root-and-lxplus/51275/3 "2022-08-26T10:18:31Z")

</div>

I am logging onto LXPLUS from Windows PC via cmd.  
I typed xterm and got this:  
xterm: Xt error: Can’t open display:  
xterm: DISPLAY is not set

What did You mean about the “fit”?  
Thanks for response

---

<div class="post-metadata">

**Author:** ![ferhue](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/ferhue/32/29462_2.png) [@ferhue](https://root-forum.cern.ch/u/ferhue)\
**Post date:** [August 26, 2022, 8:23pm UTC](https://root-forum.cern.ch/t/using-root-and-lxplus/51275/4 "2022-08-26T20:23:28Z")

</div>

Try using “mobaxterm” to log into lxplus, it comes directly with graphic support so that you will see the graphs.

---

<div class="post-metadata">

**Author:** ![Axel](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/axel/32/11084_2.png) [@Axel](https://root-forum.cern.ch/u/Axel)\
**Post date:** [September 1, 2022, 10:59am UTC](https://root-forum.cern.ch/t/using-root-and-lxplus/51275/5 "2022-09-01T10:59:49Z")

</div>

Or the open source [Xming](http://www.straightrunning.com/XmingNotes/) or [VcXsrv](https://sourceforge.net/projects/vcxsrv/).

…or just use WSL2 - that’s probably the easiest way.

> [@npoliaru](#):
>
> What did You mean about the “fit”?

This:

> [@npoliaru](#):
>
> Warning in : Abnormal termination of minimization.
