Ubuntu :: Ssh Server/Desktop Computer And The "write" Command

Aug 30, 2010

I have a computer set up running Ubuntu 10.04. It is being used as both a desktop computer with a mouse, keyboard, and monitor and users running GNOME sessions AND an ssh server for remote command-line access.

Now, when I am remotely accessing this machine via ssh, I see messages sent to me via "write" or "wall" without a problem, as do all other remotely logged in users. However, "writing" to a user or writing to a wall (for example about an upcoming reboot or downtime) does not affect users sitting at the actual computer in GNOME without a Terminal open. How can I get a message to these users, preferably using write and/or wall?

I have root access to this system.

View 5 Replies


ADVERTISEMENT

Ubuntu :: Running On Server Box For Use As Desktop Computer

Sep 24, 2010

Every once in a while I see a great deal (like this one) on a Dell Server. I was wondering if there was any problems running Ubuntu on one of these machines for use as a desktop computer? I don't know much about servers but the specs look similar to a desktop computer.

View 2 Replies View Related

Ubuntu :: Using Server Or Desktop In Computer For Daily Work?

Aug 7, 2011

anyone of you using ubuntu server or desktop in your PC for your daily work? can you share how stable is it?

View 6 Replies View Related

Programming :: Write A Perl Script Which Will Give An Interactive Session To A User To Execute Command On The Server

Feb 25, 2011

I am trying to write a perl script which will give an interactive session to a user to execute command on the server. I have written a small script to do this :

Code: !/usr/bin/perl -w
use strict;
use Net::SSH::Perl;
my $host = '192.168.1.1';
my $username = 'user';
my $login_passwd = 'test123';

[Code]...

View 2 Replies View Related

Ubuntu Multimedia :: Find A Way To Watch Videos From Main Desktop Computer On Another Computer?

Jul 9, 2011

I've been trying to find a way to watch videos from my main desktop computer on another computer I've plugged into an HDTV. I'm such a Linux newbie that I decided to give Mythbuntu a try. It was way to complicated for what I needed, and I'm sure that some more experienced people reading my first two sentences laughed to themselves at my naivety.

What I am trying to find is simple: browsing one computer's home folder from another computer, and playing the videos therein. If there's anything like Mythvideo that requires less than half of the skill requirements, I will telepathically send love to the person that informs me of it.

View 2 Replies View Related

Ubuntu Servers :: 9.10 Server - How To Setup Remote Desktop / VNC Via SSH + Command Line

Feb 21, 2010

I am playing around with the idea of being able to use a cloud or instance based service to install Ubuntu 9.10 Server. This will enable me to have remote access via SSH command line.So far, I've installed Ubuntu 9.10 Server + Ubuntu Desktop to a virtual machine. I can access this via SSH and locally via the desktop. However, in the real environment the only access I am going to have initially is via SSH.

I would like to be able to connect using Windows Remote Desktop or VNC (whichever is easier and most importantly - most secure) to the machine.. even though the desktop is on there, I need to somehow configure the remote access all from the command line.I've had a read of various forums and have been trawling support forums for days but can't find a working solution for 9.10 Server or that fits my situation above where I will not have any physical access to the desktop or machine to configure remote desktop. It all has to be done via SSH/command line.

View 4 Replies View Related

General :: Scp Command - Copy File Into Local Computer By Still Sitting In 1st Computer

Jun 17, 2011

I am using fedora 10 in two computers. Just for my own practice I sent a file to my second computer.

1st computer IP is 192.168.1.10
2nd computer IP is 192.168.1.20

[Code]....

The file has been successfully copied to the second computer but I again want to copy that file into my local computer by still sitting in my 1st computer.

[Code]....

View 1 Replies View Related

General :: Write <Esc> In The Vim Command Line (:vim Command)?

Jun 24, 2011

how do you write the ASCII character #27 in the vim command line?

View 6 Replies View Related

Programming :: Write Shell Script To Ssh Into A Remote Computer And Run That?

Jun 26, 2010

How do i write a shell script to ssh into a remote server with password and run a script in it?

View 2 Replies View Related

General :: Write Cpu Affinity Code To Map 8 Nodes To 8-cores Computer?

Jan 24, 2011

I have a 8 core computer, which has 8 logical processor in total. I want to create 8 process(nodes). Each node is mapped to each logical processor. The order is code...

I wrote the code as below, could you please see whether it is correct? code...

View 3 Replies View Related

Ubuntu :: Light Desktop - Install Desktop Command Only + Xfce?

