Ubuntu :: Detach Remotely Run X App And Leave Running?
Jan 3, 2011I found this:[URL]
I'd like to be able to re-attach as well. Anybody know if this is possible and, if yes, how?
I found this:[URL]
I'd like to be able to re-attach as well. Anybody know if this is possible and, if yes, how?
I have a usb wimax wireless adapter. Some times it stops responding to commands and I have to detach and attach it again phisically. My question is: is it possible to do equvalent operation remotely, over ssh like in case with mounting/unmounting filesystems?
View 5 Replies View Relatedis it possible to run for instance pan remotely via ssh and make that instance of pan running on server, regardless upon closing it via ssh?for example i would love to do: start pan instance via ssh on the server keep it open while downloading close the ssh session, keep the pan running on the server in background. open ssh session and access the same instance of pan running on the server etc something in that loop.im unable to do that because when i close pan ssh remotely the instance automatically terminates on the server.
View 8 Replies View Related*Solved* I have been reading the following guide on how to use the VNC programs and a GUI to connect to my main machine from my laptop via my LAN and router:
[URL]
This allows me to control the server remotely, and run applications on the server remotely, with the GUI output being shown on my laptop, which is really neat I had Eclipse + PDT running on my server and had to stop it and start a new instance remotely from the laptop via VNC viewer, as Eclipse said the workspace I wanted to use was already in use.
So starting the VNC server on the main machine does not allow me to access the programs that are already running on the main machine under the native X server. However I can now do PHP debugging remotely using Eclipse + PDT now, and all the PHP source code is on the server machine. That's OK, but I would like to do more than that. I want to be able to connect to the native X server on my main machine, and control all the applications running on the main machine remotely from my laptop, without having to shut them down and restart them again via a VNC viewer.
Is there some sort of remote control program I can use to allow me to connect to the running X server on my main machine from my laptop, and control those applications remotely please, so the desktop layout on the main machine's screen is mirrored on the laptop screen?
In a script I am writing I am trying to add logic so that the script can figure out if a remote server uses rpm or dpkg and then run the appropriate command to print a list of installed packages. This works locally, but I need to get it to work through SSH and I have no idea how to do that. The relevant portion of the script is below. It would also be nice to find a way to not need the full path to the executables but I'm not real concerned about that.So anyone know how to make this code work via SSH?
Code:
if [ -x /usr/bin/dpkg ]; then
dpkg --get-selections
[code]...
RHEL 5 update 2 I'm trying to start services from a centralized location on many servers. I can start/stop these services from an interactive login without any issue, but when I try the same command via ssh/rsh, it hangs. I have my ssh keys set up correctly and I can run other remote commands.
Local server:
# /etc/init.d/samba start
Starting Samba smbd: [ OK ]
Remotely to same server:
# ssh server "/etc/init.d/samba start"
Starting Samba smbd:
<hang>
I run Fedora 13 on my HP dv6000 Pavillion. I am looking for a way to remotely access my work station running Windows XP from my Fedora machine. Most of the information I found explained how to access a Linux box from a Windows environment, and the one place I found that showed the other way around was incomprehensible.
Our company servers run Windows XP, and we have successfully installed remote desktops on other laptops running Windows.I thought of running the remote desktop from a Virtual Machine Windows session, but it seems a cumbersome way to do it.
I need to backup my active production servers (yeah it's too late now) with image cloning application that were running RHEL3-5. The problem is I need to run it remotely from my office. Most of the software I found either need to use bootable cd or need to unmount my partitions which is I wasn't allowed to since it's a production servers. I also tried dd but it consume too much time, sector by sector cloning and empty disk space also included so the file created also big in size.
View 4 Replies View RelatedI've problem with fedora 15. If you detach usb disk without umount it before, system freeze.
View 4 Replies View RelatedThere are often times when the best way to launch an application is from the terminal, but it is a graphical application and after it is launched the terminal is useless.
Examples of places where a terminal is convenient are when a process starts lots of child processes and is also unstable; you can be sure to kill all of its children simply by using Ctrl-C at the terminal. Also it allows me to read program output and to set up the terminal environment to be optimal for the application (for example "unset LIBGL_ALWAYS_INDIRECT")
With GNU screen, I can get around the hassle of having a terminal window open by using something like the following in a terminal window:
Code:
screen
my_command
Ctrl-A d
and then I can close the terminal and the program will keep running. Then I just type "screen -r <Tab>" (the tab will get me my screen session if there is only one such session) in any terminal window, even a tty, and I can get the screen session back and use Ctrl-c or something.
So my question is, is there a way to do this automatically so that a launcher or script will start a screen session, inside that screen session start a process, and then detach from that screen session without me having to manually open and close a terminal and type the commands?
Does anyone know or recommend some software or a script to remotely power on a PC from standby to on, or even better from completely off?
I guess the completely OFF to ON is much more complicated - would probably require an extra piece of hardware(?)
I have a program that creates and uses a shared memory segment. I am trying to find out how to detach and delete this shared memory segment when I hit crtl-C, and I still need the process to terminate.shmdt() and shmctl() have variables that are local to the main passed to them(shared and shmid)
Code:
//Prototype
void leave(int sig);
//part of code trying to use signal handling
if(signal(SIGINT, leave))
[Code]...
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!
Is it possible to have vpn automatically turn on for every wireless network except for when I connect to my home network?
View 1 Replies View RelatedI've got a computer with numerous media files,(video and music). It's a dual boot Windows XP , Ubuntu 10.04 install.I use it as a media box for my large LCD TV. I was wondering if anyone else has deleted the Windows system files and program folders and left the media files. Edit grub deleting Windows XP and leaving the large number of media files alone. I don't want to spend the time to backup and transfer, as it would be to time consuming. I don't want to bork the system just to clean out XP.
View 5 Replies View RelatedI've just upgraded to 10.4 LTS
First thing i notice is that if i leave the computer long enough for the screensaver to come on, when i want to start work again it requires the user password. It never used to do that and its a nuisance. There is no option to remember it that i can see either. How do i stop it asking for a password every time?
Secondly, i want some thing like the "my computer" facility. I tried setting up an icon using gsconfig - the icon is now on the desktop" - it says "browse all local & remote disks connected to this computer". When i click on it i get an icon saying file system. When i open that i get quite a lot of folders displayed. But what i'm trying to locate is the USB memory stick i have plugged in.. i can't find it..
I also tried setting it up as recommended on a site i found, by right clicking the top left icon on the desktop to get into edit menus. But i dont get that option, or the help option. i just get: about remove from panel move lock to panel.
Finally got a dual boot on this laptop the way I liked it (LOVE my Win7, really like UBUNTU for certain things like getting booted and on the net fast...great). As I was editing and rebooting the GRUB settings UBUNTU got it's updates and installed (including one on GRUB that I hadn't seen before - WITH WARNINGS). Now I can't seem to get this last entry out of the boot menu: vmlinuz-2.6.31-14-generic. It has all this listed now (had dual entries for everything like mem test before):
vmlinuz-2.6.31-17-generic
vmlinuz-2.6.31-14-generic
Windows 7
I got rid of the extra entries like memtest and all using: sudo chmod -x /etc/grub.d/20_memtest86+ and such variations..still though I got one stuck in the boot selections. It won't remove the old linux vmlinuz-2.6.31-14-generic build entry from GRUB (and they both point to the same place). It has a -14 and -17 entry in it now. Like I said both load to the same mount point.
I mean I removed like five extra entries from GRUB using that command after the update (and had done it before about two months ago) but the linux vmlinuz-2.6.31-14-generic selection won't leave the GRUB selections now. I really thought I had it figured out to the bomb having my laptop dual booting before, just didn't like how UBUNTU used my disk space by default last time so I decided to rebuild the laptop.
I am using Evolution 2.30.2 and recently set it up with my Hotmail account. However, when it fetched my messages, they were deleted from the online server. I read somewhere that there is a 'leave messages on server' checkbox in Edit>Preferences>Mail Accounts>Edit>Receiving Options but it is not there.
View 2 Replies View RelatedI am running kde 4.5.1 and when I go to kmenu>leave, I see everything but an option to shut down ,
View 5 Replies View RelatedI am looking for a mail app that will do this.I have a gmail account.I would like it to download the messages. but leave a copy on the server.i know some will delete the server messages.i would like to not bring down attachments, ever.i would like to only sync certain folders/labels from my gmail account.will evolution do this?i could not find options for any of these.
View 1 Replies View RelatedI periodically have a problem with the Kicker "leave" shortcuts. The problem is that the confirmation dialogues for "logout", "reboot" and "shutdown" never appear, resulting in the action never initialising. The shortcuts for "switch user" and "lock" work fine - presumably because there is no confirmation dialogue.
Shutting down and rebooting manually from the command line work fine and I seem to be the only user that this affects (hinting at a config issue in ~/.kde?).
Kubuntu 10.04 is my first *ubuntu distro and I've never had a problem with this KDE feature in other distros.
I have a Bluetooth connected to my desktop computer, it's on all the time, I use it to transfer files between PC and cell phone. I was searching Google about hacking Bluetooth and all I found was about hacking mobile devices. I don't care about my cell phone - it has nothing important, but I'm curious about my PC security. Can someone get access to my HDD via Bluetooth like it's possible via Wi-Fi?
View 5 Replies View RelatedI user installed the latest updates as per the update manager. My EDVO card will now not initialize. No /dev/ttyUSBn devcies for it.
View 1 Replies View RelatedThis is the issue: when replying to someone, the cursor defaults to the beginning of the date line (on date this and this, that and that wrote:...), and I have to press enter twice, and then up-key twice, to bring it to a proper situation where I can start replying.
Today the issue is a bit better, since I am using GVIM for editing, so I can just press O (or make any other good mapping for my needs), but I am using GVIM only for English emails (since with Hebrew it is not really... hmm... useful, still), so the problem remains.
I know it is a very "little" issue - but come on, 9 years and no solution?!
In general, it would be nice to allow one to customize completely the "date line"; for example, to allow one to decide that his reply line will begin like this:
(two empty lines, after the cursor!)
=====
Am Sonntag, den 09.05.2010, 13:04 schrieb Asaf Chertkoff:
> ...
> ...
how can I rename all files in a directory up to the first dot (there by leaving the file extension alone) to the same thing? Im trying to rename all my media files and associated files in a directory to (preferably) the name of the directory it self. if I have
Code:
A Clockwork Orange -
wzzyfg.cd1.avi
wzzyfg.cd2.avi
wzzyfg.nfo
ACO.fanart.jpg
orange.tbn
Id like to automatically mass rename them all to
Code:
A Clockwork Orange
A Clockwork Orange.cd1.avi
A Clockwork Orange.cd2.avi
A Clockwork Orange.nfo
A Clockwork Orange.fanart.jpg
A Clockwork Orange.tbn
I have rename on my server which I used to remove underscores from file names, but I dont know how I would use it to rename everything up to the first period. Bonus points for renaming stuff to the name of the parent folder!
I installed Squeeze on an eeepc 900.Everything seems to work well, except for one thing: iceweasel, when drawing certain windows, likes to crash the entire KDE session. This is 100% replicable simply by right-clicking on a bookmark put on the bookmarks menu toolbar, and trying to go to "properites" on that item. It only does this, however, on my wife's eeepc 900, it does not happen on my 900A (different gpu and cpu though...). the two systems have the same packages installed.
The most frustrating thing is that there is no error output whatsoever. I have looked through all the logs in /var/log, and I couldn't find anything. I have run iceweasel from the command line and redirected its output to a file, but the whole system hard-locked, and when I rebooted, there was no log file. I have started X using "startx" instead of using kdm, and I cannot see any output to the VT that kicked it off because the system hard-locks.
As far as I can see, it only happens in iceweasel. If I disable compositing, it becomes stable again -- but I don't want to have to do this, as it interferes with features she is accustomed to.Oh yes, I should also add that this netbook worked fine under eeebuntu and compiz -- never an issue.
When I first started using Fedora 10 I had a bit of a play with the "Leave Message" button that appears when you lock the screen. After you type the message and click save, the next time the user logged in the messages would pop up.
Ever since Fedora 12, when I leave a test message, after I log in nothing pops up. This happens on two different computers so I don't think its an obscure hardware problem.
After the completely new installation of Fedora 15 the letters are ugly in comparison with FC 14, no matter which font. It doesn't help to set anti-aliasing manually. The edges of the letters leave blurring.
View 13 Replies View RelatedI want to give a try to Evolution mail client (I use v 2.30.3) and I've set up my account, but see no reference to how long messages are left on the server (like in Thunderbird you have the option to leave messages for a fixed period of time, after they are automatically deleted).Any clue on this? (Maybe it is a stupid post, but before doing this I searched a little and nothing)
View 2 Replies View RelatedAccording to RFC 1939: "POP3 is not intended to provide extensive manipulation operations of mail on the server; normally, mail is downloaded and then deleted." However most of the mail clients have that option "Leave messages on server" after they have been downloaded. How is it done?
I tried sniffing mail traffic with Wireshark, but the only POP3 provider I have is Gmail and its POP3 access is SSL secured, so I was unable to gather any info from this... I tried downloading sources of Thunderbird and Evolution and checked what are they doing with "leaving messages", but it seems my C++ skills are not enough - I was unable to understand what is happening when "leaving"...
Suggest me some POP3 provider, that is providing unsecured POP3 access, so I could try again reverse engineering with Wireshark?