I start a process which is copying items from my desktop computer onto a memory stick. I then leave the house with my laptop and some hours later i use ssh to login to my desktop. I can see weather the process is running still using top, and i can kill it, but is there any way to let me logon to the local console i.e /dev/tty1 so i can control this process directly?
I am trying to connect to serial console, local one, just to verify than it works, is is possible?Well, I configure serial console
Code:
# ttyS0 - getty # # This service maintains a getty on ttyS0 from the point the system is # started until it is shut down again.
[code]...
It is started, now I am trying to connect to the console via minicom, is it possible from machine where the console is running?If not, how could I check it remotely?
I use TextMate on Mac OS X to develop. The files I need to edit are on a Linux machine, and I have the Linux filesystem mounted on my Mac OS X. Opening the files and saving them in TextMate is not a problem.What I want to do (from my Mac OS X) is be able to...SSH <linux>cd <folder>mate <filename>I want that to open up the file in TextMate on my Mac OS X (thus, shifting focus from my Terminal.app to TextMate.app). How can I achieve this effect?
Is there a command to remotely shutdown a computer on the local network? I have a computer running as a file/print server and I have no screen or keyboard connected to it. Would be great if I could shut it down from my laptop. I have the needed credentials (as I'm guessing these would be needed in the command?)
I am trying to figure out a way to pull the user information from local users on a Linux server. I have approximately 40 servers running SUSE and Ubuntu that are using Microsoft Active Directory in order to authenticate. Our internal auditing group has made us disable root ssh ability, I was doing this with clusterssh, but I can login as me then su on the server to conduct root, admin, work. This is an ongoing request to get the local users and it is a painfully slow process since I have to login to each server to get the /etc/passwd file. Is there another way to get the local user information? They are now asking about seeing the last logon date or if the account is disabled, any thoughts there as well?Most of our auditors think Windows and I am trying to make my life easier but not sure what options I have. I need to get local accounts and if they are active or disabled plus last logon date. I'm sure there will be more but if I can get the basics adding more shouldn't be too difficult but I guess I'll cross that bride when I get there.
I want allow a local domain (domain.com) to send email ONLY locally, and I don't allow domain.com to send email to remote email (externally) . How to configure exim to do this ?
I would like to connect via SSH or similar to my servers located in a remote DC from a laptop running centos5. I normally do this on a puter running dows, and using secureCRT. Just wondering if centos has something built in for this, or if there is some preferably free software I can get.
I'm not terribly new to Linux, but I am new to the forums, so hear me out! I am in the process of creating an electronic mapwall for our meteorology program, and have designed the computing system from scratch. I have two Linux Boxes, each with capabilities for 6 attached monitors...a total of 12 displays driven from two machines. My intention is to have one machine be the master...it has a touchpanel control. The inputs to the touchpanel will then trigger events for the both the master and the slave machine to display. Each of them has a specific IP address (DNS entry), and are not on a subnet.
Now...is there a way to remotely login to the slave machine and have it display on it's OWN monitors? The code is Java and which works on the master machine to animate directories of .gifs for each of the master's attached monitors. I will most likely have Java execute shell commands for the remote login (ssh), but I believe the answer lies somewhere in the X-configuration. Do I have the machines in an adverse configuration (creation of a subnet would be better)? Lots of questions...lots of desire...few answers!
How can I start a program from tty1 console text mode to be executed in tty2 console text mode? Actualy I would like to start a program (chat client cli program) in tty8 automaticaly when linux PC boots.
I have a postfix mail server on ubuntu 10.04 lts behind a router. so all local users are fetching/sending mails through ms outlook using local IP. Sometimes when internet goes down and any mail send then it bounced back immediately saying domain not found. Can u please tell me how i configure to hold all mails in postfix server rather than bounce when internet fails and will pass through when restored the internet around 15-30 minutes?
I'd like a way to see all of the devices on my local network and what their local IP address is. I recall that I used wireshark to troubleshoot a similar problem a while back, but it doesn't seem to have a way to see all of the devices- only the traffic. (I'd like to do this without having to physically interface with my router if possible, and I am in an encrypted network if that matters)
I have installed a web server on my local network. Everything is well configured and web pages are shown correctly from Internet (outside the local network) using the domain or the public IP.The issue is if I try to see that web pages (using the domain or the public IP) from inside the local network. In that case the router config page (192.168.1.1) is shown instead of the web pages.From inside the local network I'm only able to see the web pages using the internal IP address (192.168.1.XX).
One of Konqueror's unique features is that i can name a local process as the action in a form. When i submit that form, the local process is executed. Very helpful for certain offline tasks. What would make it even better is if i could find a way to pass some data to that local process from the html page. This could be the content of a hidden input item, etc. Alternatively, if there is a way for Konqueror to create or update a local file with data from the html page, that would acheive the same end.
What command would you use to read about the sync system call (not the sync command)? How would you read a local man page for sync that was kept in the /usr/local/share/man?
I am trying to install tilp, a program for the link between a computer and a Texas Instruments calculator. I have downloaded all the packages to a local directory. I tried telling yum to install all the packages at the same time, though, the dependencies still fail to resolve (though they are all in the directory). I don't know if it would be safe to force install without the dependencies (even though I would install them later).
I've got an Ubuntu server hosting our websites and other various things here in our own home. We recently switched to a router that doesn't support loopback (abomination), so I've set up hosts files on our computers so we can access our own sites when on our home LAN.
However, we often take our laptops as we travel about, and I'm guessing due to the hosts files when we try to access our sites, it'll look on whatever local network we're connected to for our server, which won't work, obviously.
Is there a way to set up something like a hosts file that'll only try to look up the local IP of the server when we're on a specific network (our home one), or have one that tries to look for the local IP first, then proceeds to try and resolve the domain name and use the external IP if the local IP doesn't work?
I have a Dell PowerEdge 1650 server with 3 NICs in it. I am trying to use one NIC (eth0) to connect to the internet, the second NIC (eth1) to share the internet connection to a LAN, and the third NIC (eth2) to connect to the LAN.
It is running Ubuntu server 8.10
The problem that I'm having is that NetworkManager (version 0.7.0) keeps setting eth2 as the default connection, and then I don't get any internet at all from the server.
My main goal is to be able to share files from the server to computers on the LAN. The secondary goal is to have a virtual machine hosting a Halo server, connected through eth2, so that it can host LAN games. But that is a secondary goal after I get the connections to work.
I've been looking around and finding other people who have done bits and pieces of this, but not the whole thing. I had been hoping to simply use the NetworkManger, but I don't mind editing config files.
Also I can't seem to find any good instructions on editing the /etc/network/interfaces file. The man file is incomplete, and everything seems to point back to the man file.
What is the minimum configuration to postfix that I need to do (i.e. to its main.cf file) in order to have the following:mail go from user1 on comp1 to user2 on comp2 on same landemonstration:
user1@comp1# Mail -v "" user2@comp2.somelan.com hi there [CONTROL-D]
I posted about viewing desktops remotely (received no reply), as I have an "off task web-drifting" problem with some students in my classroom, due to the fact that I no longer have my old SynchronEyes program. I have Windows Vista Business/XP Pro machines (32 of them in all) and I cannot view desktops remotely, regardless of the fact that 1) the Remote Desktop Service is enabled, and 2) I know the IP numbers and the domain names. How can I view desktops remotely with the Remote Desktop Viewer tool in Ubuntu, with the fact that the IP addresses are correct and the Remote Desktop Service is enabled on all 32 machines?
I have made a virtual machine on my server using virt-manager that I access using virt-viewer from my desktop/laptop. Currently I am having to leave the VM on all the time. Which is a waste of cpu/ram etc. Ideally I would like to be able to wake the vm up from virt-viewer or from a bash script being ran on my desktop.
i have ubuntu 10.04 lucid i used gnome-file-share-properties to enable remote desktop i have samba i have ping from remote computer to my ip address and computer name and etc but still i can't connect remotely via rdp or at least not via windows xp rdp what do i need to fix to enable this?
I've got an SSH server setup on my box which is running locally fine. I can connect to it through my local laptop but when I try to connect through the internet either via my IP or using the DynamicDNS I have setup both get an operation timed out message.I've got firestarter running with an inbound policy to allow connections from any host to port 22. I've also gone into my Netgear router and selected to forward any inbound connections to port 22 to the IP of the box that's got the SSH server on it.
Even with all this the connection just isn't being made. I've also tried temporarily setting the DMZ option on the router to forward all inbound connections to the IP of the Ubuntu box but still get the same Operation time out. Is there any other options that wouldn't allow remote connections via SSH? Or am I missing something hugely obvious here? Maybe it's possible to connect to SSH via a different port or something?I'm running Ubuntu 10.4 and have installed openssh-server via Synaptic. Would be great to get this working so I can use it as a tunnel from work and access the VNC, which I've been told should be done via SSH anyway.
Does anyone know of any free services offering debian or ubuntu shells? I want to run IRC remotely with screen, but free services only seem to offer unix shells. I'm not really bothered by that but I feel more comfortable on ubuntu.
How to set up a script to log on to a server through SSH, copy file from the server to the local machine, and then run a script on the downloaded file. More specifically, I've got a minecraft sever that is run on ubuntu.
I know that I can do # ssh username@ipaddress to log on to the server through the terminal.
After this it asks me for a password. Once I type in the password I have access to the directories on the server. How can I set up a script to log on to the server and enter password? Once I do this, how do I automate it to copy a file from that server to ~/Desktop? If I can do this, I have a script that will run from there.
I've learned that I can do scp -r remoteuser@remotebox:/remote/directory /local/directory to copy files from a server to my local machine, but it still asks me for the server password. how do I make it so that the password is automatically entered?
Is it possible to connect remotely to a Windows PC from Ubuntu.I know these people that are constantly receiving Malware on their PC's and when I'm around. The problem is, they are over 200 Miles away, and I won't be in the area until a very long time. Would it be possible to connect to their PC remotely with Ubuntu and remove their viruses via ClamAV?
I have a keyboard&monitor damaged laptop which I've converted into a media server/HTPC with a large external monitor. I've installed Ubuntu 9.10, and attached an external 1TB HDD with my video collection. As a media player it works perfectly fine. I can connect to it through my home network, both with VNC and with SSH. I can use VNC on my current laptop to access the player's desktop and play video files. However, this is awkward as the screen resolution of the playback monitor is 1920x1080 - much bigger than the laptop's screen - which means I either end up scrolling the viewpoint around, or scaling the virtual screen down to make reading text very difficult.
What I'd like to be able to do is to trigger Gnome applications - specifically the Totem video player - via a SSH session, on the current Gnome desktop. The idea is that I'd like to be able to browse the directories which house my video collection in SSH, launch the player in the session, and have it appear on the monitor. Ultimately, I'd like to be able to invoke this from a PHP script - thus allowing me to create a (simple) web application on a LAMP installation which would allow me to browse & play my video collection. Currently, when I try and invoke totem, it seems to want to connect the invocation of the software to the SSH session, which - of course - it can't do. Where I might start in trying to set this up?