Remote Linux desktop in my Cygwin windows PC

2008-01-01 Thread marcos rebelo
Hy all

I'm really basic with Linux. I'm running remote applications with:

xhost
ssh
export DISPLAY

So I'm using Eclipse, gedit, firefox, ... like this for example in my
windows. Now I'm curios if I'm able to have the full desktop of my
Linux machine like a window in my remote Windows PC.

I'm using the Ubuntu 7.10 in the Linux PC

Thanks for the support
Marcos

--
Marcos Rebelo
http://oleber.freehostia.com



-- 
Marcos Rebelo
http://oleber.freehostia.com

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Install CORBA

2007-03-02 Thread marcos rebelo

Oi people

I'm going to start studding CORBA, after more then 8 year. I need to
know the better libraries that I can use in Cygwin to use.

Note: If you have some recommendations on ease studies, I will be
thanks full to.

Thanks
Marcos

--
Marcos Rebelo
http://oleber.freehostia.com

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



gdb in eclipse

2006-11-17 Thread marcos rebelo

Hy all

I'm trying to use eclipse with the cygwin to develop in C/C++. But I'm
having some problems with the configuration of the gdb.

The code runs correctly, but when I do Debug I have this message:

Warning: /eclipse_projects/C++/Test/.settings;E: No such file or directory.
Warning: /eclipse_projects/C++/Test;E: No such file or directory.
Warning: /cygdrive/e/eclipse_projects/C++/Test/E: No such file or directory.
gdb: unknown target exception 0xc135 at 0x7c964ed1
You can't do that without a process to debug.



Note: I'm a Perl programmer, needing to do something in C/C++. I'll be
happy with any help


Thanks
Marcos Rebelo

--
Marcos Rebelo
http://oleber.awardspace.com/

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: gdb in eclipse

2006-11-17 Thread marcos rebelo

My actions where:
  Create the project
  Write the hello world program
  set the path variable to 'E:\cygwin\bin'
  run the program
  create the file .gdbinit
  try to do debug

What am I missing?
What am I doing wrong?


Thanks for the help
Marcos

On 11/17/06, Dave Korn [EMAIL PROTECTED] wrote:

On 17 November 2006 14:24, marcos rebelo wrote:

 The code runs correctly, but when I do Debug I have this message:

 Warning: /eclipse_projects/C++/Test/.settings;E: No such file or directory.
 Warning: /eclipse_projects/C++/Test;E: No such file or directory.
 Warning: /cygdrive/e/eclipse_projects/C++/Test/E: No such file or directory.

  This looks like you've used a (mixed format) DOS-style search path, i.e.
drive letters  and semi-colons to separate the entries.  Try using posix paths
and separating the entires with colons.


cheers,
  DaveK
--
Can't think of a witty .sigline today


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/





--
Marcos Rebelo
http://oleber.awardspace.com/

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



libXML

2005-05-24 Thread marcos rebelo
I was trying to install this library and the perl module that do the
warp around it. After some changes in the instalation script I'm able
of installing the module but I'm no longer able of calling one program
from the Perl.

the version 2.6.13(1.236 kb) has +- twice the size of the version
2.6.16 (669). Is this correct.

Thanks
MArcos

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: XML::LibXSLT on Cygwin

2005-05-23 Thread marcos rebelo
This email has already sent but is about the XML::XSLT

It is possible to install this Perl module in the Cygwin.
 
When I do 'perl  Makefile.pl' the script blows up and creats the file
'perl.exe.stackdump'

I changed the code of the Makefile.pl inside the 'sub backtick' from
 
open(STDOUT, $DEVNULL);
open(STDERR, $DEVNULL);
my $results = `$command`;
 
to:
 
 191 warn $DEVNULL;
 192 warn $command;
 193
 194 #open(STDOUT, $DEVNULL);
 195 #open(STDERR, $DEVNULL);
 196
 197 my $results = `$command`;
 198  warn $results;
 
and I get this output
 
running xslt-config... /dev/null at Makefile.PL line 191.
xslt-config --version at Makefile.PL line 192.
C:\cygwin\bin\perl.exe (2672): *** unable to remap
C:\cygwin\bin\cygiconv-2.dll to same address as parent0xD7) != 0xD8 
3 [main] perl 2416 fork_parent: child 2672 died waiting for dll loading
 
 How can I fix this?
 
 Thanks
 Marcos

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



XML::LibXML on Cygwin

2005-05-22 Thread marcos rebelo
It is possible to install this Perl module in the Cygwin. 

When I do 'perl  Makefile.pl' the script blows up and creats the file
'perl.exe.stackdump'

I changed the code of the Makefile.pl inside the 'sub backtick' from 

open(STDOUT, $DEVNULL);
open(STDERR, $DEVNULL);
my $results = `$command`;

to:

191 warn $DEVNULL;
192 warn $command;
193 
194 #open(STDOUT, $DEVNULL);
195 #open(STDERR, $DEVNULL);
196 
197 my $results = `$command`;
198  warn $results;

and I get this output

