I all, i have need to disable screensaver for Gnome and KDE graphic environment on more server with RHEL4 and RHEL5.
Is there a way to do it at boot time or any other solution?
thank you very much. Max
Does anyone know why my /var/run/mysqld/mysqld.sock
socket file would not be on my computer when I install (or reinstall) MySQL 5.1?
Right now, when I try to start up a server with mysqld, I get errors like Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) when trying to connect
, but creating a blank file with that name (as suggested on the ubuntu forums) was unsuccessful.
I had both mysql and postgres serving fine until I upgraded to natty a little while ago; I have spent hours walking through both databases trying to figure out what is going on. I can give up on postgres, but I cannot work without a working copy of mysql.
The weirdest part: I use Kubuntu, and my understanding is that KDE uses mysql to store user permissions, etc. I am not experiencing any weird permissions issues; can I take this to mean that (somehow?) MySQL is actually working?
Maybe these socket files live in a different place in natty? Would it be easier to just reinstall the os fresh? At this point, I am open to any suggestions that will stop wasting my time.
I had this working once before, but for some reason it's not working on my new system.
in .kde4/Autostart/
I have a symlink to ssh-agent called 01-sshagent
and then a simple script called 02-sshkeys
that looks like this:
/usr/bin/ssh-add $(find $HOME/.ssh/keys -type f | egrep -v '\.pub$')
The problem seems to be that when I startup, ssh-agent is run alright, but KDE doesn't hold onto the output and store it in the environment, so for every Konsole session, I have to run ps
to find the PID and then manually type:
SSH_AUTH_SOCK=/tmp/ssh-YtvdiEtW3065/agent.3065; export SSH_AUTH_SOCK;
SSH_AGENT_PID=<pidnumber>; export SSH_AGENT_PID;
...just to get it to work, and it does... just in that Konsole window.
I've tried removing the aforementioned symlink and just havining the ssh script look like this:
/usr/bin/ssh-agent | sh
/usr/bin/ssh-add $(find $HOME/.ssh/keys -type f | egrep -v '\.pub$')
But still, the agent variables aren't in the session and I'm never prompted for the password to my keys.
I'm obviously missing something, but what is it?
While copying a vast number of multi-megabyte sound files, the Kubuntu desktop becomes intermittently unresponsive (the mouse pointer can move, but Firefox, Konsole, and KDE itself temporarily ignore keyboard presses, mouse clicks, and network I/O).
$ uname -a
Linux jaguar 2.6.32-22-generic #36-Ubuntu SMP Thu Jun 3 19:31:57 UTC 2010 x86_64 GNU/Linux
$ cp -Rnv /home/user/music/flac/* .
The PID is 11544, and I subsequently tried:
$ renice -n 19 -p 11544
$ ionice -c 3 -p 11544
Strangely, when remotely accessing a laptop on the local network (via TightVNC), the remote screen continuously updates (if I am using the laptop). Similarly, playing music files off the USB drive (even a file that has not been fully copied) does not get affected by the intermittent unresponsive problem.
Pressing Control-Z to suspend the copy process results in normal behaviour (once the keystroke is finally accepted by Konsole) instantly.
What I was trying to accomplish was the following:
However, no matter what software I used (WinSCP, Tunnelier, or rsync over Cygwin), the copy would start at a zippy 2 MB/s, then choke to 60 KB/s after a few seconds. Effectively, the secure copy would stall.
Searches have found a few people who have experienced similar problems. The issues went away for most of them by switching to Tunnelier. This did not work for me. Other people switched to FreeBSD to solve the problem. That's not an option at this time. Still others switched from SSH Protocol 2 to SSH Protocol 1. That did not work for me, either.
The USB drive checked out fine using chkdsk /f
on Windows. There are no relevant error messages in any of the log files from /var/log
.
Monitoring the system using top
shows nothing suspicious when the "pauses" occur. (top
continues to refresh during a moment of unresponsiveness.) The program hald-addon-storage
shows it polls /dev/sr0
every 2 seconds. Whatever that means.
Quad-core with 8 GB of RAM. The /tmp
drive is empty and /
shows 72% usage. RAM has 2 GB free and not a single CPU is pegged beyond 1% usage, even during the pauses.
Does anyone have any ideas on what might be happening, or avenues to explore to try and understand what is happening with the system?