Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
On Vista Machine cmd prompt
Putty/SSH into linux box
cannot open display:
Run 'gedit --help' to see a full list of available command line options.
root@james-desktop:/home/james# DISPLAY=:0.0 gedit
root@james-desktop:/home/james# DISPLAY=:0.0 gedit &
So from above: Gedit cant open DISPLAY and fails
Setting DISPLAY to :0.0 and executing gedit gives no failure msg but doesn't open GEDIT on the Vista Screen
Adding a trailing Ampersand gives  6846 and still fails to open Gedit on the vista screen
What command would I need to execute to discover if I have X11 forwarding?
And can I execute the command from a Vista laptop across a putty ssh or do I need to travel to the linux box to execute?
Thank you for your rapid response
Do you have an X server running on the Vista machine? 'Cos you'll need one if you want to run graphical programs like gedit over ssh.
You could of course just use a non-graphical interface editor. If you're only used to GUI editors then pico is possibly the easiest non-graphical interface text editor to pick up and use. Certainly easier than vi or emacs, though not as powerful as either.
Here is the content of /etc/ssh/ssh_config
I am unfamiliar with X Syntax but I see # symbols to the right of all entries. Some apps use that as a comment. Second line comes close to your X11forwarding yes
Do I need to edit that line to delete the # and change the No to Yes? if so what other changes do I need to make?
# ForwardAgent no
# ForwardX11 no
# ForwardX11Trusted yes
# RhostsRSAAuthentication no
# RSAAuthentication yes
# PasswordAuthentication yes
# HostbasedAuthentication no
# GSSAPIAuthentication no
# GSSAPIDelegateCredentials no
# GSSAPIKeyExchange no
# GSSAPITrustDNS no
# BatchMode no
# CheckHostIP yes
# AddressFamily any
# ConnectTimeout 0
# StrictHostKeyChecking ask
# IdentityFile ~/.ssh/identity
# IdentityFile ~/.ssh/id_rsa