Multiple Session Configuration Question

All about WTware on Raspberry. WTware works with Raspberry Pi 4, Raspberry Pi 3B+, Pi 3 and Pi 2 devices
http://www.winterminal.com
Post Reply
onyxintellect
Posts: 3
Joined: Mon Feb 29, 2016 6:19 am

Multiple Session Configuration Question

Post by onyxintellect »

My config.wtc in a RPI2 is as below. It start ups just fine but upon actually clicking one of the connections it says there is no server IP address specified.

bpp=32
display=1920x1080, 60 Hz
timezone=UTC
clienthostname=TERM1
turnoffmenu=on
infobox=lshift
connection PC1
connection PC2

I created 2 files, PC1.wtc and PC2.wtc. I placed them both in the config directory. Each of these files has a server and user line like detailed below but with different IP addresses for each system.

server=10.0.0.20
user=test:\x70\x61\x73\x73\x77\x6f\x72\x64

I've also tried creating a Connections directory and placing the PC1.wtc & PC2.wtc files in it to no avail. If I specify a server connection in the config.wtc file it connects to that server without issue but I'm wanting to be able to select from different computers. Am I doing something wrong in trying to configure multiple RDP sessions that I'm able to select which one is connected?

Thanks for any help you can provide.

aka
SUPPORT
SUPPORT
Posts: 735
Joined: Fri Dec 03, 2004 2:05 pm
Contact:

Re: Multiple Session Configuration Question

Post by aka »

WTware uses connection names when downloads config files from TFTP. With local disk configs, WTware skips "config compilation" and reads single config file as is. Please, try this:

Code: Select all

timezone=UTC
clienthostname=TERM1
turnoffmenu=on
infobox=lshift
connection
displayName=It's a first connection.
server=10.0.0.20
user=test:\x70\x61\x73\x73\x77\x6f\x72\x64
connection
displayName=It's a second connection.
server=10.0.0.21
user=test:\x70\x61\x73\x73\x77\x6f\x72\x64
PS: we should write manual about config structure...
PPS: RPI2 ignores bpp= and display=. Modes other than default 1920x1080x16bit should be configured in config.txt on SD, here is an instruction https://www.raspberrypi.org/documentati ... fig-txt.md

onyxintellect
Posts: 3
Joined: Mon Feb 29, 2016 6:19 am

Re: Multiple Session Configuration Question

Post by onyxintellect »

Thanks for the reply. That worked to get the menu based connections working.

I would like to do a few other things like use menu.gif, wait.gif, & popup.gif as well as define a custom background color. Are those options supported?

http://winterminal.com takes you to http://wtware.com/docs5/config.html but as you indicated previously not all the options apply to RPI2.

Thanks again for you help.

aka
SUPPORT
SUPPORT
Posts: 735
Joined: Fri Dec 03, 2004 2:05 pm
Contact:

Re: Multiple Session Configuration Question

Post by aka »

I tested it with wtware 5.4.20 and it works.

WTware treats gif images like text configs. If RPI2 loads configs from TFTP (network boot or local boot), it downloads gifs from TFTP server, folder C:\ProgramData\WTware\Graphic\sample.

If RPI2 boots from SD and stores config on SD, you should copy all C:\ProgramData\WTware\Graphic\sample folder into graphic folder on SD.

In both cases, add to config file:

Code: Select all

skin=sample

Post Reply