WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [Project] Rdesktop Kiosk for PXE ThinClients: Xvesa and Xorg  (Read 4207 times)

Offline brunok

  • Newbie
  • *
  • Posts: 36
[Project] Rdesktop Kiosk for PXE ThinClients: Xvesa and Xorg
« on: December 01, 2020, 04:59:05 PM »
Hi,

A while ago, i created a rdesktop kiosk for using with thinclients via PXE8)

It is working like a charm! But i had a new problem:  Dual monitor.


The image i have is with Xvesa and i can't manage the monitors (xrandr). I need to create a new image with Xorg.

Any easy method to replace Xvesa with Xorg in core.gz?  ;D



If anyone is interested in participating in the project, i'm available.

Posso tratar em português, se algum brasileiro tiver interesse.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11691
Re: [Project] Rdesktop Kiosk for PXE ThinClients: Xvesa and Xorg
« Reply #1 on: December 01, 2020, 10:20:16 PM »
Hi brunok
I think the first thing you should do is boot one of your clients from a USB thumb drive. That will make it easier to
figure out what you need to get Xorg running. Based on you previous topics, I take it you are still using TC8. One
thing you should read is the  .info  file:
http://tinycorelinux.net/8.x/x86/tcz/Xorg-7.7.tcz.info
The TC4 version of the  .info  file provides a little more information:
http://tinycorelinux.net/4.x/x86/tcz/Xorg-7.6.tcz.info
You'll also want one of these video extensions:
Code: [Select]
xf86-video-amdgpu.tcz
xf86-video-ati.tcz
xf86-video-intel.tcz
xf86-video-nouveau.tcz
xf86-video-nv.tcz
xf86-video-vesa.tcz
xf86-video-vmware.tcz

The attached file lists all of the dependencies (both direct an indirect) for Xorg that will need to be added to core.gz.

... Any easy method to replace Xvesa with Xorg in core.gz?  ;D ...
Remove:
Code: [Select]
/usr/local/bin/XvesaUndo the changes you made due to this:
Code: [Select]
usr/local/tce.installed/XvesaAdd the extensions listed in the attached file.
Check those extensions for  usr/local/tce.installed/  scripts.
Add the video extension you selected.
Add any  Xorg config  files you may have created.
« Last Edit: December 02, 2020, 03:50:19 PM by Rich »

Offline brunok

  • Newbie
  • *
  • Posts: 36
Re: [Project] Rdesktop Kiosk for PXE ThinClients: Xvesa and Xorg
« Reply #2 on: December 02, 2020, 03:24:39 PM »
Hi,

Thanks for reply!


I made new image with Xorg. In test now.


Please, fix your coment line for "remove Xvesa".

Right path: /usr/local/bin/Xvesa



Plus info:  Need adjust /home/tc/.xsession

Changed command Xvesa line with Xorg.
« Last Edit: December 02, 2020, 03:38:39 PM by brunok »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11691
Re: [Project] Rdesktop Kiosk for PXE ThinClients: Xvesa and Xorg
« Reply #3 on: December 02, 2020, 03:55:44 PM »
Hi brunok
... Please, fix your coment line for "remove Xvesa".

Right path: /usr/local/bin/Xvesa ...
Done. I should have realized that was wrong when I copied it from the  Xvesa.tcz.list  file.

Offline brunok

  • Newbie
  • *
  • Posts: 36
Re: [Project] Rdesktop Kiosk for PXE ThinClients: Xvesa and Xorg
« Reply #4 on: December 02, 2020, 04:05:04 PM »
My thinclient is running new image (with Xorg), but, can't use dual monitor.

Something wrong.


Can't manage with xrandr VGA-1 / DVI-1.


Some experience with dual monitor? Any idea about this?
« Last Edit: December 02, 2020, 04:18:18 PM by brunok »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11691
Re: [Project] Rdesktop Kiosk for PXE ThinClients: Xvesa and Xorg
« Reply #5 on: December 02, 2020, 04:23:24 PM »
Hi brunok
I don't have any hardware that supports dual monitors. Have you looked at this:
https://superuser.com/questions/1321619/xrandr-treat-multiple-screens-as-one

Offline brunok

  • Newbie
  • *
  • Posts: 36
Re: [Project] Rdesktop Kiosk for PXE ThinClients: Xvesa and Xorg
« Reply #6 on: December 03, 2020, 12:56:04 PM »
Hi,

It's almost 100%! (rdesktop kiosk mode running through Xorg - with ONE Display)


Issue:

All libs are in right location, but, only one display up.
If i load image, and put in shell.... this download dependencies again and enable the second display...

Code: [Select]
tce-load -wi x86-video-intel
This extension don't have post install script...  ???


Only working if load manually...  :'(


I will see if missing some dependence...  :D
« Last Edit: December 03, 2020, 01:10:41 PM by brunok »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11691
Re: [Project] Rdesktop Kiosk for PXE ThinClients: Xvesa and Xorg
« Reply #7 on: December 03, 2020, 01:40:55 PM »

Offline brunok

  • Newbie
  • *
  • Posts: 36
Re: [Project] Rdesktop Kiosk for PXE ThinClients: Xvesa and Xorg
« Reply #8 on: December 03, 2020, 01:50:34 PM »
Two deps were missing...

graphics-4.8.17-tinycore.tcz
i2c-4.8.17-tinycore.tcz


Downloaded and insert on image (custom rootfs).
Still have issues...

Look for modules.dep, see diff info, but, deps missing dont have post install script.

How modules.dep are modified?  ???


I will try change manually...

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14843
Re: [Project] Rdesktop Kiosk for PXE ThinClients: Xvesa and Xorg
« Reply #9 on: December 03, 2020, 02:33:44 PM »
“sudo depmod -a”

Offline brunok

  • Newbie
  • *
  • Posts: 36
Re: [Project] Rdesktop Kiosk for PXE ThinClients: Xvesa and Xorg
« Reply #10 on: December 03, 2020, 02:39:11 PM »
“sudo depmod -a”

Work like a charm!

I will swap new modules.dep on my custom image.


Thanks!!!

Offline brunok

  • Newbie
  • *
  • Posts: 36
Re: [Project] Rdesktop Kiosk for PXE ThinClients: Xvesa and Xorg
« Reply #11 on: December 03, 2020, 04:07:58 PM »
Finally works 100%!

Rdesktop Kiosk Mode - Dual Monitor  8) 8) 8)



What the best way to share my RDP Kiosk Mode Editions of TC?  -  (TC 8.2.1 x86  based)

Actually:

Xvesa RDP Kiosk Edition (15 MB)

Xorg (Intel) RDP Kiosk Edition (24 MB)
« Last Edit: December 03, 2020, 04:14:25 PM by brunok »

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11049
Re: [Project] Rdesktop Kiosk for PXE ThinClients: Xvesa and Xorg
« Reply #12 on: December 04, 2020, 02:55:33 AM »
You could set up a sourceforge project for your TC remaster, etc.
The only barriers that can stop you are the ones you create yourself.