WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Using tinycore as an RDP client, loaded from a PXE server.  (Read 8877 times)

Offline PCManiac

  • Newbie
  • *
  • Posts: 15
Using tinycore as an RDP client, loaded from a PXE server.
« on: July 03, 2015, 11:37:54 AM »
Hello again!

I have been using TC the last 2 weeks trying to refactor a Linux OS image for our thin clients.
Tiny Core looked to be up for the job as it is small and fast.

I could (with help here and there but mainly from the community and wiki) get a remastered gz file with the needed files to boot with no major problems those clients, loaded using PXE into RAM.

Those clients will be running a popup waiting till the user presses it to start working on a Windows terminal server through rdesktop.

I have configured the keymaps and I have the keyboard localization working but I am unable to make the numpad to work.
With bare TC (no X), numlock and the numpad numbers work as expected yet, I am unable to make it work on Xvesa.

Any suggestions?

Thank you once again.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: Using tinycore as an RDP client, loaded from a PXE server.
« Reply #1 on: July 04, 2015, 03:15:31 PM »
How do you mean? Does the led react, can you input numpad numbers to a shell, etc?

Xorg has more complete keyboard handling, but is larger.
The only barriers that can stop you are the ones you create yourself.

Offline PCManiac

  • Newbie
  • *
  • Posts: 15
Re: Using tinycore as an RDP client, loaded from a PXE server.
« Reply #2 on: July 06, 2015, 05:02:27 AM »
Greetings curaga,

Inside Xvesa, the LED does not "react" nor I can input numpad numbers.
If I change to the Shell (Ctrl+Alt+F1 for instance) it does work.

Yeah.. Xorg would render the image to be too big.. :\

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: Using tinycore as an RDP client, loaded from a PXE server.
« Reply #3 on: July 06, 2015, 05:59:29 AM »
I meant a shell in X, ie aterm, to isolate if it's RDP or any X app. Maybe also try xev (found in Xorg-7.7-bin).
The only barriers that can stop you are the ones you create yourself.

Offline PCManiac

  • Newbie
  • *
  • Posts: 15
Re: Using tinycore as an RDP client, loaded from a PXE server.
« Reply #4 on: July 07, 2015, 01:07:57 PM »
I just tried on aterm and it does indeed work there. But the keyboard led is dead.
I just noticed too that if I start rdesktop with numlock on (keypad writing numbers) it stays like that.. at least, until some one presses it again where it reverts to the old function.

And noticed as well, and this may be a show stopper for me, the caps lock LED doesn't work properly either.

Do you have any clue how the ppl from thin station deal with keyboard? (well, with the whole embedded OS, keeping it so small)
Our aged terminals use an old thin station image but it deals with the keyboard issues pretty well.

Thank you.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Using tinycore as an RDP client, loaded from a PXE server.
« Reply #5 on: July 07, 2015, 01:27:46 PM »
Is this a PS2 keyboard, or a USB keyboard?

Offline PCManiac

  • Newbie
  • *
  • Posts: 15
Re: Using tinycore as an RDP client, loaded from a PXE server.
« Reply #6 on: July 08, 2015, 04:04:34 AM »
gerald_clark: PS2 keyboard

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Using tinycore as an RDP client, loaded from a PXE server.
« Reply #7 on: July 08, 2015, 08:56:27 AM »
Try a USB keyboard.

Offline PCManiac

  • Newbie
  • *
  • Posts: 15
Re: Using tinycore as an RDP client, loaded from a PXE server.
« Reply #8 on: July 09, 2015, 06:32:12 AM »
Same issue unfortunately..  :-[

Offline Zendrael

  • Sr. Member
  • ****
  • Posts: 363
    • Zendrael's home of projects
Re: Using tinycore as an RDP client, loaded from a PXE server.
« Reply #9 on: July 14, 2015, 07:07:55 AM »
Hi!
Maybe a silly question but, are you using some keyboard configuration other than english with boot codes?

Offline PCManiac

  • Newbie
  • *
  • Posts: 15
Re: Using tinycore as an RDP client, loaded from a PXE server.
« Reply #10 on: July 27, 2015, 07:59:30 AM »
I apologize for my absence but I have been on vacations  :D

yes, I am, as quoted
Code: [Select]
prompt
default linux

label linux
  kernel /test1/vmlinuz
  append initrd=/test1/core.gz tce=/cde ramdisk_size=9216 noapic acpi=off kmap=pt-latin9

Offline PCManiac

  • Newbie
  • *
  • Posts: 15
Re: Using tinycore as an RDP client, loaded from a PXE server.
« Reply #11 on: August 04, 2015, 04:05:56 AM »
Any clue, anyone? :/

Offline Alatun

  • Newbie
  • *
  • Posts: 41
Re: Using tinycore as an RDP client, loaded from a PXE server.
« Reply #12 on: September 16, 2015, 04:51:54 AM »
I'm also using Tinycore with RDP and noticed the same problem. I also had problems with the support for Window Menu Key, etc.

I could fix the problem with the Windows special keys with xmodmap.  After multiple hours of research I found out that the
Num_Lock problem seems to be a bug/restriction of the Xvesa (TinyX) server. Seems the Num_Lock has been hard coded using the number keys.

When using Xorg Num_Lock is working as it should (also when connected with RDP).


Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: Using tinycore as an RDP client, loaded from a PXE server.
« Reply #13 on: September 16, 2015, 10:58:45 AM »
After multiple hours of research I found out that the
Num_Lock problem seems to be a bug/restriction of the Xvesa (TinyX) server. Seems the Num_Lock has been hard coded using the number keys.

It's actually the reverse. The kernel sends a bare code, and each keyboard driver has to translate depending on the lock led state. Xorg keyboard drivers had hardcoded such translation, tinyX hadn't (until July when I added such - only in git for now, extensions not updated).

I mainly use laptops that do not have a numpad or any Windows keys, and so far I'm the only contributor.
The only barriers that can stop you are the ones you create yourself.

Offline Alatun

  • Newbie
  • *
  • Posts: 41
Re: Using tinycore as an RDP client, loaded from a PXE server.
« Reply #14 on: September 16, 2015, 11:25:50 AM »
It's actually the reverse. The kernel sends a bare code, and each keyboard driver has to translate depending on the lock led state. Xorg keyboard drivers had hardcoded such translation, tinyX hadn't (until July when I added such - only in git for now, extensions not updated).

It was just a guess. But TinyX is different here and it's not the usual behavior that end users expect.

Maybe we can get the fixed version in the near future?