 |
 |
| Woohoo! Works! |
 |
 |
By Kevin_Field - Posted on April 24, 2004 - 20:09:57 (#12176)
Current version when comment was posted: 1.2.0-beos-netserver |
 |
 |
Thanks so much! Yeah, it helped a lot. <slinks away to hide under a rock until the newbie shame wears off...>
=)=)=)
Kev
|
|
| X Windows |
 |
 |
By AlexW - Posted on April 19, 2004 - 07:01:29 (#12117)
Current version when comment was posted: 1.2.0-beos-netserver |
 |
 |
Hi Kev,
In order to use rdesktop you have to X Windows up and running. It seems to me that you don't, that's why rdesktop is not able to connect to your display (yes, the address is 127.0.01:0, unless you want to connect to display on another machine; using X Windows it is possible to run an application on one machine, and display its windows on another).
Alex
|
|
| Update |
 |
 |
By Kevin_Field - Posted on April 12, 2004 - 20:13:22 (#11980)
Current version when comment was posted: 1.2.0-beos-netserver |
 |
 |
Hmm, strange. Now that I *have* which installed, your non-which instructions (which I tried just for fun) let it compile and install (yay!), although the warning was the same. Now I always get this when I try to connect:
Password:
ERROR: Failed to open display: 127.0.0.1:0
It doesn't seem to make a difference which options I use. BTW, the loopback is not the address I'm trying to connect to.
I'm trying to connect to a Win2k server the way I normally do with Remote Desktop Connection under Win98. Help? =)
Thanks,
Kev
|
|
| Still need some better instructions methinks |
 |
 |
By Kevin_Field - Posted on April 8, 2004 - 07:45:30 (#11857)
Current version when comment was posted: 1.2.0-beos-netserver |
 |
 |
Hi,
I finally downloaded X Windows so I could try this out. I could not get it to work with your non-which instructions (same errors as below), so I downloaded which and stuck it in /boot/beos/bin. Still didn't work. Couldn't find X11 anywhere. So I make a link to where it was looking (/usr = /boot/apps/X11R6.4) and it worked with warnings, but make still doesn't go through. Here's what it says:
$ ./configure --prefix=/boot/home/config --without-openssl
rdesktop build configuration script
X Window System:
includes /usr/include
libraries /usr/lib
WARNING: could not find /dev/urandom, /dev/random or Entropy Gathering Daemon (EGD) socket
(searched: /var/run/egd-pool /dev/egd-pool /etc/egd-pool /etc/entropy)
Session keys may be less secure; installing a system randomness source is recommended.
configure complete - now run make
$ make
gcc -DKEYMAP_PATH=\"/boot/home/config/share/rdesktop/keymaps/\" -Wall -O2 -DNeedFunctionPrototypes=1 -o rdesktop.o -c rdesktop.c
gcc -DKEYMAP_PATH=\"/boot/home/config/share/rdesktop/keymaps/\" -Wall -O2 -DNeedFunctionPrototypes=1 -o tcp.o -c tcp.c
gcc -DKEYMAP_PATH=\"/boot/home/config/share/rdesktop/keymaps/\" -Wall -O2 -DNeedFunctionPrototypes=1 -o iso.o -c iso.c
gcc -DKEYMAP_PATH=\"/boot/home/config/share/rdesktop/keymaps/\" -Wall -O2 -DNeedFunctionPrototypes=1 -o mcs.o -c mcs.c
gcc -DKEYMAP_PATH=\"/boot/home/config/share/rdesktop/keymaps/\" -Wall -O2 -DNeedFunctionPrototypes=1 -o secure.o -c secure.c
gcc -DKEYMAP_PATH=\"/boot/home/config/share/rdesktop/keymaps/\" -Wall -O2 -DNeedFunctionPrototypes=1 -o licence.o -c licence.c
gcc -DKEYMAP_PATH=\"/boot/home/config/share/rdesktop/keymaps/\" -Wall -O2 -DNeedFunctionPrototypes=1 -o rdp.o -c rdp.c
gcc -DKEYMAP_PATH=\"/boot/home/config/share/rdesktop/keymaps/\" -Wall -O2 -DNeedFunctionPrototypes=1 -o orders.o -c orders.c
gcc -DKEYMAP_PATH=\"/boot/home/config/share/rdesktop/keymaps/\" -Wall -O2 -DNeedFunctionPrototypes=1 -o bitmap.o -c bitmap.c
gcc -DKEYMAP_PATH=\"/boot/home/config/share/rdesktop/keymaps/\" -Wall -O2 -DNeedFunctionPrototypes=1 -o cache.o -c cache.c
gcc -DKEYMAP_PATH=\"/boot/home/config/share/rdesktop/keymaps/\" -Wall -O2 -DNeedFunctionPrototypes=1 -o xwin.o -c xwin.c
/boot/home/Downloads/rdesktop-1.2.0-beos-netserver/xwin.c:21: X11/Xlib.h: No such file or directory
/boot/home/Downloads/rdesktop-1.2.0-beos-netserver/xwin.c:22: X11/Xutil.h: No such file or directory
make: *** [xwin.o] Error 1
$
Do I need more links, then, or should I have installed X somewhere else? Isn't anyone else having this problem? :)
Thanks,
Kev
|
|
| version... |
 |
 |
By AlexW - Posted on July 30, 2003 - 04:00:52 (#8361)
Current version when comment was posted: 1.2.0-beos-netserver |
 |
 |
BeOS Developer Edition 1.1 (5.04)
I dug a little to check what's going on when bash is run as login/interactive and non-login/non-interactive shell, and I see my mistake now: I just supposed that non-interactive bash run as 'sh' executes /etc/profile, but it's not the case, as it doesn't. So, the reason why everything worked for me is that I have external 'which' in /bin (actually /boot/beos/bin)
I have to refine my instructions then.
|
|
| version of OS |
 |
 |
By sikosis - Posted on July 29, 2003 - 17:15:26 (#8356)
Current version when comment was posted: 1.2.0-beos-netserver |
 |
 |
can I just ask what OS version you did this on ?
I'm using BeOS Pro 5.03
|
|
| maybe you didn't notice... |
 |
 |
By AlexW - Posted on July 29, 2003 - 04:02:28 (#8348)
Current version when comment was posted: 1.2.0-beos-netserver |
 |
 |
Of course, if 'which ls' gives you '/bin/ls', then
. configure --prefix...
^- dot !!!
should work, as it doesn't start new (sub)shell, but rather uses current one.
|
|
| which again |
 |
 |
By AlexW - Posted on July 29, 2003 - 03:57:12 (#8347)
Current version when comment was posted: 1.2.0-beos-netserver |
 |
 |
It's not exactly PATH issue, because 'which' should be built-in command (in my case it's actually defined in /etc/profile as function 'whence', then aliased as 'which'). Maybe your /bin/sh is a link to something else than bash? Strange...
You may try to use the external command 'which' I wrote about, and set the PATH variable accordingly.
|
|
| which not found |
 |
 |
By sikosis - Posted on July 28, 2003 - 17:43:49 (#8343)
Current version when comment was posted: 1.2.0-beos-netserver |
 |
 |
When I drop to the Terminal, then type /bin/sh
And then type which gcc
I get "sh: which: command not found"
so, it's a path issue ?
|
|
| which gcc |
 |
 |
By AlexW - Posted on July 28, 2003 - 09:42:49 (#8338)
Current version when comment was posted: 1.2.0-beos-netserver |
 |
 |
Well, try this:
/bin/sh
- to get into the same environment configure sees
which gcc
'which' should find gcc somewhere in your path, but it seems it doesn't, that's why 'configure' says 'You probably want to install gcc'
You may also try to run configure in this way:
. configure --prefix=....
- to make it run in your current shell
|
|
| using bash and which works |
 |
 |
By sikosis - Posted on July 27, 2003 - 19:51:33 (#8330)
Current version when comment was posted: 1.2.0-beos-netserver |
 |
 |
when i type "which ls" I get
/bin/ls
I'm using bash (GNU bash version 2.03.0(1)-release(i586-pc-beos)
|
|
| which ??? |
 |
 |
By AlexW - Posted on July 27, 2003 - 07:20:29 (#8321)
Current version when comment was posted: 1.2.0-beos-netserver |
 |
 |
it seems you don't have (working) 'which' command.
try, for example, this:
which ls
- it should print straight:
ls
'which' should be built-in into the shell, or you may try to use this one:
http://www.na.rim.or.jp/~violinhi/onion/code/which-beos.zip
what kind of shell do you use?
'cause i'm using 'bash' and everything works fine.
|
|
| latest gnu ... |
 |
 |
By sikosis - Posted on July 24, 2003 - 00:03:44 (#8296)
Current version when comment was posted: 1.2.0-beos-netserver |
 |
 |
well i downloaded and installed the gnupro which contains binutils-2.10.1, gcc-core-2.95.3 and gcc-g++-2.95.3
same errors. did you have to alter the configure script ?
|
|
| hrmm |
 |
 |
By sikosis - Posted on July 23, 2003 - 23:34:43 (#8295)
Current version when comment was posted: 1.2.0-beos-netserver |
 |
 |
curious ... I'm doing this on BeOS Pro machines that have gcc, etc on it. I do building of my own apps no problems - so, I assume there is some path/library issue somewhere to do with X ?
The error says "You will probably want to install gcc". But I can type gcc --version and that gives me 2.9-beos-991026
Or is that the problem, the gcc is too old ?
|
|
| Hi sikosis! |
 |
 |
By AlexW - Posted on July 23, 2003 - 04:41:35 (#8280)
Current version when comment was posted: 1.2.0-beos-netserver |
 |
 |
You ought to have the usual developer stuff installed to compile rdesktop (and many other apps), that is gcc (compiler) and binutils (used by 'configure' script). After successful installation of X Windows, when you run './configure --prefix=/boot/home/config ...' it shall be able to find all headers it needs.
|
|
| instructions to build rdesktop |
 |
 |
By AlexW - Posted on July 23, 2003 - 04:28:52 (#8279)
Current version when comment was posted: 1.2.0-beos-netserver |
 |
 |
./configure --prefix=/boot/home/config --without-openssl
make
make install
|
|
| xwin running but getting rdesktop to xwin ? |
 |
 |
By sikosis - Posted on July 22, 2003 - 23:42:57 (#8276)
Current version when comment was posted: 1.2.0-beos-netserver |
 |
 |
ok, well I've got xwindows running either as fullscreen or in a BWindow, but how do I get the rdesktop app or directory to be available under xwindows to compile ?
|
|
| build errors or am i missing something |
 |
 |
By sikosis - Posted on July 22, 2003 - 18:28:41 (#8270)
Current version when comment was posted: 1.2.0-beos-netserver |
 |
 |
$ ./configure
rdesktop build configuration script
./configure: which: command not found
./configure: which: command not found
ERROR: could not find a C compiler (tried: gcc cc)
You probably want to install gcc
|
|
| instructions please |
 |
 |
By sikosis - Posted on July 22, 2003 - 18:26:00 (#8269)
Current version when comment was posted: 1.2.0-beos-netserver |
 |
 |
i dont want to sound like a whinger ... but how about some easy, simple, step by step instructions on how to install / use this.
not on how to use rdesktop (i know how to use it), but how to install all this stuff on BeOS and how you compiled it to work.
|
|
| the berdp project on sf seems dead |
 |
 |
By sikosis - Posted on July 22, 2003 - 18:07:48 (#8267)
Current version when comment was posted: 1.2.0-beos-netserver |
 |
 |
i tried contacting the developers on the BeRDP site several times but have not heard from them.
|
|
| STOP ! |
 |
 |
By mmu_man - Posted on July 22, 2003 - 07:39:05 (#8258)
Current version when comment was posted: 1.2.0-beos-netserver |
 |
 |
please stop duplicating entries on bebits !
Just mail the publisher of the first one so he can add it, or relinguish ownership to you, but please, no more dups !
|
|
|
|
|