Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > General Help
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

General Help
All your general support questions for Ubuntu, Kubuntu, Edubuntu and Xubuntu.

 
Thread Tools Display Modes
Old February 23rd, 2007   #1
n8bounds
Way Too Much Ubuntu
 
n8bounds's Avatar
 
Join Date: Mar 2006
Location: GSO, NC
Beans: 329
Ubuntu
Lightbulb No Kidding IBM iSeries Client Access (as400) Emulator on Edgy (6.10)

UPDATED 080412
I made a deb!

http://ngbnet.homelinux.com/reposito...0-2.4_i386.deb

================================================== =========


This are my notes for installing IBM iSeries Client Access Emulator for Linux on Ubuntu 6.10 Edgy.

I have successfully done this on four machines, one was a few minute old install, two more had edgy installed on them three months ago and have been in constant use since then and another had edgy freshly installed just a few days ago. This is bound to work for you!

Be sure to add universe and multiverse repos and update aptitude first..

Go here and get the RPM from IBM:

http://www-03.ibm.com/servers/eserve...s/access/linux

This link may break with time, but its more direct:

http://www-03.ibm.com/servers/eserve...downloads.html


Make it easy on yourself and save it to your home folder, not your desktop...


Then open a terminal and do a
Code:
sudo /bin/bash
..to become root for a minute (it will ask you for your passwd)


DO THESE COMMANDS ONE AT A TIME AS ROOT

Warning, the first one takes FOREVER....

Code:
apt-get install msttcorefonts -y



fc-cache -f -v



apt-get install libmotif3 libxaw6 libstdc++5 alien -y



alien -i iSeriesAccess-5.4.0-1.0.i386.rpm -cv
Please note the last command (alien.....) might require editing as your downloaded version may be different than mine. I'd offer you the rpm I used, but that's probably against some EULA. It's also too large to be allowed as an attachment here. PM me if you get lost...

Then type exit or close the terminal and open a new one. (The point is to NOT be root any more.) Now, being certain that you are NOT root, say this in a terminal:


Code:
xset fp

Remember this command. If you reboot after changing things and you can't get Client Access to work (after it once worked properly), running this little command again will likely fix everything.

Just to test things, put this in a terminal to run the iSeries Client Access Emulator for Linux.
Code:
ibm5250 192.168.1.1 -geometry 9999x9999+0+0 -title LinuxCanWorkTheFourHundred -DISPLAY_NAME "PCNAMEA PCNAMEB PCNAMEC" -LANGID en_US
Replace the ipaddress above with the address of your eServer/as400. You may change the PCNAME... bits to reflect the device naming scheme of your iSeries system. Adding more than one lets you run the same command and automagically create multiple sessions. The bit about the geometry in there is an ugly way to fix a wide screen problem...it does not actually draw the window that big, but it refuses to shrink if you leave it as is. Experiment with the args to find your own solution. The LANGID part is important. If you don't have the english/U.S. version installed, I'm not sure what you should do here. The TITLE is a local window setting and can be changed to your preference.

For more tips, the book was located here as of this posting:

http://publib.boulder.ibm.com/infoce...zatv/rzatv.pdf

..which I got from here:

http://publib.boulder.ibm.com/infoce...atvkickoff.htm

The next logical step would be to add a launcher to the gnome menu using alacarte or something. If you got this far, I'm sure you can figure that part out.

Cheers!

Last edited by n8bounds; April 13th, 2008 at 01:29 PM.. Reason: deb created!
n8bounds is offline   Reply With Quote
Old February 23rd, 2007   #2
n8bounds
Way Too Much Ubuntu
 
n8bounds's Avatar
 
Join Date: Mar 2006
Location: GSO, NC
Beans: 329
Ubuntu
Re: No Kidding IBM iSeries Access (as400) Client on Edgy

If anyone knows how to fix any of this in a more elegant way, please say so...I feel like some of this is ugly...

Last edited by n8bounds; February 24th, 2007 at 09:38 AM.. Reason: cuz
n8bounds is offline   Reply With Quote
Old February 26th, 2007   #3
ColdBeer
5 Cups of Ubuntu
 
ColdBeer's Avatar
 
Join Date: Jan 2007
Location: Vigo / Spain
Beans: 15
Ubuntu 6.10 Edgy
Wink Re: No Kidding IBM iSeries Access (as400) Client on Edgy

Quote:
Originally Posted by n8bounds View Post
If anyone knows how to fix any of this in a more elegant way, please say so...I feel like some of this is ugly...
Well, thank you very much for your note!!!

