RE: Newbie needs help getting GUI

2005-07-08 Thread Igor Pechtchanski
Ugh, top-posting.  Reformatted...

On Fri, 8 Jul 2005, Peter Urban wrote:

> > -Original Message-
> > From: [EMAIL PROTECTED]

.  Thanks.

> > Subject: Newbie needs help getting GUI
> >
> > Depending on the desktop environment you have to run different
> > programs which startup the GUI:
> >
> > Gnome: gnome-session
> > KDE: startkde
> > CDE: dtsession
> > X11: ~/.xinitrc
> > (this will do the same as startx)
> >
> > You can start a single program by typing it's name:
> >
> > $ mozilla
> > $ gimp
> >
> > You can add this to the ssh commandline for easy access:
> >
> > ssh -Y [EMAIL PROTECTED] gnome-session
> >
> > This will login and start the remote gnome desktop.
> > Please note that running the remote desktop with multiwindow mode will
> > result in a strange window layout, so are best used in the windowed
> > mode (omiting the -multiwindow parameter).
>
> Thanks for the quick response! I'm not certain which environment is
> available on the Red Hat machine and I don't have physical access to it.
> It's running Red Hat Enterprise 4.
>
> I tried 'ssh -Y [EMAIL PROTECTED] gnome-session' and get the
> following...
>
> (gnome-session:6144): Gtk-WARNING **: cannot open display:

Either run the ssh command from an xterm that pops up when you start X, or
set your DISPLAY in the shell that you run ssh from (i.e., run it as

DISPLAY=:0 ssh -Y [EMAIL PROTECTED] gnome-session

).

> Then, I tried 'ssh -Y [EMAIL PROTECTED] startkde' and get the
> following...
>
> /usr/bin/startkde: line 70: xsetroot: command not found
> /usr/bin/startkde: line 189: xset: command not found
> /usr/bin/startkde: line 192: xset: command not found
> /usr/bin/startkde: line 202: xsetroot: command not found
> startkde: Starting up...
> ksplash: cannot connect to X server
> kdeinit: Abortin. $DISPLAY is not set.
> Warning: connect() failed: :No such file or directory
> ksmserver: cannot connect to X server
> startkde: Shutting down...
> Warning: connect() failed: :No such file or directory
> Error: Can't contact kdeinit!
> startkde: Running shutdown scripts...
> startkde: Done.

Same as above.

> Is there something that must be configured on the Red Hat workstation?

No, it's your local thing.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA


RE: Newbie needs help getting GUI

2005-07-08 Thread Peter Urban
Thanks for the quick response! I'm not certain which environment is
available on the Red Hat machine and I don't have physical access to it.
It's running Red Hat Enterprise 4.

I tried 'ssh -Y [EMAIL PROTECTED] gnome-session' and get the
following...

(gnome-session:6144): Gtk-WARNING **: cannot open display:

Then, I tried 'ssh -Y [EMAIL PROTECTED] startkde' and get the
following...

/usr/bin/startkde: line 70: xsetroot: command not found
/usr/bin/startkde: line 189: xset: command not found
/usr/bin/startkde: line 192: xset: command not found
/usr/bin/startkde: line 202: xsetroot: command not found
startkde: Starting up...
ksplash: cannot connect to X server
kdeinit: Abortin. $DISPLAY is not set.
Warning: connect() failed: :No such file or directory
ksmserver: cannot connect to X server
startkde: Shutting down...
Warning: connect() failed: :No such file or directory
Error: Can't contact kdeinit!
startkde: Running shutdown scripts...
startkde: Done.

Is there something that must be configured on the Red Hat workstation?


Thanks again!
-Peter



> -Original Message-
> From: [EMAIL PROTECTED]
> Subject: Newbie needs help getting GUI
> 
> 
> Depending on the desktop environment you have to run different 
> programs
> which startup the GUI:
> 
> Gnome: gnome-session
> KDE: startkde
> CDE: dtsession
> X11: ~/.xinitrc
> (this will do the same as startx)
> 
> You can start a single program by typing it's name:
> 
> $ mozilla
> $ gimp
> 
> You can add this to the ssh commandline for easy access:
> 
> ssh -Y [EMAIL PROTECTED] gnome-session
> 
> This will login and start the remote gnome desktop.
> Please note that running the remote desktop with multiwindow mode will

