r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[Linux] group for linux REBOL users

Robert
9-Apr-2011
[4098x6]
And some more questions: I have a server that listens on port 44000 
in a VM. The VM is using NAT network. The VM NAT router is configured 
to forward port 44000 from the outside to the VM IP on port 44000.
When I use telnet localhost 44000 on the system the VM runs I get 
a connection but the listening server doesn't recognizses it as a 
connection.
When I use: ssh -L 44000:192.168.22.1:44000 [user-:-my_vm_server-:-com], 
from a remote machine, the SSH tunnel is setup and the login is done 
on my_vm_server.com
When I use telnet localhost 44000 from my_vm_server.com than, the 
connection is done and the listen server recognizes it.
When I use telnet localhost 44000 from the remote machine, which 
should tunnel through the SSH channel and forward to 192.168.22.1:44000 
on my_vm_server.com, I get a connection but the listen server doesn't 
recognize it...
Any idea, why the TCP/IP connections from the remote machines are 
not recognized?
Andreas
10-Apr-2011
[4104]
When I have setup a portforwarding via SSH, how can I get rid of 
it?


Close the SSH session or, if using OpenSSH, use ~C to enter the client's 
command-line and remove the (remote) forwarding with -KR<port>. You 
can't remove local forwardings this way, afaik.
Robert
10-Apr-2011
[4105]
Ok, thanks.
ddharing
15-Apr-2011
[4106]
The latest version of REBOL/View does NOT run on Ubuntu 11 Beta. 
I've tried it on two different machines. You get the old "Bad face 
in screen panel" error.


Does anyone have any ideas about what may be the problem? Ubuntu 
10.10 is fine.
Maxim
15-Apr-2011
[4107]
could it be no x11 installed ?
Izkata
15-Apr-2011
[4108]
Ubuntu is going to introduce Wayland, a replacement for X11, but 
from what I'm reading it shouldn't be default in 11.04
ddharing
15-Apr-2011
[4109]
I'm running Ubuntu Desktop. I've tried it on two laptops -- both 
with and without Unity.
GrahamC
15-Apr-2011
[4110x2]
did you check libraries?
ldd
Gabriele
16-Apr-2011
[4112]
might also just be missing bitmap fonts.
ddharing
16-Apr-2011
[4113]
I'll look into it. Thanks.
Andreas
2-May-2011
[4114x2]
>> system/version
== 2.7.8.4.2
>> view?
== true

>> call/output "lsb_release -a" out: copy ""
No LSB modules are available.
== 0
>> print out
Distributor ID: Ubuntu
Description:    Ubuntu 11.04
Release:    11.04
Codename:   natty
In plain English: /View 2.7.8.4.2 works fine (for me) on Ubuntu 11.04.
onetom
2-May-2011
[4116]
(u dont really have to say copy from the console)
Andreas
2-May-2011
[4117]
So I'd say the problem seems to be nothing intrinsic to REBOL, but 
probably something related to missing libraries.
MaxV
3-May-2011
[4118x2]
Confirmed, it doesn't work, even adding all dependencies:
libc6
libstdc++6
libx11-6
libxcb1
libxaw7
libfreetype6
libext6
libxt6
libxmu6
libgcc1
libsm6
libice6
libxpm4
zlib1g
libxau6
libxdmcp6
libuuid1
Do I missed any dependecies?
It appears in the console:
** User Error: Bad face in screen pane!
** Near: size-text self
so I think that it''s internal to Rebol...
Andreas
3-May-2011
[4120]
4.3 or 4.2?
onetom
3-May-2011
[4121]
MaxV: that bad face error message happens when u r trying to start 
a rebol/view without an actual x11 server. i was trying to trick 
it with xvfb and xvncserver but no luck
Andreas
3-May-2011
[4122x3]
install xfonts-100dpi and xfonts-75dpi and the problem should be 
gone
max, you can add those to your dependency list
(and you'll most certainly have to re-login to your x session after 
installing those packages.)
onetom
3-May-2011
[4125]
i was even trying ssh -X from a linux box but it didn't help either.
Andreas
3-May-2011
[4126]
install the bitmap fonts and you'll be fine
onetom
3-May-2011
[4127]
Andreas: but r u talking about starting /view on an actual X11 server? 
or is it possible to start it without a real X11 head?
Andreas
3-May-2011
[4128x4]
x forwarding (ssh -X) certainly works
xvfb should work as well, but i haven't tried it in ages
in both cases, you'll need the bitmap fonts installed in the respective 
x server
yes, xvfb works fine:
$ xvfb-run ./rebol -qsvw --do "print [system/version view?]"
2.7.8.4.2 true
MaxV
6-May-2011
[4132x2]
SOLVED!!! Added dependecies xfonts-100dpi and xfonts-75dpi !!!! Thank 
you very much Adnreas!!!!!!!!
You can download last linux packages from: 
http://www.maxvessi.net/rebsite/Linux/
If you use the linux packages, all dependencies are automatically 
downloaded!!!
BrianH
6-May-2011
[4134]
Max, have you looked into what would be required to get a proper 
repository for R2 and maybe R3 set up in multiverse?
jocko
6-May-2011
[4135]
tested :  installation ok
MaxV
9-May-2011
[4136x2]
I'm working to put in it on Launchpad
Launchpad doesn't accept only binaries, it  wants the source and 
the it builds the binaries. I'll investigate on Multiverse...
ddharing
14-May-2011
[4138]
MaxV and Andreas, great work on solving the 11.04 problem. So, that 
means these xfonts were on previous versions of Ubuntu, but not 11.
ManuM
7-Jun-2011
[4139x2]
Rebol 2.7.8 not working on Kubuntu 11.04

