[LUGSB] SSH Help?

Michael Florea mflorea at ic.sunysb.edu
Wed Nov 5 11:12:28 EST 2008


Hmm, you want to control your Ubuntu laptop from a windows machine.

The reason you get the display error is simply because your in a
terminal session without xserver started.  Try pressing ctrl+alt+1 and
login into vtty1 and you'll get the same error.

Other options you have are to tunnel X over ssh. See:
http://www.cag.lcs.mit.edu/~wentzlaf/faq/ssh_X.html

Then you have the VNC option which comes with Ubuntu (System ->
Preferences -> Remote Desktop) This is very easy to set up.  The reason
I recommend this is because its easy and it has resumable sessions by
default.

Now if you want to make life easy for accessing from a windows machine
you should install a package called "xrdp."  This sets up an rdp server
on your machine which you could log into using remote desktop client
(which comes on every Windows machine).  From there you can connect to
your local VNC server.  With a little configuration you can make the
whole process nice and smooth. (Have your machine auto login to gnome on
boot up and lock your screen so you can completely remotely manage your
pc including reboots.) It's personally the method I use as it allows me
to access my pc from any SINC site.  For file transfers I still use ssh.

Make sure you forward all the proper ports on your router.

Hope this helps,
Michael Florea

----- Original Message Follows -----
From: "Tam Nguyen" <tamsanh at gmail.com>
To: "Linux Users Group at Stony Brook" <lugsb at fsl.cs.sunysb.edu>
Subject: Re: [LUGSB] SSH Help?
Date: Wed, 5 Nov 2008 10:47:25 -0500

> Reading the page, it doesn't say that it supports Vista. I was also
> hoping to just use putty so that it would be easy for my dorm mates to
> control the ubuntu laptop.
> 
> Why an X server would help me out, anyway?
> 
> Is there another solution?
> 
> On Wed, Nov 5, 2008 at 10:37 AM, Benjamin Kudria <ben at kudria.net>
> wrote:
> 
> > On Wed, Nov 5, 2008 at 10:13, Tam Nguyen <tamsanh at gmail.com> wrote:
> > > Can some one help me? I have openssh-server installed into a
> > > laptop in my dorm connected to a wifi router. I am able to ssh
> > into it using putty on a
> > > vista machine also connected to the same router. However, when I
> > > try to execute commands like
> > >
> > >> ssh User at Computer amarok &
> > >
> > > It asks me to type in the User's password, and then says "Error:
> > no display
> > > specified"
> > > So I tried setting the display like
> > >
> > > DISPLAY=:0.0
> > >
> > > but the command still doesn't work. I also have xauth installed.
> >
> > Did you install an X server?  It looks like Cygwin comes with one
> > (http://x.cygwin.com/).
> >
> > Ben Kudria
> > --
> > http://ben.kudria.net | Jabber: ben at kudria.net
> > _______________________________________________
> > lugsb mailing list
> > lugsb at mail.fsl.cs.sunysb.edu
> > To unsubscribe from this list, go to:
> > http://www.fsl.cs.sunysb.edu/mailman/listinfo/lugsb
> >
> 
> 
> _______________________________________________
> lugsb mailing list
> lugsb at mail.fsl.cs.sunysb.edu
> To unsubscribe from this list, go to:
> http://www.fsl.cs.sunysb.edu/mailman/listinfo/lugsb
> 


More information about the lugsb mailing list