VLC cronjob on TTY1: "Error opening terminal: unknown"
location: ubuntuforums.com - date: July 16, 2008
to act as an alarm clock, I have set up a cronjob to open VLC at a specific time in the morning and play my favourite playlist.
I can get it to work within the gui using the command export DISPLAY=:0 && vlc -Z /path_to_playlist
However, I can't get it to run on tty1.
Using vlc -Z -I ncurses /path_to_playlist as well as vlc -Z -I ncurses /path_to_playlist > /dev/tty1 works if invoked on TTY1 itself, but not as a cronjob.
In the mail it says
VLC media player 0.8.6e Janus
Error opening terminal: unknown.
So, anyone got an idea how to make a cronjob and have its output on TTY1?
MySQL giving Error 28000, Access Denied ...(using password: YES)
- date: May 24, 2012
I have installed mysql using instructions from:
Note: If you have already set a password for the mysql root, you will need to use:
mysql -u root -p(Did you forget the mysql-root password? See MysqlPasswordReset.)
But when I follow this up using terminal:
:~$ mysql -u root -p
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
Why is it giving me that error when I have already set the password?
Download file using ssh command
location: linuxquestions.com - date: October 5, 2011
How can i download file to may back up NAS to my destop.
help Xfering file using SSH & PuTTY
- date: April 8, 2011
Hello Ubuntu people-who-are-smarter-than-me,
I am trying to transfer a file from my work Win7 computer, to my Ubuntu home server. I can SSH into my server using PuTTY with no problems. I am now trying to push a file using the command
pscp c:\documents\foo.txt [email protected]
and I am typing this in the PuTTY "Host Name(or IP address)" window.
When I do this, this is what I get...
Using username "pscp C:\documents\foo.txt andrew".
pscp C:documents\foo.txt [email protected]
pscp C:documents\foo.txt [email protected]
The "Access denied" occurs after I type my password of course.
I just want to push a file from my Win7 machine to my Ubuntu using SSH and PuTTY. PuTTY is what I have loaded on my work machine.
Error in command scp using keybased ssh login
- date: September 30, 2011
I have a problem that I can't resolve.
I have an ubuntu server 11.04 at home with openshh installed (minimal installation). I use rsa key-based ssh login to connect to the server (I disabled the password authentication in the sshd_config). I can connect to the server, update and upgrade, etc..., but when I trying to copy a file from the server to the client (ubuntu desktop 10.04) using scp I get this error:
server:~$ scp -r [email protected]
_server:/home/user/Desktop/file [email protected]
The authenticity of host 'ip_server (ip_server)' can't be established.
ECDSA key fingerprint is fc:0b:dd:0e:42:85:fc:25...
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'ip_server' (ECDSA) to the list of known hosts.
Permission denied (publickey).
I edited the file known_hosts in the client, but I do not know what I can do it.
Thanks in advance,
Getting a remote file using SSH
location: linuxquestions.com - date: November 14, 2004
This is probably in the wrong forum, but it seems like more of a networking question than anything.
I'm using SSH to access a sandbox on a client's server. They left a gz file in my userdir containing an SQL dump of a database I need to review.
They have around 27 IPs designated for dev servers and I can tunnel to these fine pointing say localhost:8080 to 192.168.1.x:80 where x is the dev server I want to see.
My account's on the primary server and I don't have a webdir set up. If I create a public_html folder I don't have the permissions to set it to unknown and I'm denied access via HTTP to localhost:8080/~username/.
SFTP and FTP are not running... so I'm kind of at a loss as to how I'm supposed to get this file. I don't have anybody to contact and I want to get some work done tonight so I thought I would ask some of the gurus if I'm missing something obvious here!
Any advice on how to grab that file would be great. Oh, and it is 100MB+ uncompressed so unfort
Editing a file using PuTTY on my Red Hat 9 server...please, need help
location: linuxquestions.com - date: July 1, 2004
Hi all, I recently made the move from managed hosting to my own dedicated root server. The root server runs off of Red Hat 9, and I am having trouble getting into the root to edit a file.
I need to edit the php.ini file, and the only was i see how to do this is using a SSH client like PuTTY, however, I have no idea how to get into the file to edit it.
Do I need to download it, change it, then replace it? Please, I need help.
Opening a file in SSH on Cenos 5
location: linuxquestions.com - date: August 21, 2009
What is the command to open a file in SSH? By the way, I am using CentOS on my VPS.
Because I got this error while adding a addon domain in cpanel
How to upload file using FTP command?
location: linuxquestions.com - date: September 20, 2011
How do I upload a file using FTP command.
The files are located inside server A. I am now connected in server A and wish to upload it to server B.
Server A: 192.168.1.1
Server B: 192.168.1.2
FTP u: admin
FTP p: admin123
From Server A:
> open 192.168.1.2
> put billing_billing.sql
local: billing_billing.sql remote: billing_billing.sql
local: billing_billing.sql: No such file or directory
So how do I upload the sql file from server A into server B?
transfer file using expect and sftp
location: linuxquestions.com - date: March 9, 2008
I was willing to use sftp for tranferring files from one server to another remotely using crontab. For that I am using expect instead of creating certificates for ssh. Now problem is with expect when I get the files to my local machine then I have to run some commands there on that files like moving it/renaming it. Now I cant use those shell commands on that expect prompt, not sure though. So have to use another script for those. Is there any way possible to put those commands in same script so that all happens at the same time.
first script to fetch files from remote server:
Page: 1 2 3 4 5 6 7 8 9 10