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.
I want to run eclipse but I can't, I get the following message: which is almost the same like what Igget if I run realplayer or a Java programm!
I have debian with kernel 2.6.6-1-686
thak you!
this is the message :
Warning: XmParseMappingCreate() is not implemented yet!
Warning: XmParseMappingCreate() is not implemented yet!
Warning: translation table syntax error: Unknown keysym name: osfActivate
Warning: ... found while parsing ':<Key>osfActivate: PrimitiveParentActivate()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name: osfHelp
Warning: ... found while parsing ':<Key>osfHelp: Help()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name: osfActivate
Warning: ... found while parsing ':<Key>osfActivate: PrimitiveParentActivate()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name: osfCancel
Warning: ... found while parsing ':<Key>osfCancel: MenuEscape()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name: osfSelect
Warning: ... found while parsing ':<Key>osfSelect: ArmAndActivate()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name: osfActivate
Warning: ... found while parsing ':<Key>osfActivate: PrimitiveParentActivate()'
Warning: String to TranslationTable conversion encountered errors
Warning: XtRemoveGrab asked to remove a widget not on the list
Warning: XtRemoveGrab asked to remove a widget not on the list
Warning: translation table syntax error: Unknown keysym name: osfActivate
Warning: ... found while parsing ':<Key>osfActivate: ManagerParentActivate()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name: osfBeginLine
Warning: ... found while parsing ':<Key>osfBeginLine: ManagerGadgetTraverseHome()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name: osfBeginLine
Warning: ... found while parsing ':c <Key>osfBeginLine: SWTopLineGrab()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name: osfActivate
Warning: ... found while parsing ':<Key>osfActivate: ManagerParentActivate()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name: osfActivate
Warning: ... found while parsing ':<Key>osfActivate: PrimitiveParentActivate()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name: osfHelp
Warning: ... found while parsing ':<Key>osfHelp: ManagerGadgetHelp()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name: osfHelp
Warning: ... found while parsing ':<Key>osfHelp: ManagerGadgetHelp()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name: osfActivate
Warning: ... found while parsing ':<Key>osfActivate: DrawingAreaInput() ManagerParentActivate()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name: osfUp
Warning: ... found while parsing ':<Key>osfUp: DrawingAreaInput() ManagerGadgetTraverseUp()'
Warning: String to TranslationTable conversion encountered errors
Warning: XtRemoveGrab asked to remove a widget not on the list
Warning: XtRemoveGrab asked to remove a widget not on the list
Warning: XtRemoveGrab asked to remove a widget not on the list
Warning: XtRemoveGrab asked to remove a widget not on the list
Warning: XtRemoveGrab asked to remove a widget not on the list
Warning: XtRemoveGrab asked to remove a widget not on the list
Warning: translation table syntax error: Unknown keysym name: osfLeft
Warning: ... found while parsing ':c <Key>osfLeft: ListLeftPage()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name: osfBeginLine
Warning: ... found while parsing 's c <Key>osfBeginLine: ListBeginDataExtend()'
Warning: String to TranslationTable conversion encountered errors
Warning: XtRemoveGrab asked to remove a widget not on the list
Warning: XtRemoveGrab asked to remove a widget not on the list
Warning: XtRemoveGrab asked to remove a widget not on the list
Warning: XtRemoveGrab asked to remove a widget not on the list
Warning: translation table syntax error: Unknown keysym name: osfPrimaryPaste
Warning: ... found while parsing ':m <Key>osfPrimaryPaste: cut-primary()'
Warning: String to TranslationTable conversion encountered errors
Warning: XtRemoveGrab asked to remove a widget not on the list
Warning: XtRemoveGrab asked to remove a widget not on the list
Warning: translation table syntax error: Unknown keysym name: osfUp
Warning: ... found while parsing '<Key>osfUp:'
Warning: String to TranslationTable conversion encountered errors
I installed j2sdk1.4.2_04 and j2re1.4.2_04 in /usr/local/
I have downloaded the .bin file from the sun website, then i have made it executable then I have run it, after that Ihave made links for java, javac and appletviewer in the 7usr/bin/ folder
I had no errors!
Did you set PATH and CLASSPATH environment variables? I'm not sure that setting links is good enough. PATH should point to your java/bin directory and CLASSPATH should point to the java directory.
are you sure that is java that cause the problem ?
Actually I'm not sure at all, I was just suggesting starting with the basics. You know, if it doesn't turn on the first thing to check is that its plugged in.
Anyway, there are two things I would do at this point. First, I'd try to run a simple java program (a "Hello World" kind of thing) just to make sure that Java works. If even a really simple java program doesn't work, I'd download a fresh copy and re-install. In your original post you say that any java program gives you this error, so my suspicion is that something got screwed up with Java either in the download or the install. The second thing I would do is trash the existing installation of Eclipse, download a fresh copy and try installing that again, although I'd wait to do that until I was sure Java itself was working correctly.
sorry I haven't mentioned that: the all java Programms runs, those an the command without warnings but those whith GUI with warnings,
the same kind of warnings come also with gv or realplayer which I guess don't use Java!
Well, if the problem is with graphical programs, but not command line, that suggests something more along the lines of your X environment/window manager or X itself. Do you get the same kind of errors if you run one of these programs in a different environment? I'd also start doing some digging in your X logs and see if there is some more specific complaining there.
And in case you're wondering, yes I am fishing here.......
I don't know if that help but I have remarked that I can't run gui_programms as superuser! so I have typed "xhost +localhost" as a user but I still have the same problem :
Xlib: connection to ":0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
Failed to open your X display. Please try setting your DISPLAY environment
variable and try again.
also wenn I open a textfile whith vi as su I get the message:
Xlib: connection to ":0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
Xlib: connection to ":0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
Xlib: connection to ":0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
That is really strange. I did a bit of searching and in every case the solution was xhost +. The one odd exception I saw was a guy who said that the permissions on his home directory were wrong (they were set to root instead of the user) and changing them took care of it. Have you messed with the xauth file? I believe that is the preferred method of controlling access to X.
So can you run graphical programs as a normal user instead of su?
it works with xhost +localhost, I can jet run graphical programs as su whithout warnings even eclipse works(as su),
but I still have the problem as a user; I can run graphical programs but I can't run eclipse and the programms which run still giving the same warnings!
it works jet also for normal users;
the users had no permission to read the /usr/lib/X11/XKeysymDB file --w------- so I have just give with : "...#chmod 644 /usr/lib/X11/XKeysymDB" the permission to the users to read the file "XKeysymDB" -rw-r--r--!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.