How to execute matlab program in different account user in Ubuntu
3 views (last 30 days)
Show older comments
I have installed Matlab R2013b in Ubuntu system 64 bit arch. It was installed from root user. Now i can open GUI matlab and Execute programs in terminal mode, but only from root user. I cant open GUI and I cant execute programs in different user (Hadoop). I gave all permission for this user eventhough i got error. For example If i run a program like simple J=imread('/usr/a.jpg'); imwrite(J,'/usr/new.jpg'); imshow(J);
It works perfectly in root user. But in hadoop user it gives error like this
No protocol specified No protocol specified Warning: Unable to open display ':0.0'. You will not be able to display graphics on the screen. Warning: No window system found. Java option 'MWT' ignored.
< M A T L A B (R) >
Copyright 1984-2013 The MathWorks, Inc.
R2013b (8.2.0.701) 64-bit (glnxa64)
August 13, 2013
No window system found. Java option 'MWT' ignored.
To get started, type one of these: helpwin, helpdesk, or demo. For product information, visit www.mathworks.com.
{Error using imshow (line 208) IMSHOW unable to display image.
}
This is from log file. Please anyone suggest me to solve this problem. I want to execute all my commands in hadoop user only. After that I have to implement this in grid computing platform. Thanks in advance for your help. >>
3 Comments
Answers (0)
See Also
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!