I have installed xfonts-100dpi and xfonts-75dpi but same result
I have installed MaxV .deb package but still the same result.

I look at ldd command and I get a similar output that I got at Kubuntu 
10.10 ( where Rebol 2.7.8 works ok )
Any advice?


[ubuntu-:-ubuntu]:/media/CAJON/SoftwareKubuntu/software/LinuxMaxV$ rebol
** User Error: Bad face in screen pane!
** Near: size-text self

[ubuntu-:-ubuntu]:/media/CAJON/SoftwareKubuntu/software/LinuxMaxV$ uname 
-a

Linux ubuntu 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:50 
UTC 2011 i686 athlon i386 GNU/Linux

[ubuntu-:-ubuntu]:/media/CAJON/SoftwareKubuntu/software/LinuxMaxV$ ls 
-la
total 7888
drwx------  2 ubuntu ubuntu   16384 2011-05-08 19:39 .
drwx------ 22 ubuntu ubuntu   16384 2010-12-14 11:15 ..

-rw-r--r--  1 ubuntu ubuntu  650478 2011-05-08 19:40 rebol-2.7.8.4.3-4.i386.deb

-rw-r--r--  1 ubuntu ubuntu 3907696 2011-05-08 21:00 xfonts-100dpi_1.0.3_all.deb

-rw-r--r--  1 ubuntu ubuntu 3464308 2011-05-08 21:01 xfonts-75dpi_1.0.3_all.deb

[ubuntu-:-ubuntu]:/media/CAJON/SoftwareKubuntu/software/LinuxMaxV$ ldd 
/usr/bin/rebol
        linux-gate.so.1 =>  (0x00f45000)

        libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0x00c80000)

        libXext.so.6 => /usr/lib/i386-linux-gnu/libXext.so.6 (0x004ee000)

        libXt.so.6 => /usr/lib/i386-linux-gnu/libXt.so.6 (0x00985000)
        libXaw.so.7 => /usr/lib/libXaw.so.7 (0x005d4000)
        libXmu.so.6 => /usr/lib/libXmu.so.6 (0x00285000)

        libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0x003bb000)

        libfreetype.so.6 => /usr/lib/i386-linux-gnu/libfreetype.so.6 (0x00110000)
        libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0x0059e000)
        libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0x00196000)

        libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0x00fcf000)
        libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0x00631000)

        libxcb.so.1 => /usr/lib/i386-linux-gnu/libxcb.so.1 (0x0025a000)

        libSM.so.6 => /usr/lib/i386-linux-gnu/libSM.so.6 (0x00933000)

        libICE.so.6 => /usr/lib/i386-linux-gnu/libICE.so.6 (0x00c65000)
        libXpm.so.4 => /usr/lib/libXpm.so.4 (0x00bff000)
        /lib/ld-linux.so.2 (0x002f9000)
        libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0x0019a000)

        libXau.so.6 => /usr/lib/i386-linux-gnu/libXau.so.6 (0x001af000)

        libXdmcp.so.6 => /usr/lib/i386-linux-gnu/libXdmcp.so.6 (0x001b4000)

        libuuid.so.1 => /lib/i386-linux-gnu/libuuid.so.1 (0x0080a000)
