Ubuntu Servers :: Opening Shell From KDE On 9.1?
Mar 10, 2010Im trying to open a shell to the command line from owithin KDE on Ubuntu Server 9.1
View 2 RepliesIm trying to open a shell to the command line from owithin KDE on Ubuntu Server 9.1
View 2 RepliesHow can I open a script in a shell (konsole/terminal) with one command?
View 6 Replies View RelatedI'm trying to be able to Open a text editor without needing an existing file.This is my code:
case $ans in
"Show Today") echo "$(date)";;
"Show Calendar") cal;;
[code]...
when i want to opening lock screen and after entering password take too long time to open lock scrren and i can not find what is the problem.i can not find any clue in my logs, so this is some of syslog :
Code: Select allDec 17 21:19:34 ali-deb gnome-session[2274]: (gnome-shell:2421): Gtk-WARNING **: Symbolic icon /home/ali/.local/share/gnome-shell/extensions/lockkeys@vaina.lt/icons/numlock-disabled-symbolic.svg is not in an icon theme directory
Dec 17 21:19:34 ali-deb gnome-session[2274]: (gnome-shell:2421): Gtk-WARNING **: Symbolic icon /home/ali/.local/share/gnome-shell/extensions/lockkeys@vaina.lt/icons/capslock-disabled-symbolic.svg is not in an icon theme directory
Dec 17 21:19:34 ali-deb gnome-session[2274]: (gnome-shell:2421): GLib-GObject-WARNING **: /tmp/buildd/glib2.0-2.42.1/./gobject/gsignal.c:2579:
[code]...
I'm thinking about making a web server but, I have an issue:will opening Port 80 affect all computers on a network?
View 1 Replies View RelatedThe user "abimail" has a mailbox specified in /home/abimail/.spop3d which is /var/mail/abimail. The permissions of /var/mail/abimail are:
Code:
rwxrwx--- 1 abimail mailgroup 192113 2010-01-28 20:24 /var/mail/abimail. When logging in to solid-pop3d as user abimail and attempting to fetch mails, the login works but it will pop up the error "can't open mailbox file"; syslog entries:
Code:
Jan 31 17:38:10 h1347290 solid-pop3d[23857]: user abimail authenticated - 87.176.220.50
Jan 31 17:38:10 h1347290 solid-pop3d[23857]: mailbox: can't open mailbox file: /var/mail/abimail
Jan 31 17:38:10 h1347290 solid-pop3d[23857]: mailbox: open: Permission denied
[Code]...
I tried playing a playlist file from a radio station with:
Code:
But got the error:
Code:
play FAIL formats: no handler for file extension `215:8024'
Then I tried:
Code:
But got the following message (and nothing happened):
Code:
THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!
How can I properly play .pls files with a shell program (no GUI)?
while trying to open synaptic package manager i get the following errer "E: The package clamav-daemon needs to be reinstalled, but I can't find an archive for it. E: Internal error opening cache (1). Please report."
View 5 Replies View RelatedI'd like to set up a fileserver for myself and a few trusted individuals. I'm computer savvy and I use various linux servers frequently for work, but this is my first time trying to setup my own. Is it possible to have a Samba server setup so it is both secure and facing the Internet? Two questions:
Will opening Samba ports make my default Ubuntu server particularly vulnerable to penetration? More than having an SSH server running? Does Samba/ can Samba be configured to encrypt traffic or is it sent plainly? If so, does Windows and Mac support this secure communication?
If not, what would you suggest? I'd like to achieve something like a network drive and at a difficulty level that my parents could use this if they really wanted to. I will be storing things like financial information and tax returns, but no weapons-grade secrets.
i am using Fedora 14. Once system get hanged during opening a video file so I had to restart the system by pressing restart button. But after restarting there are few problems appearing like system monitor not opening and Thunder bird opening but not showing any folder including inbox.
---------- Post added at 04:54 AM GMT ---------- Previous post was at 04:42 AM GMT ----------
Looks like SElinux has stopped working
One of the apps I would like to try out is usenext.Selectint the download for the right version (Linux - Suse, Red Hat, Fedora) I get the rpm file.Either opening this straight away or saving then opening it comes back with the following errors:
usenext-5.27-1.i386 requires mono(gdk-sharp) = 2.10.0.0
usenext-5.27-1.i386 requires unrar
usenext-5.27-1.i386 requires mono(glib-sharp) = 2.10.0.0
[code]....
I needed Ubuntu server and recklessly picked Karmic. Hardware is some regular 775 mobo with integrated Intel graphics. Monitor is ASUS VH222D. Installation went smoothly but after that problems occurred. Shell is displayed in 1920x1080 resolution and fonts are so small almost unreadable. Grub2 looks OK, standard non-fb and so does few rows of text after loading grub but soon after that framebuffer becomes active.
dpkg-reconfigure console-setup doesn't mention resolution. Some articles are leading to grub2 gfxmode but none of manuals helped. I just cannot change grub2 menu resolution to anything else than standard console fonts (non-fb). Kernel option vga=XXX is no longer working.How to lower shell resolution? Why is this automatic???
I have a question about using bourne for a shell script. I have a script that at the moment performs a logical dump of my database, backups up the physical files of the database, and backs up everything within /var/www
I want to be able to copy the files over ssh to a remote server. However, the only way I am able to find examples of doing this is when you exchange keys and do not need to provide a password. How can you write a script that requires a password, not key exchange? I was told I specifically have to do it this way.
I need to allow connection to some users on a servers with key authentication so that they can setup a tunnel to access a web application. But I don't wan't them to have a access to a shell.
View 5 Replies View RelatedThe short version: I have to manage some virtual machines using php shell_exec function, so far I cant do this because apache is run by the user www-data and virtualbox by the user vboxuserFrom what I've read so far, I've thought of 3 possible solutions: 1.- Create a script on my vboxuser that I can call from php to manage the Virtual Machines.2.- Change the apache user from www-data to vboxuser so I can manage the Virtual Machines through php
3.- Reinstall VirtualBox, this time using www-data as my user. I'm not sure if any of these will work and I'm not too sure of which would be the best solutionNow the longer more detailed version:
I have a remote server running Ubuntu 10.04.2, in that server I have set up VirtualBox so I can run several instances of WinXP to perform different tasks. Everything is setup and I can manage the virtual machines through SSH. If I want to run them as a different user than the one that created them (a user that so far only has been used to create the Virtual Machines) I have to do sudo -u vboxuser.Now, I need to create a PHP script to manage these virtual machines (I know about phpVirtualBox, but it's not what I need). If I try to run the virtual machines using shell_exec() from php, I get no answer at all (And I have tested that shell_exec is working on my server).
whether I should encounter a problem relating to output redirection when using sed from a shell script which is ran by apache? I have given apache privileges in sudoers to run the shell script and the commands within it. However the problem is that when I check auth.log all commands are listed except the sed ones, yet if I run the shell script directly from the command line they work fine and are logged.
So although I realise I probably have some permission issues to solve, I think its strange how sed commands are not being logged at all. would also appreciate any advice on apache and sudoers, am I playing with fire here? Im on lucid 10.04 server
My backup script works fine after some effort to get it where I wanted it. So the script is fine when I run it.
sudo bash backup.sh
now I have a sym-link to /etc/cron.daily but I do not see any new backups
When I add a new user and SSH to my server as that new user, my command prompt is just a '$'. Tab completion doesn't work either. What I notice is that I get this:
Could not chdir to home directory /home/scaldwell: No such file or directory
$
Echo PS1 yields nothing. There is also nothing in /etc/skel. I didn't have to do anything special to get my initial user setup with the right prompt, and the second user has been added to the admin group as well. I have noticed that if I issue the command sudo chsh -s /bin/bash the account gets the correct prompt.
I am running Ubuntu Server 10.04 and I just created a new user. Everything works great except the new user's SSH shell can not do certain things.
For example, I cannot arrow up for previous commands on the new user. I just get "^[[A" when I try that. (I can do this on root.)
It also looks different on root versus the user, look:
Code:
Code:
I have an Ubuntu 11.04 instance running on Amazon EC2. I am currently using it as an SSH tunnel/SOCKS proxy. Most of my Net activity is on a Windows 7 machine running PuTTY. This setup is working very well. So well that a few of my friends have expressed interest in accessing it. Question is, how do I share this proxy, without giving away my private key and root access? I would like to limit users to only being able to set up an SSH tunnel/SOCKS proxy, with no shell access. What other security measures would you recommend for such a setup? I googled a bit and saw references to rbash and chroot. I have already changed the SSH port, and set the EC2 firewall to allow inbound SSH only from my ISP's address range. My friends use the same ISP. They would probably be running Windows 7/Vista, and PuTTY too.
View 4 Replies View RelatedI was planning on using my VPS to grant some of my friends shells. The problem though is that I don't want them doing crazy stuff on it, like using up all my RAM or disk space. I would like to limit them to a very small 25 mb disk space, and allow them only certain application in /usr/bin like python perl irssi screen etc. I do NOT want them to be able to cd out of their home directory. I really want this to be setup like the shell provider SHellium. I can setup the FTP and SSH stuff myself.
View 3 Replies View RelatedI'm setting up an Ubuntu server and I keep getting strange problems with my editor.I'm not sure if this is because my keyboard configuration is wrong or I screwed up the installation but regardless it's quite frustrating.
When using the movement keys (arrows and numpad) I get "[" brackets and "C"s, if I hold down or push down on the key hard a list of errors and text comes up, usually involving something that says something like:"Mount disabled" or "____ disabled press CONTROL-X to restart the shell"Similair problems are also found in vi (when in insert mode).I have been plagued with text editor problems and have need several reboots just to get out of a file, often because it just flat out stopped responding to keyboard commands.
Is there a way trigger a shell script after my DHCP server successfully gives out, either a specific IP address or to a specific MAC address.I have two Xbox360's in my house that both receive IP address via DHCP reservations from the Ubuntu server.I have come to accept that without having two public IP addresses getting both to have an open NAT will be very difficult. I have decided that I am OK with only one being able to have an Open NAT at a time, but I want to change the firewall rules according to which Xbox 360 turned on first. This way I can move between level in my house and play online without having to modify rules manually.
View 3 Replies View RelatedAbout apache security. How to protect web-server from programms like phpshell [url]?
View 8 Replies View RelatedI have a script as report.sh which prints its out put in some file.Now I want to run this as a service so that when I start this service it shud run in the background and give me the out put.Again I should be able to stop it and I should able to configure its so that it can start when I start my system.What I have doneIn the /etc/servicesI have added report 5555/tcphen in the /etc/xinetd.d I have created a file report_com where I have given
service report
{
socket_type = stream
[code]...
I want to start servers which are running on my pc with one shell script.
what I wrote is.
#!bin/sh
cd /home/HUNT/server1
gnome-terminal
sh script/server start_with_output
[Code].....
Result I got is:
A new terminal opened with current directory as /home/HUNT/server1 and server started running.
What I didn't get: second terminal and second server were not running.
I am trying to write a shell script in order to automate the process of uploading a file onto an FTP server using the built in FTP commands in ubuntu server (lucid). In order to connect I can use the following:
Code:
ftp wsbeorchids.org.uk
Name (wsbeorchids.org.uk:danielgroves): USERNAME
Password: PASSWORD
In need to pass my username and password in when prompted the prompts. How should I go about doing this? I have tried echoing the values without success. Please not that I am something of an amateur with scripting.
I have requirement to delete some log files from a directory if a string"deletethisfile" is found.Then restart the application servers.1. Search for the string ?deletethisfile? in server.log file under a directory, If found 2. Stop that particular server.3. Delete the log file 4. Restart the server.
View 2 Replies View RelatedFor some reason whenever I use the "screen" command I lose all of the colors on the command line.
For example when I SSH into my server the user@servername turns green, as soon as I launch screen everything is just a simple white with black background. How can I fix this? Does it have to do with .screenrc?
I am using ubuntu10.04-server 64bit AMD with fluxbox. After I ran Matlab in a shell (without GUI) the shell does not display characters anymore, but will execute any command, I just can't see the characters that I'm typing.. I use aterm and xterm, does anybody know why that is, am I missing a package?
View 1 Replies View Related