running xslt-config... /dev/null at Makefile.PL line 191.
xslt-config --version at Makefile.PL line 192.
C:\cygwin\bin\perl.exe (2672): *** unable to remap
C:\cygwin\bin\cygiconv-2.dll to same address as parent(0xD7) !=
0xD8
  3 [main] perl 2416 fork_parent: child 2672 died waiting for dll loading

How can I fix this?

Thanks
Marcos

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



installing XML::Xerces in Perl

2005-05-01 Thread marcos rebelo
I'm getting crazy 

I have the Xerces (I think) installed.

Now I have to set some variables but I dont know to what, can someone help me

XERCES_LIB
XERCES_INCLUDE
XERCESCROOT
XERCES_CONFIG

Thanks

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: I need to change my home directory

2005-04-28 Thread marcos rebelo
Thanks

On 4/28/05, Larry Hall [EMAIL PROTECTED] wrote:
 At 11:46 AM 4/22/2005, you wrote:
 Hy all
 
 My home directory is something like:
 
 /cygdrive/c/Documents and Settings/xpto
 
 I would like to have it in:
 
 /home/xpto
 
 I hwve this in one computer but not in the other. But I didn't do
 nothing for that.
 
 What am I doing wrong?
 
 Apparently, you're just not aware of the differences between these two
 systems.  Look at '/etc/defaults/etc/profile' for a description of how
 Cygwin determines what your home directory is.  That should provide some
 insight.  If it's just plain set incorrectly in your '/etc/passwd' file,
 rerun 'mkpasswd' as specified in '/etc/postinstall/passwd-grp.sh.done'
 but add the '-p' flag followed by '/home/xpto'.  'man mkpasswd' provides
 the full details.
 
 There.  Done. :-)
 
 
 --
 Larry Hall  http://www.rfk.com
 RFK Partners, Inc.  (508) 893-9779 - RFK Office
 838 Washington Street   (508) 893-9889 - FAX
 Holliston, MA 01746
 


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



I need to change my home directory

2005-04-23 Thread marcos rebelo
Hy all

My home directory is something like:

/cygdrive/c/Documents and Settings/xpto

I would like to have it in:

/home/xpto

I hwve this in one computer but not in the other. But I didn't do
nothing for that.

What am I doing wrong?

Thanks
Marcos

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



I'm getting crazy whith the cron

2004-10-21 Thread Marcos Rebelo
I don't know what to do any more.

On the System Events I find this:

Event Type: Information
Event Source:   /usr/sbin/cron
Event Category: None
Event ID:   0
Date:   21-10-2004
Time:   10:46:00
User:   NT AUTHORITY\SYSTEM
Computer:   EDWKN234
Description:
The description for Event ID ( 0 ) in Source ( /usr/sbin/cron ) cannot
be found. The local computer may not have the necessary registry
information or message DLL files to display messages from a remote
computer. You may be able to use the /AUXSOURCE= flag to retrieve this
description; see Help and Support for details. The following information
is part of the event: /usr/sbin/cron : PID 992 : (mrebelo) CMD
('/bin/echo hello  /cygdrive/c/test.txt').


#

 crontab -l

# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/tmp/crontab.4000 installed on Wed Oct 20 16:07:47 2004)
# (Cron version -- $Id: crontab.c,v 1.7 2003/04/15 15:13:41 corinna Exp
$)
*   *   *   *   *   '/bin/echo hello 
/cygdrive/c/test.txt'


#

 cron_diagnose.sh 

cron_diagnose.sh 1.6

This script did not find any errors in your crontab setup.
If you are still unable to get cron to work, then try
shutting down the cron service, uninstalling it,
reinstalling it, and restarting it.

The following commands will do that:
  $ cygrunsrv --stop cron
  $ cygrunsrv --remove cron
  $ cygrunsrv --install cron -p /usr/sbin/cron -a -D
  $ cygrunsrv --start cron

If the cron service does not start, try deleting the file
/var/run/cron.pid and then repeating the commands above.

Also, examine the log file for cron, /var/log/cron.log, for
information that it might give you about the problem cron is
having.

If none of this fixes the problem, then report your problem
to [EMAIL PROTECTED]  Please include a copy of your crontab,
('crontab -l') and the output of 'cygcheck -srv  cygcheck.txt'.

Please include the generated file 'cygcheck.txt' *as an attachment*,
and NOT in the body of the mail message.



#

cygcheck -srv

Cygwin Configuration Diagnostics
Current System Time: Thu Oct 21 12:08:21 2004

Windows XP Professional Ver 5.1 Build 2600 Service Pack 2

Path:   ~\bin
C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
C:\cygwin\usr\X11R6\bin
.\
C:\cygwin\bin
C:\cygwin\usr\X11R6\bin
c:\jdk1.5.0\bin
c:\Perl\bin\
c:\WINDOWS\system32
c:\WINDOWS
c:\WINDOWS\System32\Wbem
c:\Program Files\UltraEdit
c:\Program Files\ATI Technologies\ATI Control Panel
c:\Program Files\Microsoft Visual Studio\Common\Tools\WinNT
c:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin
c:\Program Files\Microsoft Visual Studio\Common\Tools
c:\Program Files\Microsoft Visual Studio\VC98\bin

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 11839(mrebelo) GID: 10513(mkgroup-l-d)
10513(mkgroup-l-d)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 11839(mrebelo) GID: 10513(mkgroup-l-d)
0(root)  544(Administrators)  
545(Users)   10513(mkgroup-l-d)

