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 have been looking around the web for a way to logoff a user after a certain amount of time. I am using Fedora Core 2 and running GNOME with X-Windows. When I logout this user I want it to return me to the login screen. I tried putting this code:
// Timeout if no input is given for 1 hour
Into my “.bash_profile” file, but it didn’t seem to work. So I did some more reading and found a few things talking about “tcsh”, but I didn’t understand what any of that was talking about.
Could someone point me in the right direction? I can navigate and make things work in Linux, but I would still call myself a noob.
It is not a matter of security. Yes this adds to it, but the primary reason is because the only way I connect is trough x11vnc. If I lose my connection while logged in it won’t let me reconnect. There is no monitor, keyboard, or mouse on this computer and I am forced to reset it so x11vnc will work again.
When I had the machine hooked up to a monitor, keyboard, and mouse, I found logging out allowed me to connect again using x11vnc.
Not sure how to fix this. Just thought this would be a good path to try.
Well I changed the display number to 1 (-display :1) and I can't connect at all anymore. I get constant "Failed to connect to server" messages. Now I have to hook up a monitor, keyboard, and mouse to fix it.
Dose anyone have any type of script to log someone off of x-windows if they are Idle for to long? An auto-logout seems to be the best solution for what I want.
Originally posted by rholiday what error do you receive when you attempt to reconnect? Is it similar to 'all sessions in use'?
No all I get is a "Failed to connect to server" message.
i am interested in this as well. i tried setting TMOUT=900 in .bashrc but it doesn't do anything when in xwindows, only when logged in using ssh (it boots you out). Abnoba12, did you ever figure this out?