Xterminal keyboard doesn't worked when using Sun Java Desktop System 3

Hello, Solaris Community!

We have Solaris 10 installed on Sun Blade 1000.

When connected to Gnome(Sun Java Desktop System 3) Xterminal from PC using X-Win v6.1 Xterminal client keyboard input doesn't work. Mouse works properly and there are no any another bugs. When connected to CDE Xterminal keyboard work fine. Have you any suggestions about it?

Sincerely yours, TafKoS

[406 byte] By [TafKoS] at [2007-11-26 0:44:18]
# 1
I'm in the same boat. I had to revert to 9 so I can't test it right now, but the same setup works under 9's gnome desktop, but under 10 and JDS 3 I have no keyboard from Cygwin/xfree. The keyboard and monitor for the sunblade work just fine.Rich Whiffen
richwhiffen at 2007-7-5 19:39:51 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 2
Any updates on this? I am having exactly the same issue. No keyboard input to SJD 3.Thanks!
mtkann at 2007-7-5 19:39:51 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 3
Im having the same problem with the GA version, worked fine with one of the older builds though.
dratillskogen at 2007-7-5 19:39:51 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 4
Does anyone have a fix for this yet or is the Java Desktop simply unusable?
asummerfield at 2007-7-5 19:39:51 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 5

I met the same problem:

when using Xterminal software, no keyboard response under

JDS in Solaris 10 GA version,though I am using commercial Xterminal software: Reflection X 11.0.0 from WRQ, so the problem is not restricted to only Cgywin or others alike.

Waiting for Sun's solution...

YFTC at 2007-7-5 19:39:51 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 6
Having the same problem. Originally I thought it was a XFree/Cygwin issue. See: http://forum.sun.com/thread.jspa?threadID=22674&tstart=0
ph0enix2002 at 2007-7-5 19:39:51 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 7
anyone heard anything from sun regarding this issue? (I heard that a patch was on its way)
dratillskogen at 2007-7-5 19:39:51 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 8
You can't use your keyboard, and I can't use my home, end, pageup, and pagedown keys inside of gnome-terminal form the system in question (not remotely). JDS has been a blowout of annoyances for me.
ProdosProgrammer at 2007-7-5 19:39:51 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 9
It's really beginning to bug me. Is Sun becoming like Microsoft (releasing a half finished product) ?
ph0enix2002 at 2007-7-5 19:39:51 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 10
Anyone found a workaround for this yet?
dratillskogen at 2007-7-5 19:39:51 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 11

> I can't use my home,

> end, pageup, and pagedown keys inside of

> gnome-terminal form the system in question (not

> remotely).

Solaris' xterm terminfo database entry does not define key

sequences for these keys.

Can be fixed by re-compiling the xterm entry, with khome, kend,

knp, kpp sequences defined:

mkdir /tmp/foo

env TERMINFO=/usr/share/lib/terminfo /bin/infocmp xterm > /tmp/foo/xterm.ti

echo ' knp=\E[6~, kpp=\E[5~, kend=\EOF, khome=\EOH, ' >> /tmp/foo/xterm.ti

env TERMINFO=/tmp/foo /bin/tic -v /tmp/foo/xterm.ti

env TERMINFO=/tmp/foo less /etc/termcap

For gnome-terminal, you must replace the original

/usr/share/lib/terminfo/x/xterm file with the new one in

/tmp/foo/x/xterm, then stop all gnome-terminal processes and

restart gnome-terminal.

JuergenKeil at 2007-7-5 19:39:51 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 12
i was rather hoping for a workaround for the original issue, keyboard under jds using exceed or pcxware for example..
dratillskogen at 2007-7-5 19:39:51 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 13
I have JDS working on a Intel box connecting to Exceed on Windows XP. I would be happy to compare configurations if that would help.Peter
smurf_99 at 2007-7-5 19:39:51 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 14
Im using JDS on Sparc HW so I dont think we can compare the setup im afraid, thanks for offering though!
dratillskogen at 2007-7-5 19:39:51 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 15

