General :: Command To Log Off User Who Froze Screen
May 6, 2011
I was looking for a command to log off the user who froze the screen. I logged in as a new user but I got some errors now all I see is the color screen, how can I log the new user off (the GUI)? I did the above command but nothing came in return?
View 8 Replies
ADVERTISEMENT
Mar 22, 2011
I have two users; user1 and user2. I have a bash script run by user1, that needs to run a command on a screen terminal started by user2.
View 1 Replies
View Related
Jul 21, 2010
I received the Ubuntu CD by mail the other day and tried to install a dual boot with it. I first tried it out by running from the CD and the first problem I had was the screen froze after the splash screen. So I lurked around for a bit and found out that I can press any key on the screen with the keyboard and person to get to a different screen. At this screen I entered "F6" and then entered "nomodeset", this allowed me to pass the splash screen.
Next, I got into Unbuntu but I found out that the keyboard and mouse weren't working, so I lurked again and found out that I have to enter "noacpi" (sorry if I got that wrong, I forgot the name ). I ran by CD once more and everything worked, so I decided to finally install it next to my Vista. However, after installing it goes straight to the splash screen, and the freezing happens again. The screen where the keyboard and the person are not showing up so I have no idea how add the "nomodeset" and "noacpi". So my question is, how do I get to the screen where I can add both those things? Also, is there a way to add it permanently so I don't have to keep pressing F6?
View 2 Replies
View Related
Jan 30, 2011
I was logged in, but had not used the computer for about 48 hours. When I 'woke' the system, I could see that Thunderbird and Firefox were active, just as I had left them. I moved the mouse, the screen went black and the mouse pointer was visible (and could move). The system stayed like this for about 2 minutes, then wend down completely. I cut power, booted and got the login screen. Each time I put in my password, it looks as if it is loading but then just goes right back to the login screen. I have no problem logging in as root.
View 9 Replies
View Related
May 25, 2010
i can click on place and system and anything else but when i try to open application by just clicking on it i get froze for a minute and i can not open it i got ubuntu 10.4
View 1 Replies
View Related
Mar 5, 2011
I have a netbook, on which I installed the netbook remix. It had ran fine until one day, I shut it down while it was updating. Now, on bootup, it will take me to the login screen and then basically freezes. The keyboard and mouse do not work and I cannot login to any profile. I tried a clean reinstall, but it only finds the preferences I have and sends me right back to the login screen.
View 1 Replies
View Related
Jan 14, 2010
Last week I upgraded my Ubuntu 8.04 to a 8.10. While my ever so loyal machine was performing this business, I started my diner, once in a while having a quick look at how things were going. And they were going fine. The last thing I noticed on the screen was that upgrading was at about 3 minutes from finishing, and when I got back to my PC I was confronted with a black screen. Later on I found out that the reason for the crash was a malfunctioning USB-hub in which my mouse was located.
Anyway, I couldn't get my Ubuntu running, the only thing I got to do was reach the log-in screen, enter my username and password, after which the screen froze. Typing CTRL+ALT+F1 gave me a terminal window, but I had no clue what to go looking for or where/how I could find it.
In the mean time I re-partitioned the HD (75GB), placed the old Ubuntu on a 30GB partition and gave the other 45GB to a new partition on which I re-installed my Ubuntu 8.04. Working from that partition I was able to find out that the old version had indeed upgraded to 8.10 but was missing the <gnome-power-manager> file.
My question now: If I can in any way restore that missing file or point me out some kind of tutorial where I can learn how to do it?
Untill now I have been looking through about a few hundred tutorials, but most of them are written by people who know the terminal inside-out, and frankly are not really easily understandable for newbies.
The fact is: in that old version I have many maps and files which I would like to save (yes, you are completely right: I should have saved them in the first place!) but some of them are for some reason write-protected and I do not know how to get root-priviliges to un-lock them.
View 1 Replies
View Related
Apr 4, 2011
i want in the website they ask to enter some input.Code:echo -e "<p>Please Enter Year : c</p> "read Yearif i use this command it will ask the user to enter year in command. but what i want is they ask the user to enter year in web browser.
View 14 Replies
View Related
Aug 12, 2011
I am working on the newest version of Ubuntu Linux on VirtualBox under a 64-bit Windows 7 host. When I was working, VirtualBox froze, and I hadn't saved my work in Ubuntu. What should I do?
(This happened after I installed the extension pack for USB 2.0 and I went ahead and tried to access a USB port. I suspect that this led to my current situation.)
View 1 Replies
View Related
May 26, 2011
Any time i try to open skype it closes out fully in 5 seconds (not even in the processes anymore). I don't know why or how OR how to make it stop being so mean to me! i'm running ubuntu 10.4 32bit . I tried to boot it in safe mode and umm.. it froze? or crashed? well it was on the black screen with the blinking dot for like 20 mins before i gave up on it (Hiting enter or esc or anything didn't work). There was a key symbol on my panel before skype acted up(It closed and disabled something.. i've never seen it before). Adobe also crashed, and linux did a small update (nothing with skype).
View 14 Replies
View Related
Jan 8, 2010
So, i've a little question. I have a Linux Red Hat 5.1 System wich has a programm that needs to be started as a user -> usera .When i reboot the server, how can i make it possible to run a command in the shell as usera user?Someone told me, that this is not possible to make an autostart entry because this works only with the root account?!What i want its simple.- Command -> startprg need's to be started as user usera automatically after an automated reboot of the red hat linux
View 4 Replies
View Related
Feb 10, 2010
I am trying to learn shell scripting from a book and all I am doing is following few instruction from the book. Now this is what I am doing. I am trying to add a user using the useradd command so I run the following at command prompt root@S8500C_9>useradd ajit. The first time when I add this user I was successful.Later I deleted this suer using the userdel -r ajit command.Now when again I am trying to add this user it gives me following error. useradd: group ajit exists - if you want to add this user to that group, use -g. Now when I try using the -g option with the useradd command it gives we all the set off options avaiable to use along with the useradd command but doesnt create the ajit use
View 5 Replies
View Related
Aug 4, 2010
I need to run one command as different user with out a password prompt.
I did this
Code:
one localhost= (two) /usr/bin/whoami
This work but it prompts for password. Is there a way that can be done with NOPASSWD option ?
View 1 Replies
View Related
Aug 19, 2010
I know the 'history' command give me a list of the commands I have typed into the Unix terminal.
How do I see the command history for all of the users currently logged onto the system?
View 1 Replies
View Related
Feb 9, 2011
i want to automate sudo su - user command from a script...it will then ask for a password...how do i automate this?
View 3 Replies
View Related
Jul 11, 2011
Can anybody show me how to view command history of another user? I am an admin on my machine. I can see normal history by viewing /home/user_name/.bash_history but i can't see commands of that "user_name" when they were doing sudo. Is there a way to view all command executed by one user?
View 3 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
Jan 16, 2010
I'm trying to create a user john with default password 'abcdef'. I used the following command.
useradd john -p abcdef
I can't login with the password. in /etc/shadow file I can see the password in clear text format. how I can create a user along with password.
View 3 Replies
View Related
Jul 20, 2010
I am trying to change the password of a user by 'usermod' command. let us assume that there is a user named "test" to change the password of the user we can type "passwd test" which will change the password of the user "test". I want to change the password similarly using the command "usermod". when I give usermod -p yahoo test"(yahoo is the password which I want to set), I am not getting any errors but when I switch user to test, I am unable to login.
View 1 Replies
View Related
Oct 12, 2009
I have found so many ways for root user to execute commands in so many possible path locations - but having difficulties on executing commands as normal user - during start up.This is what i've got for /etc/rc.d/rc.local script:Code:su -l user && (/bin/sh svc_cmd.sh &)But the command doesn't run at all...
View 2 Replies
View Related
Jul 21, 2010
I'm trying to write a small script that will run as root, but launch a command with sudo as another user. I want that user to be whichever user is active user. That is, the user that is using GDM right now, or the one that is logged into the current console. (by current console, I don't mean the user running the script, but rather the user logged into the console currently displayed on the screen.)How can this be done?
Code:
ACTIVE_USER=`somecommand`
test `id -u pulse` -ge 1000 && sudo -u $ACTIVE_USER $*
What can I use for "somecommand"?
View 5 Replies
View Related
Apr 7, 2011
Why would rsync insert a user's home directory path in variable expansion when run via cron, but not when run manually. The gory details... Red Hat Enterprise Linux AS release 4 (Nahant Update 6) Linux 2.6.9-67.0.20.ELsmp The script (parts anyway, and simplified)...
Quote:
#!/bin/bash
. /home/bea/.bash_profile
echo rsyncloc=${rsyncloc} >> ${log}
[code]....
View 4 Replies
View Related
Jul 26, 2011
I recently used the newusers command to generate several user accounts from a text file. That process seemed to go well until I tried to su into one of the new accounts.
This behavior appears for all the accounts that were created from the text file and the newusers command. It seems that several configuration files that should have been autogenerated for these new users were never created. I was able to confirm this was the problem by copying .bashrc and .bash_profile from a user that was created with the "useradd" command into the /home/newaccount directory. After logging off and logging into the newaccount again, the issue is corrected.For the record, I just read this forum post and I'm looking for an alternative to this. If this is the most efficient way to accomplish my goal, then I'll try the route mentioned in the thread. I'm still open to alternatives.
View 1 Replies
View Related
Oct 16, 2010
I have read many articles by eminent Linux users who laugh off, when they are asked "is a command line knowledge necessary"?. They go on to say that Linux Distros have evolved so much that the GUI is sufficient! I use my Win.desktop for 1)checking the news, 2)checking my e-mail, 3)writing a blog, 4)Listening to music, and 5)since i am a consultant physician, with specialization in diabetology,keeping up with the trends by visiting a few professional websites! So, my needs are few!Which Distribution would you suggest to a completely Linux-ignorant person,and that's me!
View 14 Replies
View Related
Jun 27, 2010
When I log on a root and attempt to issue the command Freshclam to upgrade the virus definitions it attempts or create a new file with a definition name. I get a message stating that the directory isnt writable. The user and group access rights are as follows:
USER = read, write, execute
Group = read, write, execute
All= read, execute.
The only way I can get around this is by applying a 777 which would be read, write and execute for all. Now, I have a group define with several user ids in it including Root.How do I connect the group with the directory/file so I dont have to apply a 777 access right to group users could issue the Freshclam command.
View 1 Replies
View Related
May 13, 2010
In our cluster of RedHat4 & 5 machines, if someone locks the computer and walks away no body can use it. Is there a feature in RedHat5, Gnome, KDE etc that would allow for the option of switching users at the lock screen, so more than one person can be logged in
View 11 Replies
View Related
Mar 20, 2010
I use xterm with a particular font size and type. But every time I start xterm I have to give them in arguments
Code:
xterm -fa terminus -fs 12
Is there some configuration file where I can out the above parameters and xterm will pick them itself. But I don't want these properties to be set globally. Every user should be able to set it for himself. I have searched all the hidden folders and rc files in my home folder, but didn't find anyone related to xterm. What should I do? Similarly every time I start screen, I have to issue
Quote:
:caption always
:caption string %w
Can I make it automatic by editing some configuration file? Is there any way through which every xterm I start will have a screen session already open in it?
View 2 Replies
View Related
Nov 3, 2009
I work with a Debian Squeeze on my laptop and I have a 160GB external hard disk. My hard disk was formatted FAT32, but I decided to format it using ext2. I formatted it using fdisk from command line and everything went well. Unfortunately, when I mount my hard drive(which is auto-mounted from Debian) it has got root both as owner and group. Then I can't write to it because I have no permission to do that. Is there a setting to create an ext2 partition which has as owner the logged system user in order to have right permission every time.
View 7 Replies
View Related
Aug 10, 2011
Is there a non-root shell command that can tell me if a user's account is disabled or not? note that there is a fine distinction between LOCKING and DISABLED:
LOCKING is where you prepend ! or * or !! to the password field of the /etc/passwd file. On Linux systems that shadow the passwords, this marker flag may be placed in /etc/shadow instead of /etc/passwd. Password locking can be done (at a shell prompt) via password -l username (as root) to lock the account of username, and the use of the option -u will unlock it.
DISABLING an account is done by setting the expiration time of the user account to some point in the past. This can be done with chage -E 0 username, which sets the expiration date to 0 days after the Unix epoch. Setting it to -1 will disable the use of the expiration date.
The effect of locking to to prevent the login process from using a supplied password to hash correctly against the saved hash (by virtue of the fact that the pre-pended marker character(s) are not valid output character(s) for the hash, thus no possible input can ever be used to generate a hash that would match it). The effect of disabling is to prevent any process from using an account because the expiration date of the account has already passed.For my situation, the use of locking is not sufficient because a user might still be able to login, e.g. using ssh authentication tokens, and processes under that user can still spawn other processes. Thus, we have accounts that are enabled or disabled, not just locked. We already know how to disable and enable the account - it requires root access and the use of chage, as shown above.To repeat my question: is there a shell command which can be run without root privileges which can output the status of this account expiration info for a given user? this is intended for use on a Red Hat Enterprise 5.4 system.The output is being returned to a java process which can then parse the output as needed, or make use of the return code.
View 2 Replies
View Related
Dec 25, 2010
when loggin as a normal user and search for a file passwd under /etc. i get few errors with permission denied.how to ignore this permission denied errors.
csh hostname 109 % find . -name passwd
find: ./lvm/backup: Permission denied
find: ./lvm/archive: Permission denied
[code]....
View 4 Replies
View Related