Tiny Core Linux

General TC => General TC Talk => Topic started by: brunok on December 01, 2020, 04:59:05 PM

Title: [Project] Rdesktop Kiosk for PXE ThinClients: Xvesa and Xorg
Post by: brunok on December 01, 2020, 04:59:05 PM
Hi,

A while ago, i created a rdesktop kiosk for using with thinclients via PXE.  8)

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.
Title: Re: [Project] Rdesktop Kiosk for PXE ThinClients: Xvesa and Xorg
Post by: Rich 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.
Title: Re: [Project] Rdesktop Kiosk for PXE ThinClients: Xvesa and Xorg
Post by: brunok 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.
Title: Re: [Project] Rdesktop Kiosk for PXE ThinClients: Xvesa and Xorg
Post by: Rich 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.
Title: Re: [Project] Rdesktop Kiosk for PXE ThinClients: Xvesa and Xorg
Post by: brunok 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?
Title: Re: [Project] Rdesktop Kiosk for PXE ThinClients: Xvesa and Xorg
Post by: Rich 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
Title: Re: [Project] Rdesktop Kiosk for PXE ThinClients: Xvesa and Xorg
Post by: brunok 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
Title: Re: [Project] Rdesktop Kiosk for PXE ThinClients: Xvesa and Xorg
Post by: Rich on December 03, 2020, 01:40:55 PM
Hi brunok
... I will see if missing some dependence...  :D
Look here:
http://tinycorelinux.net/8.x/x86/tcz/xf86-video-intel.tcz.tree
Title: Re: [Project] Rdesktop Kiosk for PXE ThinClients: Xvesa and Xorg
Post by: brunok 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...
Title: Re: [Project] Rdesktop Kiosk for PXE ThinClients: Xvesa and Xorg
Post by: Juanito on December 03, 2020, 02:33:44 PM
“sudo depmod -a”
Title: Re: [Project] Rdesktop Kiosk for PXE ThinClients: Xvesa and Xorg
Post by: brunok 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!!!
Title: Re: [Project] Rdesktop Kiosk for PXE ThinClients: Xvesa and Xorg
Post by: brunok 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)
Title: Re: [Project] Rdesktop Kiosk for PXE ThinClients: Xvesa and Xorg
Post by: curaga on December 04, 2020, 02:55:33 AM
You could set up a sourceforge project for your TC remaster, etc.