Got my keyboard working, not really sure how

After installing Solaris 10 3/05 and JDS 3 on a headless E450 I experienced the exact problem described in this post. I tried connecting using both Exceed and VNC and was not able to enter text from the keyboard after starting a JDS session. Now I am able to enter text, but unfortunately I'm not sure which change fixed the problem so I'll list the changes I made that may have had an affect. Since, the keyboard is now working I am not able to test these individually.

1. I noticed that I had inadvertantly left my .cshrc file owned by root. I fixed this.

2. I logged into the server using CDE rather than JDS. While logged into CDE the keyboard worked fine.

3. I opened the Launch/Preferences/Desktop Preferences/Keyboard/Behavior window and unchecked the Repeat Keys and Cursor Blinking check boxes, then closed the window.

After making the changes listed above I was am able to enter text into multiple applications while using JDS. I'm not sure which, if any, of these changes eliminated the problem.

I have also notice an error message each time I log in now. It says that the wnck-applet has unexpectedly quit and is then followed by: "The panel encoutered a problem while loading OAFIID:GNOME_ShowDesktopApplet Details: Unknown CORBA exception id: 'IDL:omg.org/CORBA/INV_OBJREF:1.0'

doug9ba at 2007-7-21 14:35:52 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 16

I am having the exact same issue trying to remotely login to a headless Ultra10 running Solaris10 build 74 (JDS- When logging into CDE...no probs).

I have tried the suggestions in these replies but to no avail.

It seems to be an incompatability between the kb extension and gnome as the dt session log states:

Window manager warning: Log level 32: could not find XKB extension.

Yet my Xsun process seems to have the kb extension activated:

/usr/openwin/bin/Xsun :0 -aud it 0 -nobanner +kb -auth /var/lib/gdm/:0.Xauth

Are we any closer to this one yet?

Cheers, db101

db101a at 2007-7-21 14:35:52 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 17
I have tried at least 6 different X Servers on 2 different PCs so this is certainly not X-Server related, but is some issue in the JDS. I have installed the GA release. Cygwin Xwin gives some additional hints and also points at gnome being the problem, but Im no closer yet...
SteveFlasbya at 2007-7-21 14:35:52 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 18
This problem also occurs when connecting using VNC. I'd love to hear about a solution.
BJLinehama at 2007-7-21 14:35:52 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 19
Has this been logged as a bug, does anyone know if anyone at Sun is actually doing anything about this.I have been having the same problem with connecting from a few different Xservers.
zbeeblea at 2007-7-21 14:35:52 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 20

I have the same problem with JDS3 on a SunFire E2900 (headless server). CDE keyboard works fine.

I found out something interesting though. If you install Soalris 10 on a box *with* a head, the same keyboard problem occurs until you log in *local* which then does something to make remote XDMCP access work from then on too. Of course, on a headless box this simply isn't an option.

Please post any patches to this thread!

stan.buchanana at 2007-7-21 14:35:52 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 21

> I have the same problem with JDS3 on a SunFire E2900

> (headless server). CDE keyboard works fine.

>

> I found out something interesting though. If you

> install Soalris 10 on a box *with* a head, the same

> keyboard problem occurs until you log in *local*

> which then does something to make remote XDMCP access

> work from then on too. Of course, on a headless box

> this simply isn't an option.

>

> Please post any patches to this thread!

I tried this on an ultra 5 and it still doesn't work.

Dan

zbeeblea at 2007-7-21 14:35:52 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 22

I've found this on SunSolve today and it's work:

A workaround is to log directly on the sparc machine (or remotely via a CDE or failsafe session).

run gconf-editor and remove all key defined in /apps/gnome_settings_daemon/keybindings

Then remotely login in a JDS 3 session, the key grab won't happen.

