Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hi all,
im unable to open pdf documents,(with pdf viewer,kghostview ,kpdf)from root but im able to do so as a user,(just like mozilla post),is there any way to open the document,i think all this is because of shutting down system without closing the applications that were currently running in root......so is there any way to make all of them working???EARLIER THEY WERE ALL WORKING......how could i correct this??
Last edited by majji.hari; 12-17-2007 at 09:49 AM.
Dude, don't use GUI apps as root. It's a bad practice, and it'll bite you sooner or later.
But, if you insist, you can. Since you gave no hint, I presume it's about access control. So, when you login, type this in your terminal:
xhost +
All access control on your screen will be disabled, and root will be able to open windows. And everyone else on the Internet, as a matter of fact So, you'd want to do this:
after trying what u have mentioned i got the following error
(gpdf:5284): Bonobo-WARNING **:Activation exception 'child process did not give an error message,unknown failure occured'.....
what to do now.....
when im trying to open pdf from console or directly by clicking it im getting a plain window(of page size) on screen with no page on it....it is standing still until closed....
yes i agree with ur suggestion for use of GNU in root im able to open pdfs by a click or in console with ease as general user.
the actual error msg in console
-----------------------------------------------------------
[root@localhost ~]# xhost +localhost
localhost being added to access control list
[root@localhost ~]# gpdf gan2.pdf
(gpdf:3584): Bonobo-WARNING **: Activation exception 'Child process did not give an error message, unknown failure occurred'
Last edited by majji.hari; 12-18-2007 at 10:23 AM.
Ok, you've just made me install gpdf, so I could see what's going on
It fire's up just fine. Well, it seems to me that you have some deeper issues here. Try to uninstall gpdf and install it again, maybe you've killed some dependecies for it. Or install xpdf.
It probably has something to do with pathing. If you are su'ing to root then you are probably not getting everything set properly. try su -l and see if that fixes the issue.
You can easily kill your system with high-level tools when using them as root, and that would be a shock. So, take this as an advice from your computer
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.