SysDir: C:\WINDOWS\system32
WinDir: C:\WINDOWS

HOME = `c:\Documents and Settings\mrebelo.EDISOFT'
MAKE_MODE = `unix'
PWD = `/cygdrive/c'
USER = `mrebelo'

!EXITCODE = `'
ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
APPDATA = `C:\Documents and Settings\mrebelo.EDISOFT\Application Data'
CLASSPATH = `C:\jdk1.5.0\jre\lib\rt.jar;C:\jdk1.5.0\lib\tools.jar'
CLIENTNAME = `Console'
COMMONPROGRAMFILES = `C:\Program Files\Common Files'
COMPUTERNAME = `EDWKN234'
COMSPEC = `C:\WINDOWS\system32\cmd.exe'
CVS_RSH = `/bin/ssh'
CYGWIN_ROOT = `\cygwin'
DISPLAY = `127.0.0.1:0.0'
EDITOR = `nedit'
FP_NO_HOST_CHECK = `NO'
HOMEDRIVE = `C:'
HOMEPATH = `\Documents and Settings\mrebelo.EDISOFT'
HOSTNAME = `edwkn234'
INCLUDE = `C:\Program Files\Microsoft Visual
Studio\VC98\atl\include;C:\Program Files\Microsoft Visual
Studio\VC98\mfc\include;C:\Program Files\Microsoft Visual
Studio\VC98\include'
INFOPATH =
`/usr/local/info:/usr/info:/usr/share/info:/usr/autotool/devel/info:/usr
/autotool/stable/info:'
LIB = `C:\Program Files\Microsoft Visual Studio\VC98\mfc\lib;C:\Program
Files\Microsoft Visual Studio\VC98\lib'
LOGNAME = `mrebelo'
LOGONSERVER = `\\EDISOFTNT02'
MANPATH =
`/usr/local/man:/usr/man:/usr/share/man:/usr/autotool/devel/man::/usr/ss
l/man:/usr/X11R6/man'
MSDEVDIR = `C:\Program Files\Microsoft Visual Studio\Common\MSDev98'
NUMBER_OF_PROCESSORS = `2'
OLDPWD = `/cygdrive/c/Documents and Settings/mrebelo.EDISOFT'
OS = `Windows_NT'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 

RE: Cron doesn't work

2004-10-12 Thread Marcos Rebelo
It seems that cron is not working at all. 

What do I have to do set him to work?
OR to test if he is working?

Thanks
MArcos

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Larry Hall
Sent: segunda-feira, 11 de Outubro de 2004 17:27
To: Marcos Rebelo; [EMAIL PROTECTED]
Subject: Re: Cron doesn't work

At 08:25 AM 10/11/2004, you wrote:
I have the cron installed, my crontab is:
*/2 *   *   *   *   perl -e 'open(FILE,
/cygdrive/c/deleteMe.txt) or die $!; print FILE (time.\n);
close(FILE)'

but nothing is going on.


I suggest you start with something easier (like '/bin/echo hello'), 
always use full paths, search the email archives for cron problems and
solutions, and read and follow the advice at:

Problem reports:   http://cygwin.com/problems.html



--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
838 Washington Street   (508) 893-9889 - FAX
Holliston, MA 01746 


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Cron doesn't work

2004-10-11 Thread Marcos Rebelo
I have the cron installed, my crontab is:
*/2 *   *   *   *   perl -e 'open(FILE,
/cygdrive/c/deleteMe.txt) or die $!; print FILE (time.\n);
close(FILE)'

but nothing is going on.

Marcos




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Windows person trying to use Cygwin

2004-10-01 Thread Marcos Rebelo
I'm finding two annoying problems in Cygwin

1º) I can't have the Num Lock activated otherwise the arrow keys don't
work.
2º) with nedit I can select text with the mouse, but not with the
keyboard.

I don't know if the problems are related.

Thanks for any help
Marcos


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Windows person trying to use Cygwin

2004-10-01 Thread Marcos Rebelo

I'm finding two annoying problems in Cygwin

1º) I can't have the Num Lock activated otherwise the arrow keys don't
work.
2º) with nedit I can select text with the mouse, but not with the
keyboard.

I don't know if the problems are related.

How can I resolve them?

Thanks for any help
Marcos



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



rlogin or rsh correct install

2004-09-15 Thread Marcos Rebelo
I need to use the rlogin and I don't know witch package to use.

The command rsh is giving me this error

rsh.exe: remote terminal session not supported

Runs commands on remote hosts running the RSH service. 

RSH host [-l username] [-n] command

  hostSpecifies the remote host on which to run command.
  -l username Specifies the user name to use on the remote host. If 
  omitted, the logged on user name is used.
  -n  Redirects the input of RSH to NULL.
  command Specifies the command to run.

What am I doing wrong?

Thanks
Marcos Rebelo


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/