Support_Infrastructurea at 2007-7-21 14:35:52 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 23
unset the values or delete the values? there is not an option to delete anything... i tried unsetting, still no dice in JDS 3.
hhhelpa at 2007-7-21 14:35:52 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 24

I've unset the values, it create a file %gconf.xml in the directory $HOME/.gconf/apps/gnome_settings_daemon/keybindings

The file contains the following lines:

<?xml version="1.0"?>

<gconf>

<entry name="volume_up" mtime="1110896708" type="string">

<stringvalue></stringvalue>

</entry>

<entry name="volume_mute" mtime="1110896705" type="string">

<stringvalue></stringvalue>

</entry>

<entry name="volume_down" mtime="1110896702" type="string">

<stringvalue></stringvalue>

</entry>

<entry name="help" mtime="1110896698" type="string">

<stringvalue></stringvalue>

</entry>

</gconf>

Support_Infrastructurea at 2007-7-21 14:35:52 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 25
odd... when i unset there was only 1 value in the xml file... i added all of your entries and now it works.fantastic!
hhhelpa at 2007-7-21 14:35:52 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 26
Hmm, when I run gconf-editor it fails to build the directory structure you discuss. I must have some permission problem. Can anyone give me a hint?
SteveFlasbya at 2007-7-21 14:35:52 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 27
i just created the structure and then added the lines posted in the %gconf.xml file... seemed to work... however, this is still a bug, i cant imagine having to do this for every user
hhhelpa at 2007-7-21 14:35:52 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 28

> I've found this on SunSolve today and it's work:

>

> A workaround is to log directly on the sparc machine

> (or remotely via a CDE or failsafe session).

>

> run gconf-editor and remove all key defined in

> /apps/gnome_settings_daemon/keybindings

>

> Then remotely login in a JDS 3 session, the key grab

> won't happen.

It works for me, but do you have a link for the sunsolve article I had already looked and found nothing.

T

zbeeblea at 2007-7-21 14:35:52 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 29
These workarounds have not solved the issue for me. Even if they did, they are just workarounds, and not something we want to implement across hundreds of users.I have lodged a case with SUN support and I will report back on progress and a bugid as soon as I get one.
batruma at 2007-7-21 14:35:52 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 30

> These workarounds have not solved the issue for me.

> Even if they did, they are just workarounds, and not

> something we want to implement across hundreds of

> users.

>

> I have lodged a case with SUN support and I will

> report back on progress and a bugid as soon as I get

> one.

If you copy that file to relevant place in /etc/gconf/gconf.xml.defaults it will work for other users.

zbeeblea at 2007-7-21 14:35:57 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 31
I tied it and it does not work for me...even the path"$HOME/.gconf/apps/gnome_settings_daemon/keybindings"desnt even exists.
murilloaa at 2007-7-21 14:35:57 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 32

Same here, and creating it with the file inside has not worked for me. I get the following error on login:

Error activating XKB configuration.

Probably internal libxklavier or gnome-settings-daemon problem.

X server version data:

The Cygwin/X Project

60801000

If you report this situation as a bug, please include:

- The result of xprop -root | grep XKB

- The result of gconftool-2 -R /desktop/gnome/peripherals/keyboard/xkb

