General :: Open A Second Shell Session That Will Remember The User, Machine, And Directory
Sep 21, 2010
I'm ssh'ed into a machine and logged in as a different user. Is it possible to open a few new windows that will still be ssh'ed into that same machine, still logged in as that user?
View 2 Replies
ADVERTISEMENT
Nov 28, 2010
I am new to writing shell scripts. So, please bare with me. I am currently trying to write a shell script which will read the directory path as input from user and will traverse the Dir tree to find all available audio and video files. I have tried to write as much as I could but I don't know where I am making mistake as I get some files to be audio file which are actully tar balls. On the second note there are some files which video but script shows them to be audio. And, some video files are completely skipped. I am giving the shell script below so that you can see. I am using two external files as source which I am attaching.
Code:
#!/bin/bash
#Let's load the extensions that we want to search for
vdExt=$(cat vdExtList)
adExt=$(cat adExtList)
[code]....
View 5 Replies
View Related
Sep 14, 2010
I have installed virtualbox on opensuse 11.2 64bit.
When I go to open a machine it says
"Failed to open a session for the virtual machine Windows XP. The virtual machine 'Windows XP' has terminated unexpectedly during startup with exit code 1."
"
Result Code:
NS_ERROR_FAILURE (0x80004005)
Component:
Machine
Interface:
[Code].....
as root. Users of Ubuntu, Fedora or Mandriva should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary."
View 9 Replies
View Related
Apr 8, 2010
I'am using gentoo linux. After some system's updates VirtualBox stoped loading any virtual machine with error:
Code: Failed to open a session for the virtual machine. Virtual machine has terminated unexpectedly during startup.
Details:
Result Code: NS_ERROR_FAILURE (0x80004005)
Component: Machine
Interface: IMachine {99404f50-dd10-40d3-889b-dd2f79f1e95e} Kernel log
Code:
So, i've rebuilded all VirtualBox dependencies with safe flags, then i've recompiled most of the sys-* packages also with safe flags. However VirtualBox still doesn't work.
UPD: virtualbox-bin-3.1.4
UPD2: 3.1.6 and ose-versions crashes with same errors
View 2 Replies
View Related
Jun 6, 2011
When i try to create a virtual machine using the Windows 7 Enterprise Evaluation iso file, everything goes as planned untill i click on the start button. when i click on it i get two error messages. the first: Failed to open a session for the virtual machine Windows 7. The virtual machine 'Windows 7' has terminated unexpectedly during startup with exit code 1. Kernel driver not installed (rc=-1908). The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. reinstall the kernel module by executing
'/etc/init.d/vboxdrv setup'
as root. Users of Ubuntu, Fedora or Mandriva should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary. i have installed the DKMS package, but when i try to run the command stated in the error message, i get another error message in the terminal:
[code]...
i have to install the driver that is specified (vboxdrv) but i do not know where to find it.
View 3 Replies
View Related
Jun 30, 2010
I am currently in a project to set up an LTSP server with 10 thin clients. I am using Ubuntu 9.10 (Karmic).
Installing server and booting clients are working fine. Now, according to the need, I have to restrict user session numbers and allow resuming previous user session.
I have achieved to do the first one, but still could not able to setup the second one. As per requirement, if some thin can have power failure, the same session should be restored back. I am confused here, if I need to focus on saving xsessions or saving gnome sessions. I am looking for a concrete solution as I am running out of time.
View 1 Replies
View Related
Dec 7, 2010
A friend of mine can't remember her password for the computer.When the computer starts it automatically loads her user profile, i can't create any new users, and i cant become root with sudo, i looked around on the forums and some stuff was very helpful in teaching me more about linux, but without being able to change, or remove the password i cant update. the laptop is a dell 910 mini.
At the terminal, instead of being: User@localhost, it's : name@name
View 8 Replies
View Related
Aug 5, 2010
I would love to auto-start tomboy at startup. How can I do this ? [Moderator edit: fixed Subject so nobody would expect an automatic Lunch. Is that the same as a free one? ]
View 2 Replies
View Related
May 5, 2011
I just upgraded to Natty (11.04) and I want to get my Ubuntu to remember what last windows I had open after I logout and then login.
Due to reasons beyond my comprehension, hibernate and sleep do not work, and I prefer to use shutdown anyway.
I am using Unity and have not changed much of the default environment. I found plenty of guides for 8.04, but the Unity change has moved a lot of things around.
Is this possible, and if so, how do I do it in 11.04?
View 3 Replies
View Related
Apr 11, 2010
The following message comes up when I boot up: Logging in user Warning: Cannot open ConsoleKit session: Unable to open session: Launch helper exited with unknown return code 0. When I press OK, the system completes the start up and everything looks normal. But when I try to connect to internet, I get the following message:
KNetworkManager cannot start because the installation is misconfigured. System DBUS policy does not allow it to provide user settings; contact your system administrator or distribution. KNetworkManager will not start automatically in future. If I reboot the system, I logg in successfully. So far the problem has appeared approximately upon every second time I boot up. Rebooting the system seems to take care of it.
Don't know what info is of interest. I'm using
Opensuse 11.2
KDE 4.4.2 (Factory)
After upgrade from 4.4.1 to 4.4.2 it worked fine for a week or so.
View 9 Replies
View Related
May 13, 2010
I do a clean install of slackware64 13.1 beta1 with KDE and switch default runlevel to 4 in /etc/inittab.
I try to login in kdm, I always come back to the login....
I try this with default runlevel 3 and an .xinitrc with "ck-launch-session startkde" .. works without problems, so I switch back to default runlevel 4, now i can login and only get the error "Cannot open ConsoleKit session: Unable to open session..."
Here are some logs
syslog
Code:
Code:
View 2 Replies
View Related
Nov 12, 2010
I would like to know which command should I enter in the execute dialog (opened with Alt+F2) so the dialog to close session and change the user opens.
View 5 Replies
View Related
Aug 21, 2011
I installed webmin, and I tried to access it with my account (not root, but able to sudo) and I always got login failed.Now I have Access Denied even to my login page for too many tries. What should I do?
View 1 Replies
View Related
Feb 1, 2011
I used to use kubuntu last years, but I decide to give Ubuntu a try instead.A thing that was working on kubuntu's KDE by default, is that when you close your session, the system remembers what applications was you using, so in the next boot up they will be open exactly as it was.I would like to have this feature also on my Ubuntu 10.04, but I've been not lucky searching for the option to enable it.
View 1 Replies
View Related
May 11, 2011
This is a simple question which hopefully has a simple answer. How do I set up a directory on my user account which is visible and accessible to other users on the *same machine*? For example I have certain files on my account which, if I want another user to be able to access I'd have to (a) copy them to my thumb drive (b) log out, (c) log in to the other account, (d) copy the files from the usb thumb drive
View 13 Replies
View Related
Jun 15, 2011
MACHINE: HP Proliant DL260G5OS: SLES 11 SP1kernel: Linux xserver 2.6.32.12-0.7-default #1 SMP 2010-05-20 11:14:20 +0200 x86_64 x86_64 x86_64 GNU/LinuxIt is used as remote xserver in a LAN.I have configured /usr/lib/restricted/bin/.rbashrc with some environment variables but when the users logon in the system finally is executed $HOME/.bashrc and some environment vars are overwritten.
View 2 Replies
View Related
Apr 15, 2011
Is it possible to copy files from directory of one user to directory of another user in linux?
View 7 Replies
View Related
Jan 18, 2011
I am wondering if I can open a shell or new terminal thing from within the terminal in a unix/linux enviroment. Particularly a commandline only one where there is no GUI. Is this doable? how do I do it?
View 3 Replies
View Related
Sep 6, 2010
Possible Duplicate:Forward SSH traffic through a middle machine.I am looking to get an interactive ssh session on a remote machine, but must login via a gateway.For example, right now I do the following:
@local % ssh <user>@<gateway>
@gateway % ssh <user>@<remote>
Is it possible to achieve the same thing in a single command from my local machine? I have tried:
@local % ssh <user>@<gateway> 'ssh <user>@<remote>`
From the output i am indeed able to login, but do not get an interactive session. I took inspiration for this attempt from using ssh to run a command remotely.
View 1 Replies
View Related
Feb 25, 2010
I've looked everywhere but I can't find where to change the default box for incoming mail, or am I on the wrong track. It's a nuisance having to change folders and I can't configure wastebin to empty on exit.And I can't get kmail to import from evolution. Do I have to go to the evolution storage and do it manually, and if so, how do I do that?
View 1 Replies
View Related
Dec 11, 2009
I am using the sudo command to log on locally as another user by the following command:
sudo -u theotheruser -s
or
sudo -u theotheruser sh
As I see it, this initiates a new shell with the mentioned other user.However, this doesn't load that users profile from his home directory.Is there a way to automatically read the users profile when login in with selected command? I am mostely interested in getting a working prompt when logged in.
View 11 Replies
View Related
Aug 8, 2011
In the past, when I open a gvim session on a remote machine, the title bar of gvim would show the machine name in brackets. I am not sure if this was done by the remote gvim itself, or the local window manager. In the past I have used gnome2, although I am currently using unity (and finding it rather frustrating). Is there some setting I can change to always force remote windows to display the source machine?
View 1 Replies
View Related
Sep 20, 2010
While thinstation is booting from localdrive then the shows repeatedly error displays after line welcome to thinstation cat: /tmp/ts/session not such file or directory even that i have kept file in loclal derive thinstation.profile/thinstation.conf.user
View 1 Replies
View Related
Mar 16, 2010
I recently installed Suse Linux enterprise Desktop 11 on my box. I created an user and logged in first time into a GNOME session without any problems. Last time I logged in I selected the session as TWM and that got me into the T windows manager just fine. Now when I log out and try to log back into a GNOME session, it will still log me into the TVM sessionI have tried restarting the boxHowever, when I remote log in to the machine it will let me get on the GNOME session just fine. I'm guessing this is probably a really simple fix, however I am a Linux newbie and doing a google search isn't yielding me what I'm looking for.
View 1 Replies
View Related
Jul 28, 2010
Outside of using something like screen, is it possible to 'assume' an active user session under Linux/UNIX?For example, I ssh to my server from home. Then I ssh to it form work. I want to kill the home-spawned session, and "take-over" all of the processes that it had running.
View 2 Replies
View Related
Mar 8, 2010
I'm developing an application in which one user must run java software that I'm compiling as another user. I wanted to give user A permission to see the bin direcory of my workspace, which is in the home directory of user B. I was wondering how can this be done? I gave the bin direcotry full read/execute premissions, but since it's in my home directory user A can't navigate to it.
I know there are a few ways I could get around the problem but they arn't very elegant. I was wondering if there is a simple method for giving a user access to a specific directory without giving access to all the parent directories. I tried symbolic link but user A still can't access it, and a hard link to a directory isn't allowed in Linux. I don't feel like making a hard link to every single file in the bin directory, and I'm not sure that would work anyways, since every recompile overwrites them.
View 7 Replies
View Related
Mar 15, 2010
On my ubuntu 9.10 pc i am not running a GUI.
Every thing is run from command line.
How do i start a second telnet session from command line.
Plus can i have 4 telnet session open and move from one to the next and back again.
View 5 Replies
View Related
Jul 13, 2011
Is possible (by root of course) to run a command from console, that will be executed on X-session owned by another user on the same linux box/machine ? Example: Can root open xclock for another local user logged into X11 ?
View 2 Replies
View Related
Jul 28, 2011
i'm new to linux and just installed Ubuntu and decided to play around with it. i just executed
Code: useradd test which supposedly creates a folder in the home directory '/home/test' but when i look in there i can't see it i also did a
Code: grep test /etc/passwd which returns: 'test:x:1001:1001::/home/test:/bin/sh' which i believe means it is meant to exist.
Addendum: I have also now noticed that when i log in and log back in i have the option to login as 'test' but it prompts me for a password which i did not set :s
View 5 Replies
View Related
Sep 24, 2009
I just tried FreeNX. I work great. I am thinking about uninstalling the vino/vnc on my machine.
However, I'd like to know if FreeNX can access the session that open locally on the server. I tried session 0 and 1, none of them can access the local session.
For default vnc, the connection will let you access the local session on the server. Can FreeNX do that?
View 2 Replies
View Related