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