The output from the above xprop command (run by ssh'ing to the system and redirecting X to a local cygwin X sever on the PC):

_XKB_RULES_NAMES(STRING) = "xorg", "pc105", "us", "", ""

The output from the above gconftool-2 command is:

layouts = [us]

model = pc105

overrideSettings = false

options = []

Perhaps the problem is something to do with xkb thinking its a xorg server rather than the SUN X server - not sure why the xprop output has xorg in it - x86 uses xorg, but not the SPARC version.

batruma at 2007-7-21 14:35:57 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 33
Interestingly, when the screen is locked, I *can* type in my password to unlock it - but then the keyboard stops working. I also note when going to the menu and selecting logout, the bottom panel stop responding.
batruma at 2007-7-21 14:35:57 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 34

After some testing I think i've got it, it works for every user i've tried.

Create the file :

/etc/gconf/gconf.xml.defaults/apps/gnome_settings_daemon/keybindings/%gconf.xml

Put in it :

<?xml version="1.0"?>

<gconf>

<entry name="volume_up" mtime="1110896708" type="string">

<stringvalue></stringvalue>

</entry>

<entry name="volume_mute" mtime="1110896705" type="string">

<stringvalue></stringvalue>

</entry>

<entry name="volume_down" mtime="1110896702" type="string">

<stringvalue></stringvalue>

</entry>

<entry name="help" mtime="1110896698" type="string">

<stringvalue></stringvalue>

</entry>

</gconf>

Can anyone test this on a different machine. I've tried it on my Ultra 5 and seems to sort the problem on new and existing users.

Dan

zbeeblea at 2007-7-21 14:35:57 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 35

> I've unset the values, it create a file %gconf.xml in

> the directory

> $HOME/.gconf/apps/gnome_settings_daemon/keybindings

>

> The file contains the following lines:

>

> <?xml version="1.0"?>

> <gconf>

> <entry name="volume_up" mtime="1110896708"

> 0896708" type="string">

><stringvalue></stringvalue>

> </entry>

> <entry name="volume_mute" mtime="1110896705"

> 0896705" type="string">

><stringvalue></stringvalue>

> </entry>

> <entry name="volume_down" mtime="1110896702"

> 0896702" type="string">

><stringvalue></stringvalue>

> </entry>

> <entry name="help" mtime="1110896698"

> 0896698" type="string">

><stringvalue></stringvalue>

> </entry>

> </gconf>

This is quite intresting..., this folder did not exist in my $HOME, and even by creating it, with this %gconf.xml, the problem was still there....

But, when I change /etc/gconf/gconf.xml.defaults/apps/gnome_settings_daemon/keybindings/%gconf.xml with the values described..., I still receive an error message, but the keyboard works!!!

lanckwia at 2007-7-21 14:35:57 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 36

> After some testing I think i've got it, it works for

> every user i've tried.

> Create the file :

>

> /etc/gconf/gconf.xml.defaults/apps/gnome_settings_daem

> on/keybindings/%gconf.xml

>

> Put in it :

>

> <?xml version="1.0"?>

> <gconf>

> <entry name="volume_up" mtime="1110896708"

> type="string">

> <stringvalue></stringvalue>

> </entry>

> <entry name="volume_mute" mtime="1110896705"

> type="string">

> <stringvalue></stringvalue>

> </entry>

> <entry name="volume_down" mtime="1110896702"

> type="string">

> <stringvalue></stringvalue>

> </entry>

> <entry name="help" mtime="1110896698" type="string">

> <stringvalue></stringvalue>

> </entry>

> </gconf>

>

>

> Can anyone test this on a different machine. I've

> tried it on my Ultra 5 and seems to sort the problem

> on new and existing users.

>

> Dan

Hi There,

I just tried this on my older sun box (clone - Dual Ultra Sparc II - 400Mhz) and this worked like a charm. When I tried making these changes through the gconf-editor (to unset the keybindings) it would never set properly.

This has done the trick!

Thanks!

mcbain113a at 2007-7-21 14:35:57 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 37

Indeed, this also allowed me to login and use the keyboard, however I still get the xkb error on login. For a completely fresh, new user, this appears 8 times, thereafter on each login only once.

I still have the problem of the logout option not working. It simply hangs the "Java" start here button - is anyone else experiencing this?

My system is a V440 with 03/05 on it.

batruma at 2007-7-21 14:35:57 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 38
I agree, what a shame for SUN to release a new version of OS and have such a big bug, and the worst part is that they dont seem to care about it.The workarounds do not for for me either.
murilloaa at 2007-7-21 14:35:57 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 39
I think they do care, but it appears no one has taken the time to lodge a bug! I am now in touch with a SUN engineer who is working the problem, bug id: 6177509. I will let you know the outcome.
batruma at 2007-7-21 14:35:57 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 40
I also tried your workaround and it still works! I have a SF 280R and connect with Exceed to the machine... thank you very much
dansch83a at 2007-7-21 14:35:57 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 41
Has anyone know about a fix for this yet?I can find any patch for Solaris 10 as yet... any idea when?Thanks!
murilloaa at 2007-7-21 14:35:57 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 42

I tried your suggestion, but it did not work.

My machine:

SunOS xxxxx 5.10 Generic sun4u sparc SUNW,Sun-Fire-V440

My Xserver running on Windows is eXceed 7.0.

Can you undo your change and see if the problem reoccurs?

(I suspect there is some other trick or a combination of tricks

to get this to work. That single trick does not work for me.)

-David

davidulcma at 2007-7-21 14:35:57 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 43
I would like to retract my previous post.The suggested solution does work!Thanks.
davidulcma at 2007-7-21 14:35:57 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 44
>>I still have the problem of the logout option not working. It >>simply hangs the "Java" start here button - is anyone else >>experiencing this?Yes, that happens on my Ultra-10 as well.
ph0enix2002a at 2007-7-21 14:35:57 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 45

For anyones info, I spent several hours looking into this.

The sun doucment below exactly provides the solution, not that I understand why though.

http://sunsolve.sun.com/search/document.do?assetkey=1-9-81175-1&searchclaus e=

Prioe to this solution Itried many different PC X Servers with no success, CDE was fine. The file mentioned in the above document already existed but I removed it all and put the suggested values in. It works.

Using Solaris 10 and E450.

Simon

simon_tua at 2007-7-21 14:36:02 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 46

The solution provided resolves the keyboard problem, however I also get the same error cited previously:

the wnck-applet has unexpectedly quit and is then followed by: "The panel encoutered a problem while loading OAFIID:GNOME_ShowDesktopApplet Details: Unknown CORBA exception id: 'IDL:omg.org/CORBA/INV_OBJREF:1.0'

djpelletiera at 2007-7-21 14:36:03 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 47

Dan is the MAN!!!!!

I don't understand how the "volume" string values have anything to do with my keyboard not working in my Xterm session, but you were right on the money. It worked great for me. Thanks for saving me hours of agony!!!!

BTW...using Cygwin to connect to Sun Ultra 5

Brian

grahamtba at 2007-7-21 14:36:03 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 48
I have just tested it at sun sparc V440and it works :)many thanks
nadamaca at 2007-7-21 14:36:03 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 49