Repost the previous unreadable output

[ubuntu-:-ubuntu]:/media/CAJON$ rebol
** User Error: Bad face in screen pane!
** Near: size-text self
[ubuntu-:-ubuntu]:/media/CAJON$ uname -a

Linux ubuntu 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:50 
UTC 2011 i686 athlon i386 GNU/Linux
[ubuntu-:-ubuntu]:/media/CAJON$ ls -la
total 7888
drwx------  2 ubuntu ubuntu   16384 2011-05-08 19:39 .
drwx------ 22 ubuntu ubuntu   16384 2010-12-14 11:15 ..

-rw-r--r--  1 ubuntu ubuntu  650478 2011-05-08 19:40 rebol-2.7.8.4.3-4.i386.deb

-rw-r--r--  1 ubuntu ubuntu 3907696 2011-05-08 21:00 xfonts-100dpi_1.0.3_all.deb

-rw-r--r--  1 ubuntu ubuntu 3464308 2011-05-08 21:01 xfonts-75dpi_1.0.3_all.deb
[ubuntu-:-ubuntu]:/media/CAJON$ ldd /usr/bin/rebol
        linux-gate.so.1 =>  (0x00f45000)

        libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0x00c80000)

        libXext.so.6 => /usr/lib/i386-linux-gnu/libXext.so.6 (0x004ee000)

        libXt.so.6 => /usr/lib/i386-linux-gnu/libXt.so.6 (0x00985000)
        libXaw.so.7 => /usr/lib/libXaw.so.7 (0x005d4000)
        libXmu.so.6 => /usr/lib/libXmu.so.6 (0x00285000)

        libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0x003bb000)

        libfreetype.so.6 => /usr/lib/i386-linux-gnu/libfreetype.so.6 (0x00110000)
        libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0x0059e000)
        libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0x00196000)

        libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0x00fcf000)
        libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0x00631000)

        libxcb.so.1 => /usr/lib/i386-linux-gnu/libxcb.so.1 (0x0025a000)

        libSM.so.6 => /usr/lib/i386-linux-gnu/libSM.so.6 (0x00933000)

        libICE.so.6 => /usr/lib/i386-linux-gnu/libICE.so.6 (0x00c65000)
        libXpm.so.4 => /usr/lib/libXpm.so.4 (0x00bff000)
        /lib/ld-linux.so.2 (0x002f9000)
        libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0x0019a000)

        libXau.so.6 => /usr/lib/i386-linux-gnu/libXau.so.6 (0x001af000)

        libXdmcp.so.6 => /usr/lib/i386-linux-gnu/libXdmcp.so.6 (0x001b4000)

        libuuid.so.1 => /lib/i386-linux-gnu/libuuid.so.1 (0x0080a000)
ManuM
11-Jun-2011
[4141]
Any suggestions with Rebol 2.7.8 and Kubuntu 11.04 problem?
MaxV
13-Jun-2011
[4142x2]
Did you used http://www.maxvessi.net/rebsite/Linux/rebol-2.7.8.4.3-4.i386.deb
?
I'll investigate on Kubuntu..., if you have news, write me to [maxint-:-tiscali-:-it]
ManuM
13-Jun-2011
[4144]
@MaxV: Yes I have installed rebol-2.7.8.4.3-4.i386, but same result. 
If I have news I'll tell you. Thank you for your help.
MaxV
14-Jun-2011
[4145x3]
SOLVED!!! You need just to reboot the PC
When you install the rebol.deb file, it autamtically install xfonts 
packages, then you need to reboot the PC
You'll find an incon in the "Applications/Development" panel