Fedora :: Safe Way To Disable Xsession Error Log File?
Mar 26, 2009
I noticed the xsession-error file in my main user's home folder grow up to a big size, it's usually at 2-3MB sometimes up to 20MB. I use Fedora 10 64bit and KDE4.2. I got no problems at all and the xsession-error logfile is full of weird entrys, almost everything is reporting to it, mplayer, xine, opera, firefox, dolphin and many other software I use. I don't think the most of these entrys are real and critical system errors, especially all the mplayer stuff. However, I'm not worried about the file size since Fedora 10 seems to delete the file on every log in.
My problem is the disc access because all this never ending writings to hard disc kinda break things like the mount options noatime, nodiratime. I read something about you can redirect the logfile to /dev/null but that was for an ubunto distribution and I would like to get a how to for a save way to disable the xsession-error logfile, I got 8GB RAM so everything is in cache anyway after a long session, I really want to get rid of unnessesary hard disc access like that. If not recommend to disable it, can I direct it to an usb stick or ssd?
I was trying to install a couple of the sun packages to have and after the install I get the follow error. Xsession: unable to start X session--- no "/home/username/.xsession" file, no "/home/username/.xsession" file, no session managers, no window managers, and no terminal emulators found; aborting. I am now not able to log into the system at all....Can someone tell me what I've done wrong? How can a repair this?
My bluetooth seems to be activated in the system tray when I start the computer, can I disable this?.I do not want my computer to be visible to other computers if you know what I mean.Is it still safe even if the icon shows, Iam a little afraid someone might be able to hack the system this way? If itś still safe having it this way I dont really need to turn it of guess i�m a litlle paranoid because i never use bluetooth
there is something called show bluetooth icon when you click on Preferences in the menu is that a way to disable it?usually i used the quick keys on my keyboard but they don't seems to work in opensuse
I opened a specific port in my router and manually configured Limewire to use the same port for all traffic, but I notice when I disable and turn off Firestarter when on limewire, my searches go really fast and dowaloads zoom really fast also I am not running as root. Is this ok to temporarly stop the firewall when I am on Limewire and then turn it back on when finished?
I want to put: xmodmap -e "pointer =3 2 1" somewhere in the startup. It seems creating an .xsession is the solution. But after I create a .xsession file in my home folder, the next time I run startx the screen just turns black. (And only for a short while can I switch to another virtual terminal, before that too becomes impossible). After deleting the file it runs OK again. I'm not using any login/desktop manager. I use IceWM on Debian Squeeze. Is there some script/import that has to be present in the .xsession file, or is something else going on? Also I'd like to know what I should do when I get a black screen. Turning off the PC is such a crude method
I'm trying to control my media center via my netbook but when I ssh into the machine and do Code ...
So I guess the ssh session is trying to start an x session. Obviously I don't want another session but instead use the existing x session that the machine runs anyway (and on which Rhythmbox runs)
googling I found a similar bug for f12 but no solution or fix or anything...
sorry if this is such a noob question. I've never dealt with xsessions in that way...
Is there a safe way to cleanup the /lib file tree? Mines gotten too large for the filesystem it's on (/), and I've already shot myself in the foot a few times trying to delete things.
I'm trying to clean up an iTunes-sorted Music directory. For whatever reason, it contains a large number of folders that have album art, but no music. I'm actually more concerned about a safe way to test my removal batch, but I thought I'd paste everything I did in case it's useful to someone. Based on this thread, I came up with the following script:
Code: #!/bin/bash find ./*/* -type f -iregex ".*(mp3|m4a)" | sort | while read line ; do echo "${line%/*}" >> file1 done sort -u file1 > fileuniq
[Code]...
But I'm scared to just run this on my music folder. Is there any way to run rm in "test mode", so that I would just see verbose output, but it wouldn't actually delete anything? Failing that, does anyone see anything wrong with my plan?
Due to some reason not known to me at this moment, my regular shutdown doesn't work. It freezes on disabling the swap file and doesn't do anything. Now, until that problem is solved, I need a way to properly shutdown. I found one, which is poweroff -f, but it is hardly graceful, and would amount to 'flipping the switch' I guess. The other is hibernate, which is what I now use. This does work, but I rather completely shut down the system. For one, regular boot is quicker than resuming from hibernate.
My main question is: is there any way to make the poweroff -f command, e.g. combined with manually disabling the swap file or whatever,"safe?" as in, I can imagine a sudden power off meaning more chance of damage to the HD, which I don't want.
I open an ODS file and edit it and save, fine. But sometimes and for no readily apparent reason it refuses to save the document with the error message:"Error saving the document <filename>: Write error. The file could not be written". I have upgraded my version of OpenOffice but the issue remains. Once it starts with that error the only way to save the file is to actually abandon my change and restart OOffice. Today I lost an hours stuff as the auto save was also failing but not giving me any warning it was failing. I'm not sure if this is an OpenOffice, file system, Fedora or permissions issue though I've not noticed anything similar with other applications. Have set permissions to 777 but still get the error.
I am developing a program in a system where the Linux does not take care of the sync command automatically. So I have to run it from my application always I save some data in the disk, which in my case is a 2GB sdcard. It is true that I can make the operation system takes care of the syncronization, using a proper mount option, but in this case the programm's performance drops drastically. In particular I use the shelve module from Python to save data that comes from a socket/TCP connection and I have to deal with the potencial risk of the system being turned off suddenly Initially I wrote something like that to save data using shelve:
But that takes too much time to save the data. Note that I use the sync from the OS every time I close a file to prevent data corruption in the case of the "computer" being turned off with data even in the buffer. To improve the performance I made something like that:
Code:
def saveListData( list ) fd = shelve.open('file_name', 'c') for itemVo in list: fd[itemVo.key] = itemVo fd.close() os.system("sync")
Thus, first I saved an amount of objects in a list then I open the file and save the objects. In this way I have to open the file just one time to save a lot of objects.However I would like to know if adding a lot of objects before closing the file would increase the risk of data corruption.I known that turning off the system after fd.close() and before os.sync may cause problems. But what about turning off the system after
i have a problem with realplayer 11 i can't open it due to that error message
Code: /opt/real/RealPlayer/realplay.bin: error while loading shared libraries: libgdk-x11-2.0.so.0: cannot open shared object file: No such file or directory so how can reveal this problem
I recently upgraded to 10.04, but I'll be darned if I can get GDM to run my personal .Xsession (or .xsession or .xinitrc or.Xclients...) when I log in. I don't see any option on the session menu. The only entries are window managers and "xterm". My script works when I log in from the console. don't tell me that Ubuntu (or GDM) has made things simpler by taking away the option of a .Xsession! Nah, couldn't be.
I recently upgraded my file/media server to Fedora 11. After doing so, I can no longer copy large files to the server. The files begin to transfer, but typically after about 1gb of the file has transferred, the transfer stalls and ultimately fails with the message:
"Error writing to file: Input/output error"
I've run out of ideas as to what could cause this problem. I have tried the following:
1. Different NFS versions: NFS3 and NFS4 2. Tried copying the files to different physical drives on the server. 3. Tried copying the files from different physical drives on the client. 4. Tried different rsize and wsize block sizes when mounting the NFS share 5. Tried copying the files via a different protocol. SSH in this case. The file transfers are always successful when I use SSH.
Regardless of what I do, the result is the same. The file transfers always fail after approximately 1gb.
Some other notes.
1. Both the client and the server are running Fedora 11 kernel 2.6.29.5-191.fc11.x86_64
I am out of ideas. Has anyone else experienced something similar?
I've just install SUSE 11.3. GNOME and KDE are selected as GUI session.At the login screen, in Session list I saw TWM, and after selected it as login session I couldnt login, and login screen disappear as well. It shows a black screen and the mouse pointer, and I have no idea how to switch to KDE or GNOME since no login screen.
I delete the file and within about a week i am back to a "out of space error" I have tried root owning the file with no permission to write, but it still gets written, just with a number on the end
the system appears to be working fine otherwise. I could set a cron remove but that seems a bit more hacky than telling it to shut up.
My problem is, when I start my custom xsession through startx I get almost ideal results; the network manager requires a password every time. But when it is run through gdm I cannot use any of the awesome3 hotkeys (and so alas, cannot actually do _anything_) although the wireless does connect automatically (?).
Just today I started getting notices about lack of disk space on my system. After much digging I found that .xsession-errors and .xsession-errors.old were taking nearly 70GB of space combined. The primary message I'm getting over and over again is: SSL_Write: I/O Error I have been unable to figure out what's causing this error.
Just started to use Fedora and version 11 a couple of months ago. Is it safe to use preupgrade to do an upgrade to version 12 or is it better to do a fresh install?
On my friend's fedora 13 install, firefox was working, it seems, until the recent kernel update (kernel is now 2.6.33.6-147.fc13.i686).
After the upgrade, opening firefox would crash the system shortly after starting, so firefox was re-installed (once using rpm, once using yum).
After a re-install of firefox (using yum: firefox version is now 3.6.7) and Until a reboot, the repeated error report went something like this:
After checking to see if the flash plugin was still around and then doing a hard re-boot, however, just opening firefox immediately freezes the system.
Konqueror will run (albeit rather lamely)
In that I don't know the schedule for f13 kernel updates, if indeed the new kernel is causing this problem, does f13 save old kernels? How do I get the older kernel to start (with fc9 the option could be set in grub, or I could startx from a terminal but I have not been keeping up and am not sure how to do this.
[URL] Is the PLOP BOOT MANAGER safe to use? This is meant to allow those with older machines to boot from USB (such as boot flash) so if it IS legit, I have a use (need?) for it. So, since I'm NOT familiar with the program OR the site, how do I know? (if provided, one can read the source, BUT how do I know the compiled is legit, & my coding has long rusted solid)
As far as THIS GOES, how can I be sure of ANY file that comes from a source that is questionable? I also found a program for LINUX that scans for malware & such, but there again, I NOT familiar with IT or where it comes from.
I recently installed F15 on my laptop. Earlier today I updated a little bit more than 500 different things, and then rebooted. Upon seeing the GRUB menu, I saw that one of the updates added a newer menu entry for Fedora- the newer one's version was a fraction higher than the older menu entry.Anyways, is it safe for me to comment out the old entry in /boot/grub/menu.lst?
I have had a few X crashes and started to suspect compiz as they usually happened when I was resizing a window or the window was wobbling.
Here is the Xsession-errors log (it's a hidden file in your home folder). It mentions:
Code: WARNING: Application calling GLX 1.3 function "glXCreatePixmap" when GLX 1.3 is not supported! This is an application bug! Starting gtk-window-decorator Unable to find a synaptics device.