It worked for me as well.

I still get the dialogues about XKB and so on but I can type again.

I had Solaris 10 3/05 on a V240 and I was using X-Win v8 to connect to it.

There were entries in the .xml file already but they didn't include the emtpy string value portion.

I replaced them with the ones in this list and viola!

now to upgrade to 6/06.

jleesa at 2007-7-21 14:36:03 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 50

I found a way out:

Just replace fiel /etc/gconf/gconf.xml.defaults/apps/gnome_settings_daemon/keybindings/%gconf.xml with contents below:

<gconf>

<entry name="volume_up" mtime="1110896708" type="string">

<stringvalue></stringvalue>

</entry>

<entry name="volume_mute" mtime="1110896705" type="string">

<stringvalue></stringvalue>

</entry>

<entry name="volume_down" mtime="1110896702" type="string">

<stringvalue></stringvalue>

</entry>

<entry name="help" mtime="1110896698" type="string">

<stringvalue></stringvalue>

</entry>

</gconf>

save your file and relogin with your xmanager,you can use your xterminal now.

wish you good luck.

I found it on:http://sunsolve.sun.com/search/document.do?assetkey=1-9-81175-1

JiangJianga at 2007-7-21 14:36:03 > top of Java-index,Solaris Operating System,Solaris 10 Features...