General :: Can I Force-logout Other Session From A New SSH
Sep 27, 2010
I sshed into a Linux machine (bash shell) from a public Windows machine (in our lab) and forgot to log out. I'm now back at my seat in another room and I am too lazy to walk back and log out that session; I can ssh into the Linux machine from my current PC though. Can I force-logout the other session from a new SSH session?
When I ssh to the Linux box from my current PC and type users command, I can see that I'm still logged in there; my name is listed twice - one for the current session and another for the session from lab PC.
I don't have root privileges on the said machine, but I guess that shouldn't matter as I'm just trying to log out myself.
View 1 Replies
ADVERTISEMENT
Oct 17, 2009
I am using Fedora 11 + kde 4.3.1 + compiz. for several times now my session ended unexpected, I can't reproduce that behavior and so I am looking for a log or someplace to look after such logout to find out what caused or triggered it.
I saw another thread about unexpected logout while browsing, its not the same although it happens to me so far while using firefox / mplayer / Kontact (kmail) .
View 1 Replies
View Related
Apr 28, 2011
Where has the possibility to auto-save session on logout gone in 11.04? Or even just save a session at any point?It has been filed as a bug on URL... but I fear it has been (re)moved on purpose..
View 9 Replies
View Related
Feb 17, 2011
I have installed VirtualBox as per the instructions on this site, and the kernel module compiled without problem, however when I start it, it causes the user to logout!
I am using the nvidia module from the ATrpms repo if that has any bearing on the problem.
Has anyone else seen this issue?
Details:
CentOS 5.5 x86_64 running on a Dell Studio XPS 435MT with i7 920 and 6GB of RAM
VirtualBox 4.0.2 from virtualbox repo.
nvidia driver 260.
View 1 Replies
View Related
Apr 5, 2010
For some reason the shutdown/hibernate/logout options has disappeared from the Indicator session. I can still set my status in EmpathyI have tried reverting to gnome panel defaults (gconftool --recursive-unset /apps/panel && killall gnome-panel), removing and readding and I've checked synaptics and it seems I have everything indicator-related installed.
View 2 Replies
View Related
Jun 9, 2010
Ubuntu have two logout dialogs. One is well known LogOut dialog with Switch User option and second is standalone LogOut dialog from Indicator Applet Session.Did somebody know the command for Indicator Applet Session LogOut dialog?
View 1 Replies
View Related
Oct 17, 2010
As a normal user I have activated the functions of the Quit applet, i.e. Logout, Shutdown and Restart are active buttons. I am able to restart or shutdown, no problems. But when I use the Logout button I don't get logged out, just returned to the login shell & I am still logged in as my user. I don't have a display manager installed and I do NOT want to use a display manager such as XDM or GDM. How do I get the Logout button to actually logout the user? It appears I am only getting logged out of the x-session, but I want complete logout.
View 6 Replies
View Related
May 11, 2010
Info about session timeout.
I use tmout = 15 min in my /etc/profile (along with readonly tmout). i have some issues i need to address, looking for ideas.
1. what is considered a idle "session" ?
2. if i & a process to the background and do nothing is this a idle session?
3. if user uses su to a higher level, are there now two sessions? is the tmout for user suspended until su user time outs or leaves su session?
4. i have some users who will run long sql queries. is there a workaround to have the session remain active until process has finished?
View 3 Replies
View Related
Feb 20, 2010
Is there a way to run a prompt at logout or shutdown? I added the following code to .bash_logout, but apparently the �read� command doesn't work from there.
Code:
echo "Make a backup now? (y)"
read answer
if [ "$answer" != "y" ]
then
echo "Backup aborted."
fi
I am using Ubuntu 9.10
View 2 Replies
View Related
Apr 12, 2010
I am using SLC4.6. I just wanted to know what is the command to get the log out window as we get it from Action-->Log Out button ?
View 9 Replies
View Related
Oct 13, 2009
I've been trying to get timestamps on the history command. I found the following
export HISTTIMEFORMAT="%F %T " - and it works ok - but after I logout and log back in the history command is back to normal. So I did a little more searching and found this export HISTTIMEFORMAT='%F %T - %H:%M:%S ' >> ~/.bashrc I thought exporting to .bashrc would "save" the command - but I guess I am wrong. what do I need to do to get timestamps on history evertime I log on? how/where do I set it for all users?
View 9 Replies
View Related
Jan 6, 2010
I'm wondering how to let him logout automatically from server when the user is in idle for a long time after login.
View 1 Replies
View Related
Dec 15, 2010
When I logout on kubuntu my xserver dies and I have to start x again manually from console. Im not to kubuntu 10.10 and I tried to check out /etc/X11/xorg.conf but its not there. on reboot xserver starts automatically. I am using opensource drivers and video card is radeon x700 pro
View 3 Replies
View Related
Mar 28, 2010
every time I logout from Xwindow KDE, it doesn't redirect me to Linux command line, instead it was halted without the machine being shut down. How can I exit from KDE and go to Linux command line?
View 10 Replies
View Related
Apr 12, 2010
hypothetically speaking, can i write a script in which a telnet session is opened and then some more commands are forwarded to that session?
View 4 Replies
View Related
Nov 10, 2010
I have a very bad attempt at hashing the components of an tcp session to assign/locate the session in a hash table bucket. I am pretty sure that it has a very high collision rate and when there are a very large number of tcp sessions my application is having to search a long linked list to find the session within the bucket.
All the hashing functions I have found take a single string input where I need to input several integers and hash them into a single result. My guess is that any real hashing function is going to produce better results than what I am currently doing.
[Code]...
View 2 Replies
View Related
Nov 1, 2010
Is there a session manager I can use with 10.10? I would like to try Openbox but am not sure how to select it as a startup session. I would like to be able to choose between kde, gnome and openbox.
View 1 Replies
View Related
Jan 22, 2010
I am putting together some new systems for my customer and I'm having some trouble with a script that we use to back up files to a DVD R. The problem is that I can't write a 2nd session to the DVD unless I eject the disk and reload it. The drives are slimline type drives, Sony BD-5730S and Teac DV-W28S-V93, so they won't reload without human intervention. Opsys is CentOS 5.4 or RHEL 5.4. I've tried both AMD and Intel based mother boards. If i try this on Fedora 11 or 12 it works fine. This works on IDE attached drives but not a SATA attached drives. Fedora appears to use something called genisoimage instead of mkisofs. I can't get genisoimage to run on CentOS or RHEL.
Here's the code to setup the test files:
rm -f /tmp/BDtest/*
mkdir /tmp/BDtest
dd if=/dev/zero of=/tmp/BDtest/blank.iso bs=10M count=1
for NUM in {1..160}
[Code].....
View 2 Replies
View Related
Mar 15, 2010
My headphones broke so audio only works on the right speaker. As a temporary fix I want to force all sounds to play in mono in the right speaker. I run Ubuntu 9.10. Is there a way to complete this?
View 1 Replies
View Related
Aug 12, 2011
I'm trying to upgrade to Firefox 5 on RHEL5, and am getting the following error:
./firefox-bin: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /home/isdtc/tdiakiw/bin/firefox5/firefox/libxul.so)
As the computer is a work machine,I don't have access to update the libraries directly. To try and get around this I downloaded the libstdc++.so.6.0.10 library.strings libstdc++.so.6.0.10 | grep GLIBCXX shows:
GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2[code]....
Is there some way of forcing firefox to use this library instead? I have tried adding the directory containing the new library (with a so name) to LD_LIBRARY_PATH and then running, but I'm still getting the same error message
./firefox
+ moz_libdir=/usr/local/lib/firefox-5.0.1
+ found=0
View 1 Replies
View Related
Jan 15, 2010
I had the bad surprise that wget doesn't redownload when a file of the same name already exist.
Is there an option to force him to redownload without deleting the file first on linux ?
View 3 Replies
View Related
Jun 20, 2010
I created a group, and after adding the users into this group, they have a /home/worksharing that is shared
Code:
addgroup teamnight --gid 2578
So that everyone of the teamnight can read/write data of the /home/worksharing , how can this folder be forced, so that all from it e.g. subdirectories, directories, files,... will take the GID group number 2578 of teamnight?
View 10 Replies
View Related
Jul 7, 2011
running Linux release 2.4.19-uc0, build #511 embedded on a device. It is stripped down to a very minimal configuration and so many of the normal commands are not present.I'm trying to force a reboot from an application I've got running. I've tried the following:
system("shutdown -r");
or
sync();
[code]....
View 4 Replies
View Related
Jun 22, 2010
For personal reasons (I'm hearing impaired) I need my linux machine to produce mono downmixed sound. Downmixed, not just single channel.
Is there any possibility to force such behavior in ALSA / PulseAudio server? Hardware mixing (short-circuiting L and R channels with some resistors) is not possible at the moment. I'm looking for a software solution to mix two channels into one.
I know that some media players have this functionality, but I'd like the whole system (ie games, flash applications, etc) to produce downmixed audio.
View 2 Replies
View Related
Dec 9, 2010
I am running a series of tests for an implementation of a remote pager that sends page faults to other computers in a network. Long story short, I was wondering if there is an easy way to force a process to use virtual memory as oppose to physical RAM so that I can better measure the performance of my implementation against how the system would perform while swapping to the hard drive.
View 4 Replies
View Related
Apr 19, 2010
im trying to implements mercurial repositories using ssh access.The problem is that if a login via ssh with the user "userA" all file upload vi that user are created with the owner: userA:userA and i need to use the group of the parent directory... is that posible ?For example:
repos ( root:repo)
-> project1 ( root:repoPrj1 )
-> file1 ( userA:usearA ) -> here i want userA:repoPrj1
View 1 Replies
View Related
Aug 11, 2010
Is there a way to instruct mencoder to stop streaming/recording after a specified period associated with a loss of signal?I use mencoder to record over-the-air television recordings. Most of the time there are no problems.Occasionally a station's transmission signal disappears, caused by quirky atmospheric conditions, usually at night.Noticing these signal outages is easy by the mencoder error message:dvb_streaming_read, attempt N. %x failed with errno %y when reading %z bytes"Lengthy outages are unbearable because mencoder silently waits forever rather than quit.
The significant problem with lengthy signal outages is mencoder continues recording for the time specified by the -endpos parameter. Thus, for example, if the recording is scheduled for 2 hours and there is a 20 minute loss of signal, the recording does not end until 2 hours and 20 minutes after starting.Generally, when the interruption is lengthy the recording is ruined and I don't care to watch. I would like to programmatically tell mencoder to stop waiting and quit.Is there a way to do this? Say, after ten minutes of no signal, just terminate do not notice any parameters that might offer that option, but I could be overlooking something obvious. I tried the -skiplimit parameter with no success.
View 11 Replies
View Related
Apr 18, 2011
I am playing with my LAMP server1. why can i access a php file on the server only by typing http://serverip/file with no .php extension on?2. later i tryed to play with .htaccess, but when i uploaded it to the server it just disappeared, why is that
View 4 Replies
View Related
Jan 2, 2011
I've hired a dedicated Ubuntu10.10 Server on a remote colocation. I needed a GUI to be able to hook into my KVM guests, so I installed xubuntu-desktop.
My dedicated server provider provides me very useful free service. I can request a CTRL+ALT+DEL to my server through their web based server control panel, and I can boot into a live image from their network. This is vital for me to be able fix back configuration problems.
However after I have installed xubuntu-desktop (XFCE I believe), the CTRL+ALT+DEL no longer reboots the machine.
I've been struggling with this simple issue for quite a few days, I simply can't get it to work.
I've tried setting it through XCFE 4 Settings Manager. It does not work. From my understanding any keyboard shortcuts defined here are specific to user, so I think they'll not work when the server is in login screen (no user logged in).
I've tried to put control-alt-delete.conf files in /etc/init and /etc/event.d/ , neither seems to trigger reboot. Documentary propose /etc/event.d has been deprecated since Ubuntu9.04, i tried it anyways.
Content of the file is
# control-alt-delete - emergency keypress handling
#
# This task is run whenever the Control-Alt-Delete key combination is
# pressed, and performs a safe reboot of the machine.
[Code].....
View 3 Replies
View Related
Aug 2, 2010
Is it normal for mkisofs to use only 5% cpu power? it seems to take an awful long time to create a .iso file. Is there a way to force it to use more?
View 4 Replies
View Related