[Paraview-developers] Remote rendering requirement of account privilege?

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Thu May 21 11:36:50 EDT 2015


Di,

Try running "xhost +" with sudo.



Utkarsh

On Wed, May 20, 2015 at 9:42 PM, Di Cheng <chengdi at imech.ac.cn> wrote:
> Utkarsh
>
> Thanks for your reply.
> I tried to use "xhost +", but did not succeed. I also tried to " export XAUTHORITY=~/.Xauthority ", it did not work either.
>
> here is some detail of my system.
> -------------------------------------------------------------------------------------------------------------------
> catdog at wei-H8QG6:~$ export DISPLAY=:0.0
> catdog at wei-H8QG6:~$ xhost +
> No protocol specified
> No protocol specified
> xhost:  unable to open display ":0.0"
> catdog at wei-H8QG6:~$ ps aux|grep X
> catdog   15983  0.0  0.0  13588   920 pts/12   S+   23:34   0:00 grep --color=auto X
> root     31779  0.3  0.0 156600 48244 tty7     Ss+  May13  36:32 /usr/bin/X :0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
> catdog at wei-H8QG6:~$ uname -a
> Linux wei-H8QG6 3.13.0-46-generic #79~precise1-Ubuntu SMP Tue Mar 10 20:25:33 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
> catdog at wei-H8QG6:~$ xeyes -display :0.0
> No protocol specified
> No protocol specified
> Error: Can't open display: :0.0
> catdog at wei-H8QG6:~$ xauth list
> wei-H8QG6/unix:15  MIT-MAGIC-COOKIE-1  936664cd6304286ff79270c271ed3189
> wei-H8QG6/unix:13  MIT-MAGIC-COOKIE-1  b11a44d6fb0786b816c73adf6bb0d361
> wei-H8QG6/unix:14  MIT-MAGIC-COOKIE-1  b11a44d6fb0786b816c73adf6bb0d361
> wei-H8QG6/unix:11  MIT-MAGIC-COOKIE-1  b77e756d05b97bdbade08e384c144a73
> -------------------------------------------------------------------------------------------------------------------
>
> -----Original Message-----
> From: Utkarsh Ayachit [mailto:utkarsh.ayachit at kitware.com]
> Sent: Wednesday, May 20, 2015 11:16 PM
> To: Di Cheng
> Cc: ParaView Developers
> Subject: Re: [Paraview-developers] Remote rendering requirement of account privilege?
>
> You may want to check this (and related documentation) out:
> http://www.x.org/archive/X11R6.8.0/doc/xhost.1.html
>
> Utkarsh
>
> On Mon, May 4, 2015 at 2:07 PM, Di Cheng <chengdi at imech.ac.cn> wrote:
>> Hi, All
>>
>> I am running a remote pvserver on the Ubuntu server 12.04, when I was using old account, it can be run in remote rendering mode with option: "-display localhost:0". When I login as another user, I cannot. And when I connect it from windows, it pops up a window with some information to tell me I cannot do remote rendering.
>>
>> I do not know how remote rendering works, but it seems it requires some account privileges. How can I solve this problem? I have compared those two account, new account belongs to more groups. What can I do to deal with this problem? Using sudo?
>>
>> Di CHENG (Ph.D. candidate)
>> Supersonic Combustion Group
>> State Key Laboratory of High Temperature Gas Dynamics Institute of
>> Mechanics, Chinese Academy of Sciences
>> ADDRESS: No.15 Beisihuanxi Road, Beijing (100190) P. R. China
>> E-mail: chengdi at imech.ac.cn
>> Phone: +86-10-82544053
>> Fax: +86-10-82544034
>>
>> 程迪 博士生
>> 超声速燃烧课题组
>> 高温气体动力学国家重点实验室
>> 中国科学院力学研究所
>> 地址:北京市海淀区北四环西路15号
>> 邮编:100190
>> 电子邮件:chengdi at imech.ac.cn
>> 电话:+86-10-82544053
>> 传真:+86-10-82544034
>>
>>
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Search the list archives at:
>> http://markmail.org/search/?q=Paraview-developers
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/paraview-developers
>
>


More information about the Paraview-developers mailing list