I have a ubuntu machine that is connected to my house's sound system. Is there a way I can control what it is playing remotely? I have SSH access if necessary.
I typically use Rhythmbox to play music.
How can I send email from a shellscript (usually cronjob) without running a mailserver on the same host. Using a smtp server. Running Ubuntu.
I looked a t various tutorials, but couldnt find a suitable approach (simple and secure).
Thanks
Sven
I am runing ubuntu 9.10 and the latest version of skype but I have problem with webcam. When I trie the webcam with cheese it works fine but when I try to use the web on skype , skype crashes. can any body help me
Hello, I have two folders such as
nonserved/
folder1/
folder2/
and a served folder via Apache
media/
js/
css/
img/
In the end, I want to include/append contents of /nonserved to /media so that www.mysite.com/media will be as such:
/media
/js
/css
/img
/folder1
/folder2
I am running Ubuntu Server, I am up for either apache config or symbolic link based answer :) Plus nonserved folder is rather dynamic thus manual symbolic linking to each folder is impossible.
It has Broadcom Wireless card. Wireless used to work fine earlier. Now it has stopped suddenly. I can see Wireless driver in "Hardware Driver" tab. How do i diagnose problem ? in ifconfig output, i don't see wlan0 at all.
I am on Ubuntu 9.10.
Hi,
I'd like to get an overview of resource usage of one particular process running on a ubuntu server. Can anyone tell me how I'd go about doing that.
Thanks
I'd like to disable the 3rd button emulation in ubuntu 9.10. Normally, I'd just change the option in xorg.conf and it would go away - but how do I deal with an autodetected mouse?
For example, I've got a mouse I connect to USB and it has the emulation enabled by default. How do I change it in that case?
Why does MC look like this in SSH clients (I've tried PuTTY and MindTerm) and how to fix it?
On the server side is fresh installed 64-bit Ubuntu 10.04 Server. On the client side is XP SP3.
I'm having a really annoying problem on my Ubuntu laptop.
I noticed it today, after upgrading to Ubuntu 11.04, although I'm not entirely sure this is the cause as I played with my ssh keys a few days ago.
The problem is, whenever I try to ssh to ANY host I get the following error:
Read from socket failed: Connection reset by peer
running with -vvv gives the following output:
OpenSSH_5.8p1 Debian-1ubuntu3, OpenSSL 0.9.8o 01 Jun 2010
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to hostname [10.0.0.2] port 22.
debug1: Connection established.
debug1: permanently_set_uid: 0/0
debug1: identity file /root/.ssh/id_rsa type -1
debug1: identity file /root/.ssh/id_rsa-cert type -1
debug1: identity file /root/.ssh/id_dsa type -1
debug1: identity file /root/.ssh/id_dsa-cert type -1
debug1: identity file /root/.ssh/id_ecdsa type -1
debug1: identity file /root/.ssh/id_ecdsa-cert type -1
debug1: Remote protocol version 1.99, remote software version OpenSSH_4.2
debug1: match: OpenSSH_4.2 pat OpenSSH_4*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.8p1 Debian-1ubuntu3
debug2: fd 3 setting O_NONBLOCK
debug3: load_hostkeys: loading entries for host "hostname" from file "/root/.ssh/known_hosts"
debug3: load_hostkeys: loaded 0 keys
debug1: SSH2_MSG_KEXINIT sent
Read from socket failed: Connection reset by peer
My /etc/ssh/ssh_config:
Host *
SendEnv LANG LC_*
HashKnownHosts yes
GSSAPIAuthentication no
GSSAPIDelegateCredentials no
I can connect to my laptop from any other server via ssh, and I can also ssh localhost from my laptop successfully.
I can connect to all these other server from other laptops, and I don't see anything in the logs of the other servers regarding my failed attempt.
I tried to stop iptables, didn't help.
I tried several tricks I could find online with my /etc/ssh/ssh_config, but I was unsuccessful in solving the problem...
Any ideas?
Edit:
This is the log from one of the hosts I try to connect to:
May 1 19:15:23 localhost sshd[2845]: debug1: Forked child 2847.
May 1 19:15:23 localhost sshd[2845]: debug3: send_rexec_state: entering fd = 8 config len 577
May 1 19:15:23 localhost sshd[2845]: debug3: ssh_msg_send: type 0
May 1 19:15:23 localhost sshd[2845]: debug3: send_rexec_state: done
May 1 19:15:23 localhost sshd[2847]: debug1: rexec start in 5 out 5 newsock 5 pipe 7 sock 8
May 1 19:15:23 localhost sshd[2847]: debug1: inetd sockets after dupping: 3, 3
May 1 19:15:23 localhost sshd[2847]: Connection from 10.0.0.7 port 55747
May 1 19:15:23 localhost sshd[2847]: debug1: Client protocol version 2.0; client software version OpenSSH_5.8p1 Debian-1ubuntu3
May 1 19:15:23 localhost sshd[2847]: debug1: match: OpenSSH_5.8p1 Debian-1ubuntu3 pat OpenSSH*
May 1 19:15:23 localhost sshd[2847]: debug1: Enabling compatibility mode for protocol 2.0
May 1 19:15:23 localhost sshd[2847]: debug1: Local version string SSH-2.0-OpenSSH_5.3
May 1 19:15:23 localhost sshd[2847]: debug2: fd 3 setting O_NONBLOCK
May 1 19:15:23 localhost sshd[2847]: debug2: Network child is on pid 2848
May 1 19:15:23 localhost sshd[2847]: debug3: preauth child monitor started
May 1 19:15:23 localhost sshd[2847]: debug3: mm_request_receive entering
May 1 19:15:23 localhost sshd[2848]: debug3: privsep user:group 74:74
May 1 19:15:23 localhost sshd[2848]: debug1: permanently_set_uid: 74/74
May 1 19:15:23 localhost sshd[2848]: debug1: list_hostkey_types: ssh-rsa,ssh-dss
May 1 19:15:23 localhost sshd[2848]: debug1: SSH2_MSG_KEXINIT sent
May 1 19:15:23 localhost sshd[2848]: debug3: Wrote 784 bytes for a total of 805
May 1 19:15:23 localhost sshd[2848]: fatal: Read from socket failed: Connection reset by peer
I have Ubuntu server 9.10 running through VMware Fusion 2.0.6 on my Mac OSX 10.5 host. My linux guest VM's time keep being out of sync. I believe I have VMware tools installed because after running the following on linux in the terminal, I get:
$vmware-toolbox-cmd timesync status
Enabled
What should I do to make sure my time is always in sync?
I created a partition in my hard disk for my data (documents, multimedia, etc.).
How can I:
Move the /home/ directory to the new partition
Make the OS (Ubuntu Linux) treat that directory as the default /home/.
When I run sar -d I receive the error message:
Requested activities not available in
file /var/log/sysstat/sa24
The file does exist, and I can run sar with other flags, but can't see these particular metrics. Is there something I need to enable in sysstat to collect what I need to see this report?
Server is Ubuntu 9.04.
I'm trying to recover some data using testdisk and running ubuntu from a live cd.
When i choose the undelete option i get the following message and it takes me out of testdisk:
file undeleteAborded (core dumped)
do you know why? can you give me some advices, tips about what to do?
I just downloaded a Windows 7 iso from MSDNAA at school and they gave me a personal key. I'd like to add a file with my key onto the disc, but it has to remain bootable.
Is there a really simple way to do this, or one that doesn't require some shareware?
I'm using XP right now, or any solution under ubuntu is fine.
I have a serious bad situation: I have an Excel file that is password protected and I need to access the information asap for a deadline for a project. Are there any good Excel password recovery tools available for Ubuntu that I could use to achieve this task?
I am trying to install Ubuntu 10.04 LTS on my laptop. First I installed it inside Windows and when it boots for first time I got the error message "couldn't find root filesystem , try partition table to fix the problem " . When I want to install it on a single partition (normally) and when it told me to chose a partition I don't find any partition (entire disk) .
I have 2 primary partitions and 3 logical partitions. How can I proceed with the install ?
I have Windows 7 installed on a partition and running fine, but I want to access them from my Ubuntu installation with VirtualBox. I have created the virtual disk file and everything, but Windows bluescreens after a bit of loading with error 0000007B (it can't find the disk or something).
Has anyone managed to solve this problem?
Whenever I complete something in the command line while using Ubuntu and my computer does something of value to me, I enjoy saying thank you, just because it's the polite thing to do. A typical conversation might look something like this:
mtp-sendfile HamishAndyPodcast.mp3 /Music/podcasts
Sending file...
Progress: 17769768 of 17769768 (100%)
New file ID: 76098
sam@sams-laptop:~$ thanks
thanks: command not found
What's the best way to teach my PC a few manners and respond with something like "No problemo".
Hi all,
I just installed a Kingston 64 GB SSD into my laptop, replacing the old 80 GB 5400 RPM one. The drive starts up and works fine every other time. For example, if I'm running normally, and press "Restart", I get:
2100 Initialization error on HDD0.
I turn off the computer manually, restart, and...it boots into Ubuntu again. This happens every other time without fail...anyone know what the problem could be?
Recently upgraded to Ubuntu 10.4 on my NC10 and now I can't seem to access/unlock the top panel and add/delete programs. Right click doesn't bring up the options to let me change things.
Can anyone help?
Thanks in advance
Richard
I can connect to other computers on my home network (ubuntu + OSX machines) using the IP address, but I can't connect using the netbios name.
On the mac the name appears in Finder but if I try to connect (goconnect to server smb://[email protected]) it doesn't work, while smb://[email protected] does. Same with ssh, ping and afp between the macs.
This is a intermittent problem. It has worked in the past.
I have tried to install php5-fpm and Nginx on Ubuntu machine, but I got a problem. When I have only one virtual host on a unix port it is all fine but when I try to add another virtual host Nginx goes to default web page "Welcome to Nginx!" but when I run it on a tcp port example port 9000 it work fine with multisites. It is a fresh install of ubuntu 11.10, Nginx 1.2.3 with php5-fpm installed. It also has extra php installs such as php-apc. I can only give the links to the virtual hosts because I am doing it from a mobile phone. Here are the links for the two virtual hosts I am using: http://ic0nic.co.uk/ic0nic.txt, http://ic0nic.co.uk/sourproxy.txt also I want to use unix port because I find it a whole lot faster.
Edit: Here are the nginx configs
server {
server_name ic0nic.co.uk www.ic0nic.co.uk;
root /var/www/ic0nic.co.uk;
listen 8080;
index index.html index.htm index.php;
include conf.d/drop;
location / {
try_files $uri $uri/ /index.php?q=$uri&$args;
}
location ~ \.php$ {
fastcgi_buffers 8 256k;
fastcgi_buffer_size 128k;
fastcgi_intercept_errors on;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_pass unix:/dev/shm/php-fpm-www.sock;
root /var/www/ic0nic.co.uk;
}
}
server {
server_name sourproxy.co.uk www.sourproxy.co.uk;
root /var/www/sourproxy.co.uk/;
listen 8080;
index index.html index.htm index.php;
include conf.d/drop;
location / {
try_files $uri $uri/ /index.php?q=$uri&$args;
}
location ~ \.php$ {
fastcgi_buffers 8 256k;
fastcgi_buffer_size 128k;
fastcgi_intercept_errors on;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME /var/www/sourproxy.co.uk$fastcgi_script_name;
fastcgi_pass unix:/dev/shm/php-fpm-www.sock;
}
}
Hello,
I am using:
ubuntu 10.4
2.6.32-21-generic
Evolution 2.83.3
I have noticed that when I get a new email, it never shows a new mail icon in the panel. I had the same problem with 9.10, and I thought the problem would go away when I upgraded to 10.4.
I have checked the properties in Mail preferences:
Play sound - yes
Display a notification - yes
Indicate new messages in panel - yes
Many thanks for any suggestions,
I have a computer, running ubuntu, that I want to be connected to the network at all times. It has a GSM modem connected to it via USB.
Is there some program available that monitors that the networking is working (by pinging some site(s)), and if not tries to fix the error by reseting the modem, reloading the USB drivers and perhaps by dropping the USB port's current (if possible) to force the modem to reset ?
I want to record a keyboard/mouse macro for automatically playing repetitive flash games. The programs I'm familiar with xnee/gnee/pnee and xmacro don't work under Ubuntu 10.04.
(Xnee gives "Xnee failed due to bad data received from RECORD extension" for version 3.02, which is a known issue which I haven't found a solution for, and xmacro just plain doesn't work...)
Are there any other methods I could use besides these two programs?
Thanks