> result in a strange window layout, so are best used in the windowed 
> mode (omiting the -multiwindow parameter).
> 
> bye
>   ago
> --
>  [EMAIL PROTECTED] 
>  http://www.gotti.org   ICQ: 126018723


Re: Newbie needs help getting GUI

2005-07-08 Thread Alexander Gottwald
On Fri, 8 Jul 2005, Peter Urban wrote:

> I installed Cygwin/X on an XP computer. I'm trying to connect to a
> Redhat workstation that allows an SSH connection. Launching Cygwin, I
> get the shell. Typing "ssh -Y - username hostname", I can successfully
> connect to the workstation and get a shell. Pardon what may be a simple
> question, but how do I get a GUI?

Depending on the desktop environment you have to run different programs 
which startup the GUI:

Gnome: gnome-session
KDE: startkde
CDE: dtsession
X11: ~/.xinitrc
(this will do the same as startx)

You can start a single program by typing it's name:

$ mozilla 
$ gimp

You can add this to the ssh commandline for easy access:

ssh -Y [EMAIL PROTECTED] gnome-session 

This will login and start the remote gnome desktop.
Please note that running the remote desktop with multiwindow mode will
result in a strange window layout, so are best used in the windowed mode
(omiting the -multiwindow parameter).

bye
ago
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723


Newbie needs help getting GUI

2005-07-08 Thread Peter Urban
I installed Cygwin/X on an XP computer. I'm trying to connect to a
Redhat workstation that allows an SSH connection. Launching Cygwin, I
get the shell. Typing "ssh -Y - username hostname", I can successfully
connect to the workstation and get a shell. Pardon what may be a simple
question, but how do I get a GUI?

I'm a *NIX newbie, so please speak slowly and be gentle. I've
unsuccessfully tried to find the solution in the Cygwin documentation
and the FAQs and the mailing lists.

Thanks in advance for your help.

-Peter


Re: Gnome problem

2005-07-08 Thread Gerrit P. Haase

Redirected to cygwin-xfree list.

Alireza Ghasemi wrote:


Hello
I tried to compile gnome-libs with cygwin and in configuration phase I got
the following error :
" checking for gmodule support... no
configure: error: Dynamic linking is not available on this platform. Some
apps,like panel, will not run properly. "
Is there any idea about solving it ? And at all,What should I do if I want
to have Gnome in my cygwin ? What packages should I download ?
Thanks.


There are several Gnome packages available in the GNOME category of
Cygwin Setup, just start it: http://cygwqin.com/setup.exe and tell me
which packages you are missing.


Re: Cygwin-Xfree 6.8.2.0-1 - Keyboard problem with Matlab 6.X

2005-07-08 Thread Thomas Chadwick

This thread from several years ago may be what you're looking for...

http://www.cygwin.com/ml/cygwin-xfree/2002-06/msg00307.html

-Tom


From: Mathieu OUDART
Reply-To: cygwin-xfree@cygwin.com
To: cygwin-xfree@cygwin.com
Subject: Re: Cygwin-Xfree 6.8.2.0-1 - Keyboard problem with Matlab 6.X
Date: Fri, 08 Jul 2005 08:43:04 +0200



Hi all,

I actually use Cygwin/X to display software from remote Unix servers.

It really works fine except with matlab 6 :
When I launch matlab, the main window appears on my local display but
the keyboard seems inactive.
(I cannot type anything inside the matlab's command window)

Moreover, a left click is a "paste" (?), middle is also "paste" while
the right click opens correctly the context menu.



Maybe a problem with modifier keys. Try disabling numlock.

bye
ago


Quite simple and it works .. thanks !
and if anyone knows how I could get a working numpad that would be great !

--
Mathieu OUDART






Gnome problem

2005-07-08 Thread Alireza Ghasemi
Hello
I tried to compile gnome-libs with cygwin and in configuration phase I got
the following error :
" checking for gmodule support... no
configure: error: Dynamic linking is not available on this platform. Some
apps,like panel, will not run properly. "
Is there any idea about solving it ? And at all,What should I do if I want
to have Gnome in my cygwin ? What packages should I download ?
Thanks.