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.
I'm relatively new to this whole forum thing and not very experienced with Linux. I hope my post is not too verbose.
I have a particular problem at the moment with trying to gain access to a machine which is part of a bigger system and is managed by the Company I work for. The system is designed by others. I/we do support on various windows and linux machines on this system. I hope that helps set the scene.
My ultimate aim to to run a custom X window application. Therefore, I first setup a ssh session, enable X11 port forwarding and start the custom app.
I'm using PuTTY (on windowsXP) from my office to access a remote linux (CRUX) kernel 2.4.XX machine. I login via a user called "fred" (with password fred). But everytime I try and login it rejects my login request. I'm sure I have the right password. Alternatively, I can succesfully login as "root" to the same machine.
If I ssh and login as "root" I can "su - fred" successfully. As "fred' user my X window app won't work (I'm using Cygwin/X for an X-server on Windows). Even if I try and start "xcalc" it doesn't work. I'm told X windows protocol doesn't handle NAT and firewalls very well that's why people use ssh and X11 port forwarding.
Incidently, I can start and X app (e.g like 'xcalc') when I'm logged in remotely as "root" so at least I know my X11 forwarding is setup properly.
I can also telnet to the CRUX machine from my windows machine successfully. However, when I do this no password is requested and I successfully connect to the machine??? I haven't tried running 'xcalc' to see if X will run over a telenet session? I don't think somehow it will!
This is strange to me as the local users (on-site) use the password "fred" to login locally as "fred" user.
I did a bit a search and found a post titled "root password isn working" which talks about a similar problem but with "root" user. There is some settings in sshd_config which did the trick...
Perhaps a tweak in sshd_config is required????
I'm stumped? Please help
Is there any log files I can look at?
Is it something to do with user accounts and passwords?
Does "sshd" require to be restarted in sshd_config is changed?
If so, what's the best way to do that without rebooting the machine?
Suppose another alternative is VNC bu I've had no experience in setting it up?
By the sounds of it you seem more advance in Linux than me (im a windows user) but putty normally uses port 22.
I don’t quite understand, are you able to make a connection to box? And then when you enter the password it says connection refused? (Or am I making some stupid mistake and i wasn’t reading your post correctly.)
Surprisingly i noticed that sometimes debian distro (gay ubuntu) don’t allow you to putty in as root, (well it happened for me).but rather just use the sudo command to do root stuff.
Last edited by mono-factor; 08-10-2009 at 10:54 PM.
Reason: i cant spell T_T