Warning: no X rendering available

Asked by Yaswanth Kalepu

I am remotely accessing a linux VDI (ubuntu 18.08) from my windows system using VMware Horizon Client

The details are as follows:

deXXXXXX@grc-bngvdiglXXX:~$ yade

Welcome to Yade 2018.02b
Warning: no X rendering available (see https://bbs.archlinux.org/viewtopic.php?id=13189)
TCP python prompt on localhost:9000, auth cookie `kseacd'
XMLRPC info provider on http://localhost:21000
[[ ^L clears screen, ^U kills line. F8 plot. ]]

I tried:
1. Removing the .ICEauthority file
2. Create a new .Xauthority file in the user home directory
But the problem still exist.

https://answers.launchpad.net/yade/+question/578465

I tried
https://answers.launchpad.net/yade/+question/658861

deXXXXXX@grc-bngvdiglXXX:~$ echo $XAUTHORITY
/var/run/gdm3/auth-for-deXXXXX-ZYzzPB/database
deXXXXXX@grc-bngvdiglXXX:~$ cat `echo $XAUTHORITY`
�� 127.0.0.1100MIT-MAGIC-COOKIE-1��C���f��\�
deXXXXX@grc-bngvdiglXXX:~$ cat ~/.Xauthority
deXXXXX@grc-bngvdiglXXX:~$

But still the warning persists.

deXXXXX@grc-bngvdiglXXX:~$ yade
Welcome to Yade 2018.02b
Warning: no X rendering available (see https://bbs.archlinux.org/viewtopic.php?id=13189)
TCP python prompt on localhost:9001, auth cookie `ascyus'
XMLRPC info provider on http://localhost:21001
[[ ^L clears screen, ^U kills line. F8 plot. ]]

Question information

Language:
English Edit question
Status:
Solved
For:
Yade Edit question
Assignee:
No assignee Edit question
Solved by:
Yaswanth Kalepu
Solved:
Last query:
Last reply:
Revision history for this message
Jan Stránský (honzik) said :
#1

Hello,
is it a problem (it is just a warning)? Like are you able to run yade simulations?
thanks
Jan

Revision history for this message
Yaswanth Kalepu (yaswanthkalepu) said :
#2

Actually I need to generate powder bed. So, I need data of sphere radius and location after running
1. gravity deposition and
2. Oedometric test.

But, In the tutorial it shows a video of what is happening. But, I do not see any of this when I run.

Also, where is O.SaveTmp() saving the data. How to access it?

Revision history for this message
Jan Stránský (honzik) said :
#3

Hello,

as this question is about "Warning: no X rendering available", it should stay within the topic.
If you have another question(s) (saving data and load O.saveTmp()), please open a new question(s) [1].

> But, In the tutorial it shows a video of what is happening. But, I do not see any of this when I run.

Yes, because "no X rendering available"
**My** simple answer is "do not use graphics for remote access".
Please describe your usage more in detail.
- Can you use Yade locally?
- How do you connect to the remote linux?
- ...

cheers
Jan

[1] https://www.yade-dem.org/wiki/Howtoask

Revision history for this message
Yaswanth Kalepu (yaswanthkalepu) said :
#4

No, Linux OS is virtually present on an server. I access it remotely. I cannot locally access it.

Revision history for this message
Jan Stránský (honzik) said :
#5

Yes, that you cannot access locally a remote server is clear :-)

My question was if you can use YADE locally, e.g. using Linux in virtualbox, using another computer with Linux, using WSL (Windows subsystem for Linux), .........

cheers
Jan

Revision history for this message
Yaswanth Kalepu (yaswanthkalepu) said :
#6

I use VMware Horizon Client software in Windows laptop to access Yade(which is installed in Linux OS present in a server).

Revision history for this message
Jan Stránský (honzik) said :
#7

Thanks for the info , I think the remote part of the question is clear :-)

Now the local part :-) can you run Yade locally on a computer? E.g.
- no, because the computer is from job and I am not allowed to install anything
- yes, I can use my second laptop with linux
- yes, I can use my second laptop with windows and virtualbox
- yes, I can install WSL [1] and Yade
- ...

thanks
Jan

[1] https://docs.microsoft.com/en-us/windows/wsl/about

Revision history for this message
Yaswanth Kalepu (yaswanthkalepu) said :
#8

No, because the computer is from job and I am not allowed to install anything

Revision history for this message
Jan Stránský (honzik) said :
#9

Thanks for the information, now it makes sense to bother with graphics on a remote machine..

How do you connect to the remote machine (ssh, putty)?
Do you (or somebody else) use graphics on the remote machine (in a different context)? (one reason is that the system simply does not provide graphics..)

cheers
Jan

Revision history for this message
Yaswanth Kalepu (yaswanthkalepu) said :
#10

I use a software named "VMware Horizon Client". I enter the virtual Linux desktop id of the server and password. Then, I will get ubuntu gui opened.

Revision history for this message
Jan Stránský (honzik) said :
#11

Ok, if you use GUI, than "not providing graphics" is not the reason..

If you start Yade from terminal, what happens after
yade.qt.Controller()
yade.qt.View()
commands?