Jul 19, 2010

Looking for a light desktop for a P3/512MB I installed xubuntu and I felt it slow. For a test, just tried installing lubuntu and it was so fast compared to xubuntu. The word here is I would like to move to xfce. Doing another test, I installed Debian Lenny + xfce and was way much faster than xubuntu.

My question: Can I install Ubuntu Desktop command only + xfce ? Is it going to be faster than xubuntu? Is there another recommendation for a debian based distro with xfce which runs faster than xubuntu?

View 1 Replies View Related

Ubuntu :: SSHFS Setup On Desktop To Mount HDD (Write Permissions)

Oct 17, 2010

I'm trying to set up sshfs on a desktop/fileserver so that I can mount its HDD's I use for storage on my laptops. My issue seems to be getting permission to write to the mounted drives. I just keep getting permission denied. here is what I think are some relevant tidbits.
mount point on server,

Code:
joe@joe-desktop:~$ ls -ld ~/sda2
drwxr-xr-x 2 root root 16384 1969-12-31 19:00 /home/joe/sda2

HDD I'm trying to mount
Code:
joe@joe-desktop:~$ ls -ld /dev/sda2
brwxrwxrwx 1 joe disk 8, 2 2010-10-17 15:22 /dev/sda2

Mount point on client
Code:
joe@joe-laptop:~$ ls -ld ~/sda2
drwxrwxrwx 2 joe joe 4096 2010-10-17 19:58 /home/joe/sda2

This is the command I'm trying to use to mount
Code:
sshfs joe@192.168.1.103:/home/joe/sda2 ~/sda2

I can chmod the mount on the server to 777 but as soon as I mount the HDD to the server all write permission just goes *poof* and its back to "drwxr-xr-x".Chown seems either, it just wont stick.

View 8 Replies View Related

Ubuntu :: Send Messages To Computers On Same Network With Write Command

Sep 14, 2010

The write command just isn't working for me at all. Am I right in thinking it can even do this function? I am using:
Code:
write paul@paul-laptop pts/0
It keeps telling me
write: paul is not logged in on pts/0

View 2 Replies View Related

General :: Write A Script To Sudo The Last Command?

Feb 19, 2011

for some commands such as apt-get install xxx, I forget to add sudo first, then I need to retype it. What I want is in such cases, I just type a simple command, for example resudo. It will sudo my last command sudo apt-get install xxx. Is it possible in bash?

View 1 Replies View Related

General :: Write A Loop Command For Pdf2djvu?

Jun 25, 2011

How do I write a loop command to periodically check a given folder and then create a djvu file from any pdf it finds.pdf2djvu works great but I'm looking to set up a "hot folder" for general office staff to use.

View 3 Replies View Related

Software :: Command To Write DVD (Disc Image)

Feb 25, 2010

Will Brasero do DVDs? Or if it doesn't, what's the growisofs commands to write a DVD?

View 2 Replies View Related

Programming :: Write A Bash Script That Will Launch A Command?

May 15, 2011

I want to write a bash script that will launch a command when ever I plug my phone in. how would I monitor the port in a script.

View 2 Replies View Related

General :: Write A Command To Set The /bin/tetris File Executable

Feb 12, 2011

How do you write a command to set the /bin/tetris file executable

View 2 Replies View Related

Software :: Bash Command History Log / How To Write It Continuous?

Apr 14, 2011

I've been looking for how to set this up in bash with no luck so far. I can change what file the history log is written to, and how much history is saved. But it only writes the saved part when bash exits. Instead, I'd like to have bash write that file continuously as each command is entered (and maybe also do an fsync(2) to flush it to disk). That way I can see the command I crashed the box with Anyone know the magical incantation for that?

But there appears to be nothing that I can find there, in the man page, or other searches, that suggest it even can do continuous.

View 12 Replies View Related

General :: Root User Using Freshclam Command Cannot Write To Directory?

Jun 27, 2010

When I log on a root and attempt to issue the command Freshclam to upgrade the virus definitions it attempts or create a new file with a definition name. I get a message stating that the directory isnt writable. The user and group access rights are as follows:

USER = read, write, execute
Group = read, write, execute
All= read, execute.

The only way I can get around this is by applying a 777 which would be read, write and execute for all. Now, I have a group define with several user ids in it including Root.How do I connect the group with the directory/file so I dont have to apply a 777 access right to group users could issue the Freshclam command.

View 1 Replies View Related

