Koozali.org: home of the SME Server

thinstation on PXE

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
thinstation on PXE
« on: June 16, 2014, 01:14:29 AM »
Hi

I'd like to have a thinstation working on PXE to connect to a RDP server running RDP protocol.
I know there are a rpm for thinstation and have installed it on test server.
Copy all directory to primary server and cannot make it works.

It do not find the configuration files. None of them.

I have this tree:
/tftboot/sistemas/thinstation/*

so on PXE menu I have:
Code: [Select]
label Thinstation
   kernel sistemas/thinstation/vmlinuz
   append ramdisk_blocksize=4096 initrd=sistemas/thinstation/initrd root=/dev/ram0 ramdisk_size=524288 console=ttyS3 vga=791

This is the thinstation.conf.network (it's on /tftpboot/sistemas/thinstation directory)

Code: [Select]
[root@leopardo thinstation]# grep -v ^#  thinstation.conf.network
AUDIO_LEVEL=67
KEYBOARD_MAP=en_us
TIME_ZONE="UTC-03:00"
SYSLOG_SERVER=local
USB_ENABLED=On
DAILY_REBOOT=Off
CUSTOM_CONFIG=Off
RECONNECT_PROMPT=On

SCREEN=0
WORKSPACE=1
AUTOSTART=Off
ICONMODE=AUTO
SESSION_0_rdesktop_SERVER=192.168.13.201
SESSION_0_TYPE=icewm
SESSION_0_AUTOSTART=On

SESSION_1_TITLE="Servidor rAPP no Macmini"
SESSION_1_TYPE=rdesktop
SESSION_1_SCREEN=1
SESSION_1_SCREEN_POSITION=2
SESSION_1_RDESKTOP_SERVER=192.168.13.201
SESSION_1_RDESKTOP_OPTIONS="-u XXX -p XXXX -a 16"
SESSION_1_AUTOSTART=Off

SESSION_2_TITLE="XP"
SESSION_2_TYPE=rdesktop
SESSION_2_SCREEN=1
SESSION_2_RDESKTOP_SERVER=192.168.1.181
SESSION_2_RDESKTOP_OPTIONS="-u 'guest' -a 16"
SESSION_2_AUTOSTART=Off
SESSION_2_ICON=On

SCREEN_RESOLUTION="800x600 | 1024x768 | 1440x900 | 640x480 | *"
SCREEN_COLOR_DEPTH="24 | 16 | 8 | *"
SCREEN_BLANK_TIME=10
SCREEN_STANDBY_TIME=20
SCREEN_SUSPEND_TIME=30
SCREEN_OFF_TIME=60
MOUSE_RESOLUTION=100
X_DRIVER_OPTION1="swcursor On"
NET_HOSTNAME=ts_*
NET_TELNETD_ENABLED=On
NET_REMOTE_ACCESS_FROM="192.168.13
VPNC_GATEWAY="vgnsyd.unisys.com"
VPNC_GROUP_NAME="Un15y$V9nAu7h"
VPNC_GROUP_PASSWORD="acc@55707heN[t"

But it refuse to work. It say:
Code: [Select]
Error, no valid session type.
 Boot aborted. Please check your thinstation config files are correct.

Any ideas ?

« Last Edit: June 16, 2014, 01:29:50 AM by jader »
...

Offline ReetP

  • *
  • 3,949
  • +6/-0
Re: thinstation on PXE
« Reply #1 on: June 16, 2014, 01:01:37 PM »
Version of SME ?

Can you tftp get any files at all ?

There are a lot of posts on Google regarding this error.

http://thinstation.sourceforge.net/faq.html
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
Re: thinstation on PXE
« Reply #2 on: June 16, 2014, 05:31:37 PM »
All my PXE environment works 100% ok.

Just thinstation refuses to work.
I think some parameters need a " or a ,   ... something like that.
So I'd like to get help from someone who has it working to compare files or to look at my files and say: Ohh, you forgot put IP address inclosed in " 
:)

Jáder
...

Offline ReetP

  • *
  • 3,949
  • +6/-0
Re: thinstation on PXE
« Reply #3 on: June 16, 2014, 06:23:22 PM »
All my PXE environment works 100% ok.

A good start then :-)

Quote
Just thinstation refuses to work.
I think some parameters need a " or a ,   ... something like that.
So I'd like to get help from someone who has it working to compare files or to look at my files and say: Ohh, you forgot put IP address inclosed in " 
:)


Ohh..... you seem to have forgotten....

NET_REMOTE_ACCESS_FROM="192.168.13

Something missing here perhaps ?

Should that be "192.168.13.0" or something more specific ?

I don't have thinstation running like this myself - I just use PXE booting

I did have a quick google on the error and seems to be usually the config files. Just need to go through them with a fine toothcomb.
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
Re: thinstation on PXE
« Reply #4 on: June 17, 2014, 01:57:51 AM »
you got the idea... that was the original line:

NET_REMOTE_ACCESS_FROM="192.168.13

but now it's


NET_REMOTE_ACCESS_FROM="192.168.13"
or

NET_REMOTE_ACCESS_FROM="192.168.13.0"
or something else ?

And note the error is "do not find any configuration specific file".
I have tried to put those config files at any level
/tftpboot
/tftpboot/sistemas
/tftpboot/sistemas/thinstation
(using symlink of course!)
and none of them appears to work.

I'm afraid at build time the path was different !
This all came from rpm of thistation available for SME.
Anyone using it ?

Regardds

Jáder


...

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
Re: thinstation on PXE
« Reply #5 on: June 17, 2014, 02:31:16 AM »
SUCESS!
I finally quit complaining about error and found my way thru search logs.
I found on messages some lines about searching for ts2.2prebuilt/thinstation.conf.network
So I created a /tftpboot/ts2.2prebuilt and put my config files there!

It works now!
Maybe I can change this path using some variables , but for now, for testing... it's ok this way.

...

Offline ReetP

  • *
  • 3,949
  • +6/-0
Re: thinstation on PXE
« Reply #6 on: June 17, 2014, 10:20:08 AM »
SUCESS!

Well done for persevering.

Quote
I finally quit complaining about error and found my way thru search logs.

:-)

Quote
I found on messages some lines about searching for ts2.2prebuilt/thinstation.conf.network
So I created a /tftpboot/ts2.2prebuilt and put my config files there!

It works now!
Maybe I can change this path using some variables , but for now, for testing... it's ok this way.

Maybe update the wiki for this with your notes, or if there is a problem or NFR then add a bug.

B.Rgds
John
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
Re: thinstation on PXE
« Reply #7 on: June 17, 2014, 03:19:14 PM »
I think the problem was me.
I´ve copy the directory from other machine... and create my own tree to put those several distro and img I have on PXE.

I think would be nice to have this info (PATH where put those files) directly from project.
I´ll NFR there. And ask for a ready .tar.gz with all configs so anyone can add to his own PXE env.

Regards

Jáder
...