Skip to main content
12 events
when toggle format what by license comment
Oct 16, 2019 at 21:52 comment added interestedparty333 logged in as myself (as opposed to root), running xhost si:localuser:root worked for me
Apr 6, 2019 at 1:23 history edited Rui F Ribeiro CC BY-SA 4.0
deleted 25 characters in body
Apr 6, 2019 at 1:08 history edited Rui F Ribeiro CC BY-SA 4.0
deleted 34 characters in body
Mar 17, 2018 at 23:30 comment added cbcoutinho @Huygens thanks for getting back to me. Regarding the rendering, ParaView has a server available with an offscreen rendering flag. Adding a dummy user with 'auto login' solved my problem
Mar 17, 2018 at 22:58 comment added Huygens @cbcoutinho X Window is a client server architecture. When you connect via ssh, your local workstation becomes the client X Window. You could use the xhost with unsafe protocols like rlogin but not ssh. You need to instruct ssh to do it for you. Either use the -X or (better?) -Y flag on ssh, it will do the proper redirection. Of course you then need a local C Server. However with GPU and OpenGL, I am not sure where the rendering/compute happens perhaps it’s on the client side, not the server one. Could be tricky.
Mar 13, 2018 at 20:55 comment added cbcoutinho @Huygens I have a workstation for simulating fluids that is also equipped with a GPU. I render the visualizations with ParaView, a program built on vtk, usually on the workstation itself. ParaView also provides a secure headless client/server rendering model through ssh, which I would like to take advantage of remote instead of using VNC. Without logging into the workstation and executing xhost, I can't utilize the GPU. That means that I can't reboot the machine remotely and still have access to the GPU.
Mar 12, 2018 at 21:50 comment added Huygens @cbcoutinho The above use case is when someone is logged on and wants to run an XWindow application as someone else on the same host. If you explain your use case (what is the problem you would like to solve) then I can potentially help you.
Mar 12, 2018 at 20:44 comment added cbcoutinho Where do you add the xhost si:localhost<user> command? If no users are logged on, then no one has an X server available to give permission to.
Dec 26, 2017 at 2:12 comment added Kalle Richter In my case foo was root, i.e. I had to run xhost si:localuser:root on Ubuntu 17.10.
Nov 15, 2017 at 8:57 history edited Huygens CC BY-SA 3.0
Correct typos, and background explanation (and potentially add a few more typos in the process)
Aug 19, 2015 at 11:58 history edited Huygens CC BY-SA 3.0
Add extra info (not directly related to the question but still helpful!
Aug 18, 2015 at 12:49 history answered Huygens CC BY-SA 3.0