Programming :: Write Scripts To Pass 2 Different Variables To Find Command

Aug 18, 2010

i am trying to write scripts to pass 2 different variables to find command.

find . -name $var1 -exec grep -H $var2
find . -name CDR_2010-07-21 -exec grep -H 9892614477 {} ;

1st variable CDR_2010-07-21(passed by var1) is the file name inside which i am trying to search string 9892614477(passed by var2). i have tried following script

[code]...

View 9 Replies View Related

Programming :: Write A Replacement For Shell Command Line Interpreter?

Sep 2, 2010

If say, I want to read the input given by user at the command prompt and write a code to execute the cmd given then which commands do i use to implement this ( Im writing the code in C )?

View 8 Replies View Related

Programming :: Write A Small Program That Shows Some Stockquotes And Indexes Etc On The Desktop?

Aug 29, 2010

I want to write a small program that shows some stockquotes and indexes etc on the desktop. Does anyone know how to get the quotes from google, yahoo etc? Do I rip it from the webpages or is there some other way?

View 3 Replies View Related

Ubuntu :: Command Line (write A Short Script That Will Compress A Specific Folder) - 7zip

Oct 6, 2010

i need to write a short script that will compress a specific folder that`s on the Desktop (and all it`s content) and also will encrypt it with a password that is inside the script --->meaning it wont ask for a password+verification when compressing+encrypting

View 1 Replies View Related

Ubuntu :: CD - DVD Drive One Desktop Computer

Mar 28, 2011

My desktop computer that i dont use very often, that runs Windows XP, but im trying to install ubuntu 9.10 on it from an old CD i have but the drive wont work. It doesn't work with anything!

So heres what ive found: In my my computer area it shows that there is a "DVD/CD-RW Drive (D: )" and a "CD Drive (E: )" and when i click on the E drive it says to insert a disk into the drive and when i click on drive D it opens to a blank page. Also when i click eject on E nothing happens but when i click it on D the drive opens.

Ive already said this, but when i put a disc in it nothing happens. It doesnt matter what i put in it either, when i put something in the light saying its working blinks a few times then stops and nothing else happens.

I dont have any internet on the desktop. And ive been having this problem on & off since the computer was givin to me, but its never not worked for this long.

View 8 Replies View Related

Programming :: Write A Script StoredList That Takes Two Command Line Parameters?

Nov 28, 2010

This is the following exercise:Adapt this to write a script storedList that takes two command line parameters. The first parameter is the name of a directory, the second parameter is the name of a directory should be store i.e# ./storeList.sh /etc etcFilesListHow can you refer to the variables that represent the words passed in on the command line?

My Script's file:
#!/bin/bash
if test $# == 2

[code]...

View 4 Replies View Related

Programming :: Write A Command Line Script To Make Symbolic Links?

Oct 20, 2010

I am trying to figure something out as part of something else I am going to do. I was just wondering the easiest and quickest way to run a loop at the Linux command line which will make x amount of symbolic links when I need them.

I am using Debian 5.

I figure its something as easy as ~# foreach statement, then I just do a loop with the command to make a sym link.

View 5 Replies View Related

Programming :: Write A Bash Script Program In System Command Terminal?

Mar 22, 2010

I'm trying to write a bash script program in the Linux command terminal that will write to a fellow user and then continue reading down the program. this is what i have (kind of explains the idea too):

#!/bin/sh

clear
echo "this is before the write command"
write jcummins
this message should go to jerry
echo "the message didn't send and this string will not appear"
echo "it appears it has stopped at the write command"

View 5 Replies View Related

Ubuntu :: Computer All Desktop Icons Disappear

Dec 22, 2010

Downloaded and played latest Ubuntu (10.10) to get an idea of how it works (without actually installing it). Currently i use windows 7. When I restarted my computer all my desktop icons had disappeared. I still have the programs in my documents file or wherever but my desktop is clear. Is there any way i can restore them without doing it one by one? i.e. get back to my previous state.

View 6 Replies View Related

Ubuntu :: Way To Transfer Data To New Desktop Computer ?

May 29, 2011

I have a number of queries but will start with one. I presently operate 11.04 Classic (no effects). OS is NOT set up as dual boot. As I am considering purchasing a new Desktop, I am wondering what is the best way to recover such things as folders, Firefox bookmarks etc. for four users.

I do have a external HDD which I guess could be used for a possible backup if that is the way to go! The new computer will probably have Windows 7 installed with which I assume I would probably dual boot.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved