General :: Lost All Running Programs On A Server (inside *screen) When Client Restarted?
Apr 21, 2011
I sshed to a server a week ago, then ran *screen* and created a few windows in my screen session. I then ran a few programs on those screens. All the programs were running in the background (I run them with &). I did not close or detach from the screen sessions. So I was still connected to those screen sessions from my client machine.
Then, this morning I find my client machine rebooted. When I do screen -ls I find there are no screens available to reattach to. But that is not the worst part. The strange thing is that all my processes (which were running on the server) have disappeared as well, even though they were running in the background. I thought 1) using screen I will be able to re-attach to old screens when my client restarts, 2) If I have sshed to a server and have run programs in the background, restarting the client should not stop those programs (even if I had not used screen).
View 2 Replies
ADVERTISEMENT
Oct 2, 2010
Is there any way to tell who or what process rebooted a RHEL server?
Somehow one of my boxes got restarted this morning, i'm trying to figure out who/what did it.
View 3 Replies
View Related
Aug 25, 2011
I have to work inside two environment. One Windows (local) and one Linux (remote).I've installed the screen linux utility in both.I'm able to open a screen on my windows, then in one tab, I opened a ssh connection to the linux remote and I start another screen.Samplelinux -- |0 linux remote 0| 1 linux remote 1 windows-- |0 linux | 9 windows I can switch between "linux remote 0" and "linux remote 1" using Atl+.This is configured in .screenrc (bindkey "^[0" select 0)How could I switch to "9 windows"?
View 4 Replies
View Related
Feb 22, 2011
My current script is as followed:
Code:
#!/bin/sh
su et
cd "media/ET"
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:.
[code]....
I want ET to be run as the user "et" and for some reason, I can't directly su/sudo to run the file without being in the user "et" and the "/media/ET" directory.
View 2 Replies
View Related
May 19, 2010
I have finally successfully triple-booted Snow Leopard, Windows XP, and Ubuntu 10 on an iMac but I have 1 problem: Whenever I am in Ubuntu and select "Restart," it goes to the splash screen and loads 2 of the dots and then freezes and hangs there forever. If I do "Shutdown," it works properly. Note: I am using rEFIt as the triple boot loader. GRUB installed on sda3 with Ubuntu.
View 9 Replies
View Related
Jun 8, 2010
I've been using NX to login to a remote machine (using the free NoMachine NX client). I've been pretty happy with it, but I'd like the ability to run it as a separate desktop, rather than a window within my existing local desktop. I think I'd like to be able to start X Windows with only the NX client running, either in another virtual console (VC) in addition to my local desktop or perhaps sometimes as the only desktop running. My first thought was to go to another VC and start an empty X Server with only the NX client running with the command
Code:
xinit /path/to/nxclient -- :1
That seemed to work, except that just as the remote desktop is about to appear the X server shuts down. It seems that the nxclient process spawns the child nxssh and then exits, and at that point X Windows closes because the command it was started with has ended. I assume there's a simple way to fix this by writing a script that will only terminate once all the child processes have terminated and calling that on the xinit command line, but I'm not sure how to do that.
View 6 Replies
View Related
Jan 2, 2011
Before running SOSreport, the free physical memory is 5389Mb out of 8Gb.
After running SOSreport, the free physical memory is 3229Mb.
Why is this so? how we can free up the physical memory.
View 4 Replies
View Related
Jan 23, 2010
I am building a Terminal Server Client using debootstrap for work. I found a couple post that suggested that I can change my inittab configuration to not load login. However it is my understanding that inittab has been replaced by upstart. I would like to know how to modify upstart so that instead of the user seeing a login: prompt my script is automatically loaded (rrdesktop)(revisedrdesktop) and the user is brought off a live cd to my terminal server.
View 2 Replies
View Related
Jun 10, 2010
I'm running Ubuntu 10.04 inside VMware Player running under Windows Vista and I can't connect to the internet or the host computer from the Ubuntu.
I have set all the VMware services to manual (like VMware DHCP Service), but starting them manually doesn't help.
In VMware, the network seems to work (there is a green dot beside the network icon) and I have tried both Bridged and NAT settings.
ifconfig doesn't show the eth1 interface, unless I give it as a parameter (or use -a). I think this means that Ubuntu thinks that the network isn't connected at all.
View 1 Replies
View Related
Aug 4, 2010
I am new to linux. I want to run a server-client (c#) windows/console based application on CentOS 5.4. The code in C# has made using visual 2010. Should I use wine for this purpose or go for mono?
View 1 Replies
View Related
Nov 15, 2009
i installed unix services for windows 3.5 on a windows xp pro box and it installed fine. I configured nfs on the debian box and exported the ip of the client computer and forwarded port 2049 correctly. I followed the instructions for setting up teh nfs client on windows. However whenever i go to tools->map network drive and type in the server-domain-name:/file-address it says it cannot connect?
View 6 Replies
View Related
Jul 30, 2010
My office is on migrating to UNIX system. I am configuring Centos as our server including some program will be running on it. But one of the problem is we use foxpro for operating some program on server directly. I can run that program on Centos using DOSBox. My question is how can i run that program on winxp client that connected to network through samba to that program on server? so my plan is just give the shortcut and link it to server. I have tried to open it but not work.
View 1 Replies
View Related
Jan 1, 2011
I was using irssi in screen but lost connection. After I ssh'd back in to the server, I can no longer attach to that screen. screen -ls shows that the screen is already attached. I tried screen -D to force detach it, and it said detach but screen -ls still says it's attached. I tried screen -x and it just hangs there.
[sub@server ~]$ screen -ls
There are screens on:
4033.poe (Detached)
7728.irssi (Attached)
2 Sockets in /var/run/screen/S-sub.What can I do now?
View 4 Replies
View Related
Aug 19, 2010
I am new to C programming and I need a way to compile and run my code. I've made a little research and I found that eclipse is a nice IDE. But I don't know how to configure it and generally. What do I need to download and install to make it work. I've also tried downloading easy eclipse that doesn't need any configuration or extra files but the link on the site was broken. Is there any other C IDE like easy eclipse available?
View 5 Replies
View Related
Jun 24, 2010
I am trying to study gtk programming and get stucked before some errors in compiling them. Iam using ubuntu 9.10 and i didnt installed any additional libraries or packages for running these gtk programs assuming gtk is already installed in ubuntu. I am newbie to gtk I tried compiling some example programs from my tutorial and it ended up in errors. So do I need any additional packages to run these programs.when compiling it shows package config cannot find any gtk+-2.0 packages and to try specifying .pc in environment path. I don't know how to set these path stuff.
View 1 Replies
View Related
May 13, 2010
I have no idea how I did it. All of a sudden I couldn't access synaptic so I restarted my system and the login screen wouldn't show up. I tried dpkg --configure -a and sudo apt-get install -f. I can't access my system at all.
View 5 Replies
View Related
Mar 18, 2010
What the most harmful thing can malware program started as separate limited user account do if it has access to the X server? Network and filesystem things are already considered by chroot and netfilter.
It obviously can lock the screen and I will need to switch to other vt and kill it manually. Can it for example disrupt other GUI programs on the same X server (access a root terminal in nearby window)?
I know that it is safer to run it in separate X server, for example, in Xtightvnc or even some virtual machine, but how dangerous is to just run it like other programs?
View 3 Replies
View Related
Oct 3, 2010
This is my first posting as a Linux Newbie. I have installed Ubuntu 10.04 inside of a MS Virtual PC on my Vista machine. Everything seems to work beautifully and is stable. However, I would like to use a resolution higher than the current maximum of 800x600. I've poked around on the web and have tried various tips. I tried using the xrandr options which added a higher resolution mode, but when I would try to set the output to that resolution, I would get an error message to the effect that I could not exceed the current maximum of 800x600.
I tried to cobble parameter values together and create an xorg.conf file, but every iteration seems to produce a bunch of colorful vertical bars within my Virtual PC window, and I would have to blow away that virtual PC setup and rebuild it (along with reinstalling Ubuntu). As I said, 800x600 is not a show stopper, but I would like to take advantage of the real estate I have with my display. These "fifty-five year old" eyes could benefit from the larger size. FYI, I did take a stab at installing Virtual Box, but got the infamous "blue screen", so I would rather stick with what appears to be a stable virtual PC base.
View 4 Replies
View Related
Mar 10, 2009
I installed the vncserver rpm on Redhat EL 5.3 after the initial installation. I am able to run $vncserver and can connect with vnc client also. But getting black screen all arrond the xtem and also not able to launch xclock. Here are the error messages in .vnc log
Couldn't open RGB_DB '/usr/share/X11/rgb'
_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/ocapma:1
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
[code]....
View 3 Replies
View Related
Dec 3, 2010
I am at a loss. I can not access my work remote desktop via the terminal server client on my wired box running Ubuntu 10.10. My wireless laptop is able to connect right away once I established the VPN connection. The VPN connection is established on both boxes with no problems.
When I tried the Terminal Server Client on my wired boxed, it says it can not establish a connection. Yet my wireless box gets connected immediately!
I check the /etc/dhcp3/dhclient.conf and the /etc/resolv.conf to see if there were any differences, but they are essentially the same. When I have the vpnc connection, they both recognize it and I am able to ping the IP address shown when I do a "ifconfig" on the terminal.
What can be the problem? Anything I need to configure on a wired computer versus a wireless one? What else can I check?
View 7 Replies
View Related
Jun 2, 2011
I have been running squid3 proxy on a Ubuntu 10.04 machine for several months with no problems.It serves about 50 users ( win and Lin clients ) and is usually rock solid.
However, over the last few days problems occur.
The users lose connection and I have to restart squid and all is ok again. Sometimes it drops 4-5 times in an hour ans sometimes not for 6 hours or more. I know the problem is related to Squid as the actual internet connection is on and the squid machine can access the internet.
Restarting squid cures the problem.
How can I troubleshoot this ?
Checking the cache.log doesn't show anything strange as far as I can see.
Could it be that the cache file is full or something ?
View 4 Replies
View Related
Sep 17, 2010
I want to see all my ip's inside server. ip a command and ifconfig not working. Because i am under su root login. Is there any possibilities to view all my IP reside in the server..
I am using CentOS release 5.5 (Final) server.
View 5 Replies
View Related
Feb 24, 2011
How can I disable Internet access for programs running in Wine?
View 3 Replies
View Related
Aug 18, 2010
I've done some searching around but can't find anything conclusive on this error. The tech at my remote site restarted the 9.04 server(not sure if it was accidental or planned) and when it started the boot process, an error like the following shows up...
"The display server has restarted 6 times in the past 90 seconds. This indicates that something bad is happening."
View 4 Replies
View Related
Apr 22, 2011
I installed centos 5.5 and httpd service was working well for the last 2 weeks till yesterday. I restarted server and noted my hosting service were not working. I have tried service httpd restart on the terminal and it dispalys [FAILED]. I updated my machine and and have tried restarting it but it doesn't work. I am new to centos and I dont know how to solve this.
View 2 Replies
View Related
Jul 8, 2010
I'm setting up a mythTV frontend, so have set up automatic login in GDM, which works perfectly. I've also re-enabled the "kill X server" key combo (ctrl-alt-backspace), as other people here are used to that to restart it if everything goes pear-shaped.
However, the autologin isn't working properly after I kill the X server -- just sits at the login screen, and I have to manually log in.
how to fix that? Essentially, I never want to see the log in screen -- I want it to always log in as my generic MythTV user.
Not sure if it's any help, but here's my /etc/gdm/custom.conf:
Code:
[daemon]
AutomaticLoginEnable=true
AutomaticLogin=generic
TimedLoginEnable=false
TimedLogin=generic
TimedLoginDelay=1
DefaultSession=gnome
(I've also tried enabling the "TimedLoginEnable", and have tried delays of 0, 1, and 10 seconds. They don't seem to work, either.)
View 3 Replies
View Related
Apr 26, 2011
using mint 10, now after updates my system is barely working. The programs were no longer showing in the task bar, and the system was running much slower.
[code]...
This repeated over and over again. My temperature was never to high 40-55, and I found a suggestion to update my kernel to 2.6.37-020637. After doing so there is no longer the thermal limit exceeded error but the computer is still running poorly. The system is slow and again no programs are showing up in the task bar when open.
View 6 Replies
View Related
Mar 20, 2016
I'm trying to connect to my server (to the gnome session) using vnc. I run vino-server on debian
I get pass the authentication (configured none) but I get a blank screen instead of my session.
Log from vino on the console:
root@B10-20-30-4:/etc/vnc# /usr/lib/vino/vino-server
** (vino-server:2547): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-7l6BcHLxb5: Connection refused
(vino-server:2547): EggSMClient-CRITICAL **: egg_sm_client_set_mode: assertion 'global_client == NULL || global_client_mode == EGG_SM_CLIENT_MODE_DISABLED' failed
20/03/2016 05:20:28 PM WARNING: Width (3046) is not a multiple of 4. VncViewer has problems with that.
20/03/2016 05:20:28 PM Autoprobing TCP port in (all) network interface
20/03/2016 05:20:28 PM Listening IPv6://[::]:5900
[Code] .....
View 0 Replies
View Related
Jun 11, 2011
I configured openLdap in RHEL5 on virtual achines,everything is working fine, I created a user called ldapuser,in LDAP server and i created a home directory for ldapuser in my LDAP client, now i can able to login to the both Server and client with ldapuser account....
Now here what am expecting is i want to export my server's home directory to the client, i dont want to create home directories manually in the client machine, i googled about that, and it can be done through autofs.....
what need to be done on the client and server side.
View 6 Replies
View Related
Jun 2, 2010
I setup a private network from virtual machines and one of the machines is the DHCP server for the group. I want to specify a next-server for the DHCP server but I'm having trouble connecting to any of the machines that I lease IPs to. I'm just trying to do a simple ping/ssh to 10.0.0.252 (a machine with a lease) but it doesn't seem to respond. I'm assuming I need to be able to connect to my next-server but maybe I'm wrong.
View 1 Replies
View Related