This is the mail archive of the cygwin-xfree mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Newbie needs help getting GUI


Ugh, top-posting.  Reformatted...

On Fri, 8 Jul 2005, Peter Urban wrote:

> > -----Original Message-----
> > From: Alexander.Gottwald@XXXXX.XX-XXXXXXXX.XX

<http://cygwin.com/acronyms/#PCYMTNQREAIYR>.  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 username@hostname 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 username@hostname 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 username@hostname gnome-session

).

> Then, I tried 'ssh -Y username@hostname 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/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]