Now, it works withouth restarting gdm every day

I have a bash script to start "setup5250" and launch from it the different terminals:

Code:
#!/bin/sh
xset fp
LANG="es_ES.ISO-8859-1"
setup5250 -LANGID es_ES
Which seems to work right for my non-english language even my version is:

iSeriesAccess-5.4.0-1.2.i386.rpm

I'm still looking for a way to 'debianize' this work and make a deb to automatize everything for everyone.
ColdBeer is offline   Reply With Quote
Old February 26th, 2007   #4
n8bounds
Way Too Much Ubuntu
 
n8bounds's Avatar
 
Join Date: Mar 2006
Location: GSO, NC
Beans: 329
Ubuntu
Re: No Kidding IBM iSeries Access (as400) Client on Edgy

Okay, a friend of mine noticed that the fonts directories in the xorg.conf are screwed up. Further evidence its not just us can be found here:

http://ubuntuforums.org/showthread.php?p=2130191

Edit your xorg.conf file and change:
FontPath "/usr/share/X11/fonts/misc"

to:
FontPath "/usr/share/fonts/X11/misc"

Repeat for all of the font paths, reboot, and you should never need to xset fp any more.

Last edited by n8bounds; February 26th, 2007 at 09:35 PM..
n8bounds is offline   Reply With Quote
Old March 2nd, 2007   #5
djearwig
5 Cups of Ubuntu
 
djearwig's Avatar
 
Join Date: Mar 2007
Beans: 42
Ubuntu 6.10 Edgy
Re: No Kidding IBM iSeries Client Access (as400) Emulator on Edgy (6.10)

Excellent! This worked beautifully... Thanks
djearwig is offline   Reply With Quote
Old March 9th, 2007   #6
Cono_Sce
First Cup of Ubuntu
 
Join Date: Mar 2007
Location: Montreal
Beans: 3
Ubuntu 6.10 Edgy
Re: No Kidding IBM iSeries Access (as400) Client on Edgy

Thanks for the notes, I got it to work on the first try, as for xset fp I haven't tied renaming the the font files yet, what I did, I put the command in the startup and works perfectly.
Cono_Sce is offline   Reply With Quote
Old March 10th, 2007   #7
n8bounds
Way Too Much Ubuntu
 
n8bounds's Avatar
 
Join Date: Mar 2006
Location: GSO, NC
Beans: 329
Ubuntu
Re: No Kidding IBM iSeries Access (as400) Client on Edgy

I'm glad to hear it. Anyone tested this on Fiesty yet..?
n8bounds is offline   Reply With Quote
Old March 22nd, 2007   #8
joethenoob
5 Cups of Ubuntu
 
Join Date: Feb 2007
Location: So Cal
Beans: 36
Re: No Kidding IBM iSeries Access (as400) Client on Edgy

I got all the way to the end and received the following error when I tried to test it.

5250: [ INFORMATIONAL ]: Build Date: September 2006 (1.2).
5250: [ ERROR ]: NSC0017: Xt Warning: Cannot convert string "-*-lucidatypewriter-medium-r-normal-*-14-*-100-100-m-*" to type FontSet.

Obviously its a font issue, but my noobness prevents me from figuring it out. Any suggestions anyone?
__________________
Relax. We were all noobs once.
joethenoob is offline   Reply With Quote
Old March 23rd, 2007   #9
n8bounds
Way Too Much Ubuntu
 
n8bounds's Avatar
 
Join Date: Mar 2006
Location: GSO, NC
Beans: 329
Ubuntu
Re: No Kidding IBM iSeries Access (as400) Client on Edgy

try saying
Code:
 xset fp
in a terminal and/or fixing the font paths in your xorg config file --or-- use Feisty
n8bounds is offline   Reply With Quote
Old March 26th, 2007   #10
joethenoob
5 Cups of Ubuntu
 
Join Date: Feb 2007
Location: So Cal
Beans: 36
Re: No Kidding IBM iSeries Access (as400) Client on Edgy

Quote:
Originally Posted by n8bounds View Post
try saying
Code:
 xset fp
in a terminal and/or fixing the font paths in your xorg config file --or-- use Feisty
Thanks for the reply, but xset fp didn't work. I got the same error. Since I am a linux noob, I'm hesitant to move to the Feisty beta just for this client. I'm affraid it will create more questions than answers.
__________________
Relax. We were all noobs once.
joethenoob is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:14 PM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry