Red Hat / Fedora :: Clear The /tmp Directory When Logout?

Jan 16, 2010

i want to clear the /tmp directory when logout.how can it be set in bash_logout

View 1 Replies


ADVERTISEMENT

Software :: Clear Screen On Logout Using Pam

Jun 24, 2011

If I logout on terminal, old contents are still possible to be read. I was trying to get it to work using pam_exec, by adding

Code:

Code:

This however didn't do antyhing. How to make it work using pam? I know that i can simply add some control codes to /etc/issue to get basically the same effect, but i wanted to do it using pam.

View 1 Replies View Related

General :: How To Clear Out Mqueue Directory

Apr 12, 2011

My system is old. Not debian.How do I clear out the mqueue directory? I don't want to delete it....just clear it out of the email that is clogging up my var partition. This old command doesn't seem to work anymore:find /var/spool/mqueue -exec rm'{}' ;Anybody know of the command to clear my mqueue.

View 5 Replies View Related

Software :: Restart Apache2 Process Every 10 Mins To Clear /tmp Directory?

Aug 31, 2009

I have been working on this for a few hours now and still haven't been able to track down whats going on. I just switched servers and put a fresh debian install on with apache2 + custom suexec + php5(fcgi). now when i upload a file to the site it wont upload, so i tracked down the issue. its the /tmp directory that root tmp. its at 100% so i restart the /etc/init.d/apache2 process and the /tmp directory is automagically cleared to 20% used and i can upload again. so i figure ok its got to be a setting. i looked in all the conf files conf.d the php5 conf files and no where do i have a /tmp directory set. so i think OK I can build a cron to clear the tmp directory every 10 mins till i find the issue, but alas, when i go into the tmp directory There are NO files to delete!!! wtf. holy crap. and all that goodness, this is crazy, how can you have a tmp directory that is not being written to, from all i can see, so i think ok it might be a hard link, i checked, in all root and sub root directories no hard links to tmp, no soft links to temp either. and if i sit in my /tmp directory and do a df -h after some uploads its going from 20% so 23% and up, but i do ls -alh and nothing, then ls -al and watch bytes, nothing , so this is very strange. has anyone encountered something like this? is it possible that this is a hard link thats hidden somewhere or some other extreme function i have never heard of?

View 8 Replies View Related

Ubuntu :: Remove Panel Configuration In Home Directory - Logout And Login

May 22, 2010

I've just made a fresh install of Ubuntu 10.04. When I right-click a panel and choose "New Panel", the panel is made, but is not visible. The panel is placed on the left side of the screen, and icons on the desktop is moved to the right. Also windows does not use the full width of the screen when maximized. I've tried to remove the panel configuration in my home directory, logout and login, installing ATI drivers and running a gnome-panel command (from another post on ubuntu forums), but nothing works.

View 2 Replies View Related

Debian Configuration :: XFCE Logout Doesn't Completely Logout Of System / Solution For This?

Oct 17, 2010

As a normal user I have activated the functions of the Quit applet, i.e. Logout, Shutdown and Restart are active buttons. I am able to restart or shutdown, no problems. But when I use the Logout button I don't get logged out, just returned to the login shell & I am still logged in as my user. I don't have a display manager installed and I do NOT want to use a display manager such as XDM or GDM. How do I get the Logout button to actually logout the user? It appears I am only getting logged out of the x-session, but I want complete logout.

View 6 Replies View Related

General :: Ran "find / -mtime +1 -exec Rm {} ;" - Trying To Clear A Directory ?

Jul 6, 2011

I'm very very tired, worked all night long, and I did't sleep for hours... So I'm like a zombie now... half awake, and half asleep.

I was trying to clear a directory. Then I run the command cd to enter the directory, and then before thinking I run this dangerous command. on my Linux server: "find / -mtime +1 -exec rm {} ;"

I got a lot of:

Could this command have deleted something inside these directories? I'm afraid that the next reboot the server won't startup...

View 2 Replies View Related

Fedora :: F15 Freezes On Logout?

Aug 17, 2011

When I click logout under the user menu (top right), the confirmation dialogue appears, and I can click Logout. the dialogue disappears and it starts to logout normally... then it just stops. it freezes once the top toolbar disappears. my tint2 bar stays visable, as well as my desktop background, and i can move my cursor around, but it wont respond to my keyboard. After just letting it stay like that for a few minutes, nothing changes, it doesn't even dim the screen or go to sleep, it just sits there.

I can shutdown and switch users just fine, just not logout.

View 1 Replies View Related

Fedora :: Set Auto-logout On 11 Gnome?

Aug 25, 2009

How doI change the time interval for auto-logout in gnome? Changing the TMOUT environmental variable only works for bash shell.

View 1 Replies View Related

Fedora :: Session Logout For No Reason?

Oct 17, 2009

I am using Fedora 11 + kde 4.3.1 + compiz. for several times now my session ended unexpected, I can't reproduce that behavior and so I am looking for a log or someplace to look after such logout to find out what caused or triggered it.

I saw another thread about unexpected logout while browsing, its not the same although it happens to me so far while using firefox / mplayer / Kontact (kmail) .

View 1 Replies View Related

Fedora :: Login And Logout Scrips?

Dec 17, 2009

tow simply looking problems, but I don't know how to do it1. Run a script as root after a users login. (not on startup)2. Run a script as root when the user logout.

View 7 Replies View Related

Fedora :: Unlocking Screen Causes Logout

Jul 27, 2010

I just installed F13 on my netbook (Toshiba NB205). Whenever the screensaver locks the screen (manually or due to a timeout), the unlocking of the screensaver causes my account to logout and I'm left at the GDM login screen. I've been seeing that the "work around" is to turn off the screensaver lock.

View 2 Replies View Related

Fedora :: 14 Runlevel 3, Logout From X Does't Work?

Dec 24, 2010

i performed an upgrade from fedora 13 to 14 on my test fedora virtual machine (vmware player 3) and i have this incredible problem: I normally boot in runlevel 3 and i start X only when needed with the startx command.When I want to exit from the X environment I use the "log out <username>" command on the System menu (gnome is the desktop manager). After upgrading to fedora 14 and applying all the available upgrade, this won't work anymore! I'm able to start the X environment but when I try to logout the window/desktop manager got killed but X remain active, the background image is visible on the screen, no mouse or keyboard interaction is possible.

The system is stiil alive, i can login through ssh, but i was not able to do anything. manually switching the runlevel from 3 to 5 and viceversa with telinit doesn't solve the situation: switching to runlevel 5 cause the login screen to be visualized and i' can login in the gnome desktop environment but when i logout o when a try to switch to runlevel 3 I always obtain the same result: X remain active and unusable, it's impossible to go back to a text console. what can i do ? any of you has experienced a similar issue ?

View 14 Replies View Related

Fedora Installation :: How To Clear And Reinstal MBR

Mar 23, 2009

In a dual Vista (pre-installed) - Fedora boot, I have run into a curious issue, that leads into a crash-causing memory fault when attempting to boot live CDs. After Dell technical support (inspiron 1720 laptop) confirmed (beyond doubt) that the problem is caused by the HD and not the memory chips as thought initially, they recommended reformatting the HD and re-installing everything from scratch. Since this is obviously a painful and costly (time- and data-wise) solution, I would like to see whether it might work to clear out the MBR, reinstall it from the Vista recovery CD, and then re-install GRUB somehow. Since this is an "in-principle" cure at present, I would like to seek wisdom and guidance here with respect to whether this approach makes sense and how it should be implemented.

View 1 Replies View Related

Fedora :: F12 - How To Clear ABRT Cache

Apr 12, 2010

I can't find how to clear ABRT cache (other than to forcibly 'rm -rf /var/cache/abrt/'). How does one clear out the pile (which has grown to 1.2 GB here)?

View 3 Replies View Related

Fedora :: Clear 4G Mobile USB White?

Mar 23, 2011

I'm trying to configure this USB wireless stick to work with Fedora 12;

View 1 Replies View Related

Fedora :: Clear All Notifications In Gnome 3?

Jul 8, 2011

I opened firefox and it restored some ~15 windows I had open last time I rebooted. The problem is that for each window it opened it gave me a notification that it's ready, and now they won't go away. I know that I could simply remove them one by one, but that's a bit tedious and I really want to know if there's a faster way to clear all notifications when I'm not intending to look at any of them.

Here's what's happening at the bottom of my screen: I just find it really annoying because it pops up every time I accidentally touch the bottom edge of the desktop.

View 1 Replies View Related

Fedora Installation :: Restore Is To Use Ctr-alt-backspace To Logout

Jun 28, 2009

So I just completed a clean install of Fedora 11 from the live CD. The only thing I've done to it thus far was to run the update manager once. Next item on the agenda was to configure my display to correctly handle my two monitors, but if I open up the controls and select 'Display' both my monitors instantly go blank. The only way to restore them is to use ctr-alt-backspace to logout. My graphics card is an ATI Radeon x800L, and right now I'm using the default ati driver that came with the system.

View 1 Replies View Related

Fedora :: Gnome - Kde Freezes On Logout F12 & F13 / Sort It?

May 26, 2010

I've read some past issues with this and was wondering if anyone else has issues with F12 / F13.

When I logout of gnome or kde on a fresh install of Fedora 13 the panels disapear but I never receive the log on window. I cannot switch to command either the screen is locked completely.

I havn't run updates or anything, the install is nearly out of box except for the installation of kde.. The issue existed before I installed kde, I was hoping it didn't have this issue lol. fat chance of that..

Anyone aware of any fix's? Or what the issue is?

View 1 Replies View Related

Fedora X86/64bit :: Unable To Logout Or Shutdown From KDE?

Jan 31, 2011

For some reason in the last few days I can no longer logout of KDE, nor will it let me shutdown the system. The only way out is to Ctrl+Alt+Backspace and then shutdown from there. Weird thing is other users can. For me the logout box just disappears and I carry on working or if effects are enabled, the screen blurs and I carry on working. After this the logout box doesn't come back up until I have restarted X (logged out).

I have tried disabling the desktop effects to no availe and I have looked in the messages / kdm logs. So far the only thing I can find is in KDM.log

The XKEYBOARD keymap compiler (xkbcomp) reports:
> Internal error: Could not resolve keysym XF86TouchpadOn
> Internal error: Could not resolve keysym XF86TouchpadOff

I have no idea if this is at all relevant but there are several threads from Google relating to this and GDM, although no cures as far as I can tell.

I would rather not delete my ~/.kde folder again if at all possible as it takes ages to reset everything back to normal.

View 3 Replies View Related

Fedora :: Clear Recent Documents In F15 Gnome 3

Jun 5, 2011

How do I clear the list of recent documents in Fedora 15 Gnome 3? There were a few files that I've already deleted from the system, but when I search for them, they still appear under the 'Recent Documents' list. This is proving to be a bit of a privacy nightmare.

View 12 Replies View Related

Fedora :: 14: Gnome Desktop : Sometimes Menus Are Not Clear

Nov 24, 2010

Recently I have upgraded from Fedora 13 to Fedora 14 using preupgrade. Everything is working fine except menus on Gnome desktop. Sometimes menus are not cleared. They just hang on the desktop infinitely.

View 1 Replies View Related

Fedora :: Restart/logout From Fedora 15 Instantly?

May 29, 2011

When I try to logout, it tells that you "will be automaticallyed out after 60 seconds"..and there are two buttons there. one is to "cancel", one is to "logout". Even if I press the logout button, it will logout after only a minute. My question is that how to logout instantaneously (without waiting for 60 seconds).The same problem happens when i try to poweroff or restart the computer. It will do it only after 60 seconds. Who in the world would like a machine which does things according to its wish, rather than execute your command?

View 10 Replies View Related

Fedora :: Random Logout - Takes To The Login Screen

Mar 30, 2010

Recently I've been having an issue where every now and then, all of a sudden fedora logs me out and takes me to the login screen.

All my unsaved work is lost and I have to log back in again.

Is there any way to diagnose this problem and figure out how to solve it?

View 1 Replies View Related

Fedora Installation :: Fresh Install Of F13 - Cannot Shutdown Or Logout

Sep 14, 2010

I've installed F13 on a DELL computer. Everything works fine except that under KDE menu if I click on 'shutdown', I have the confirmation windows but the computer never shutdown. Same issue with the the logout button. If I want to stop my commuter I have to open a terminal and type " shutdown now" or "halt".

View 1 Replies View Related

Fedora :: Screensaver/power Management Results In Logout?

Dec 22, 2010

I have searched for a solution to this issue (it's difficult to come up with a minimum number of search terms) and have found at least one person reporting it, but the solution is "check the xorg logfile" - which is entirely too vague, since I don't know what I'm looking for in the file. Here's the issue: The screensaver and/or power management appears to initiate a logout when I try to awaken the computer, whether the screensaver is still functioning or the screen has been turned off. Wither way, I jiggle the mouse, and it appears there is a crash (black screen with spinning mouse circle) resulting in a new login screen, which is entirely disruptive if I have software running, such as recording an audio stream with Audacity.

I'm using KDE with an OpenGL screensaver (antinspect) set to engage after 10 minutes. As for power settings, I am "letting powerdevil manage screen power saving." On the screen tab I have checked "Dim display when idle for more than [10] minutes." I have enabled display power management - standby after 20 minutes and power off after 30 minutes. (There are way too many options under KDE now, and I don't find an explanation of what the various "Profile Management" options do and what the tabs for "Actions" and "CPU and System" do differently from the "Screen" tab. I have an ATI 4650 video adapter. I'm not using a proprietary driver, since I've not been able to determine that there is one that will work with Fedora 14 (or any other Fedora, for that matter). The machine is a recent AMD (dual core 6000+) with 4Gb of memory.

View 3 Replies View Related

Fedora :: System Asking To Login / Logout For Software Update

Aug 27, 2011

I was trying to update software and it told me to log out and login again. When I tried to login it told that there is a problem and I need to log out and to login again and it kept repeating the message and fedora is not working at all and before that it wasn't working right it kept suspending without reason and each time I turn the laptop off from the power button.

View 4 Replies View Related

Fedora :: Inhibit The Clear Screen Before Login Prompt ?

Aug 10, 2010

The mingetty --noclear parameter is failing with my current Fedora 13 installation. In the past this parameter would inhibit the clearing of the screen before prompting for the login name on the console. At present even with the parameter it clears the screen.

My /etc/inittab (which always worked past versions) contains:

Code:

Can someone tell me if I might be doing something wrong, or was this parameter dropped in the current version? Does anyone know of a workaround?

I understand the security purpose of the clear screen. But the particular computer is in a secured location. I prefer to look at the content of the previous screen for debugging and other chores.

View 4 Replies View Related

Fedora :: Shutdown/Restart/Logout Buttons Do Not Work After An Update?

Mar 8, 2010

I am running Fedora 12 with KDE on an Acer Aspire One netbook.

A recent update has caused the KDE shutdown/restart/logout buttons (found for example through the Fedora -> Leave menu or by pressing the power off switch)to stop working. I am having to shutdown using shutdown -P now command.

So I have the following questions:

a) Has anyone else had this issue and knows a workaround/fix?

b) Does anyone know what package these belong to so I can try an older version?

c) Does anyone know where this package writes its logs, or if I need to install anything for it to do so so I can have a look?

d) Does anyone know the command-line interface to these commands - that may give me either a more gentle workaround than shutdown -P now, or some insight into why the command is no longer working.

View 3 Replies View Related

Fedora :: Normal Users Cannot Logout Or Shutdown In KDE FC14 After Upgrade?

Dec 23, 2010

as a normal user when I click logout from a KDE session nothing happens and I can't re-launch logout again, shutdown is doing the same.I have just upgraded to fc14 from fc13 yesterday tried to delete .kde folder and it has not been succesful tried to create another user and log to kde session and the new user also failed to logout or shutdown Root user is able to logout and shutdown I have no probs on GNOME for root or users.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved