0
votes
0answers
28 views

Lost graphical login after automating script command

I'm running Ubuntu 12.04 LTS and I want to log all input/output from users. So I've simply tried adding script -a -f /LOG_files/Log_file.txt to users ~.profile. The logging works just fine, but ...
1
vote
2answers
38 views

Shell scripting, [duplicate]

I made a simple update script. Now My question was is it possible to run it automatically by loggin in on the Ubuntu Desktop and automatically provide my password (sudo) for this so I don't have to do ...
0
votes
2answers
37 views

Cannot login through the command line

I have only been using Ubuntu for about three weeks so do not be surprised if you lose me trying to explain something, I will try my best to be as detailed when needed though. Anyways, Unity right ...
0
votes
2answers
37 views

Terminal command 'login' fails with error message

Coming from Mac OS X, there is a possibility for every ordinary user to open Terminal and type in 'login' to change to a different user account. When I do this with Ubuntu, it provides the following ...
1
vote
0answers
60 views

Cannot login on my ubuntu 14.04

I left my laptop on for a night while I was downloading some songs but when I woke up it was shutdown and when I tried to restart it I came to the login window normally. Now when I try to login as a ...
1
vote
0answers
53 views

Reaching a login limit over SSH - How can I open more than 11 sessions?

I have a SSH connection to my Ubuntu VPS. I use it to create a proxy tunnel and it works well. I use Nethogs and "w" command to monitor the traffic. Nothing bad happens until I reach @pts/11. When ...
1
vote
0answers
59 views

PAM authentication using ssh key instead of password

When I try to use chsh to change my default shell, I get prompted for my user password. The problem is I log in using my SSH key and do not have a user password - by design. Yes, I can set a ...
1
vote
0answers
22 views

root login password when I never set it? [duplicate]

Sorry for too many duplicate questions about this. But I don't think any of the answers to these kind of question has the solution for me. As some users might have asked, how to set root login ...
0
votes
0answers
50 views

Ubuntu 12.04 starting on terminal

Well, today i started my ubuntu 12.04 laptop but it doesn't load!!!! It ends up in a black screen(terminal) with my user name asking for my user and password i press startx and it says the program ...
2
votes
0answers
38 views

who / w / logname broken in multiple terminals

I have a strange problem: In a GUI session, depending on the terminal being used the following two (related) problems appear: who and w doesn't list the user's active session logname returns ...
1
vote
1answer
69 views

How can I make a terminal with 3 tabs appear after startup?

Xubuntu 13.10 I would like to have xfce4-terminal appear automatically after logging in. I would like to have this instance of the terminal have 3 tabs, the first one being title htop, the second ...
1
vote
0answers
100 views

Missing Unity Desktop /w SLiM Login Manager

Not too long ago I installed SLiM (Simple Login Manager) as my Login Manager for Ubuntu 13.04 just to give it a try out to replace the default Ubuntu Login Manager. After getting SLiM successfully ...
1
vote
1answer
94 views

How can i automatically execute a script after automatic boot?

I've recently opened a VPS running Ubuntu server 13.10 x86 (with no graphical desktop) in order to run a game server. Since it's a VPS there's a risk that the node may crash when I'm not watching. ...
2
votes
1answer
164 views

Remove startup password when default login is command line

When I boot up my computer, it goes straight to the command line. I modified /etc/default/grub file from GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" to quiet splash text. Can someone please explain ...
0
votes
0answers
23 views

Out of Resolution Logon

Running Ubunto 12 and when the screen reaches the logon window I get a "Screen out of Resolution Range" error on my monitor. I am unable to login this way. When I boot to recovery mode and move into ...
2
votes
0answers
140 views

How do I reinstate my admin user privileges to global read/write

I am running Ubuntu 12.04 LTS. I only have the one user which I created when I installed Ubuntu. Everything has been fine - love it - until I updated a software package recently from the command line ...
1
vote
0answers
214 views

Unable to login after using kill -9 -1 [closed]

I was using my Ubuntu when suddenly, probably due to a lot of processes running, it stopped working. So I did Ctrl+Alt+F1, and then searched for a command to kill the process which was causing all the ...
0
votes
2answers
80 views

Open Ubuntu DIrectory In WIndows?

My Ubuntu has a problem with /etc/rc.local , because of it , my Ubuntu won't boot to desktop . So I want to remove some entries in rc.local on Windows , how can I do it ? Thanks . (I think I can't ...
0
votes
1answer
923 views

Run a Python Script on Login with Sudo

I am setting up a machine that's sole purpose is to run a specific python application that uses a curses ui. That being said, there are some aspects of the application that require it to be run as su. ...
1
vote
1answer
138 views

how to properly display utmp,wtmp,btmp?

How can I display the /var/run/utmp ,/var/log/wtmp ,/var/log/btmp by using cat. while I am trying to display them , I am getting some other characters too.here's the output. jai@frank-Jai:~$ cat ...
0
votes
2answers
326 views

terminal window appears after login?

04.4LTS VERSION My system works fine but yesterday I just reinstalled Wine and in the process of installing it started responding slowly as I am unaware of that situation,started pressing ESC and ...
5
votes
2answers
2k views

How to see the details which Ubuntu shows at the time of login anytime?

When I login to my ubuntu system, it show me this this message, How can I see it any time? I tried to run . .bashrc but it didn't worked. Welcome to Ubuntu 12.10 LTS (GNU/Linux 3.2.0-24-virtual ...
2
votes
1answer
99 views

How do I log out specific sessions?

I have read this these generic instructions to log users out, but I want more detail. When I run the command users I see multiple instances of the same user. IE: Joe Joe Joe Joe Joe How do I know ...
0
votes
1answer
283 views

Startup Applications with zsh and xmonad

I'm running Ubuntu 12.04. I use zsh as my shell and xmonad as my window manager. I don't use gnome or any other desktop environment. I'd like to declare some 'startup commands.' By this I mean, after ...
18
votes
3answers
3k views

“♦: command not found” in tty after login

I have this problem after upgrade Lubuntu from 12.10 to 13.04. I press Ctrl + Alt + 1, enter login, password, wait two seconds and get: ♦: command not found". After this message I can type commands ...
1
vote
2answers
210 views

Where is the /etc/login.conf file in Ubuntu 12.10 and latest?

Where is the file for the general login for to configure it? /etc/login.conf seems to be outdated in 12.10 ? I want to adjust maximum number of login attempts. e.g. in sudo from 3 to 1. same for ...
1
vote
2answers
5k views

How can I join an ubuntu 12.10 client to join a windows domain (server 2008)

In My office am using windows server 2008 recently am install ubuntu 12.10 in my offz its really awesome but Little bit am struggling about few configurations and settings... now also am struggling ...
4
votes
1answer
2k views

No effective root

I wanted to login as a user, but when I typed in login usr (usr is just a placeholder for the user name) the system returned: login: Cannot possibly work without effective root. How can I fix ...
0
votes
1answer
116 views

Dead keyboard when entering password [duplicate]

I lost all icon from my desktop. When I use the terminal I am able to enter the commands but the keyboard goes dead when ask for my password. The only key that works is the enter key and after 3 ...
3
votes
1answer
907 views

How to run a command at login?

I need to run the following command (with real parameters) after login: ssh -f user@example.com -L 54321:example.com:54321 -N I need it only for my user, not all users on the machine. Also, I need ...
1
vote
0answers
141 views

How to set up a chjail enviroment

I've been searching throughout the web for instructions on creating a chjail"ed" user or terminal instance, but so far I could find none that would suit my preferences. All I need is a terminal ...
7
votes
1answer
98 views

How does the shell environment load when logging in graphically?

I've found that when logging in graphically the shell loading process works differently than logging in through the console. Environment variables such as $BASH_VERSION and $ZSH_VERSION are not set ...
10
votes
1answer
7k views

Why is /etc/profile not invoked for non-login shells?

Login and non-login shell defined as: su - $USER # will give you a login shell bash # will give you a non-login shell /etc/profile is not invoked for non-login shells, such as when you start ...
3
votes
1answer
587 views

How do I use a text-only interface to log in? [duplicate]

Possible Duplicate: How do I boot to a command line interface instead of a GUI? I am running Ubuntu 12.10. When my computer boots, I want to log into my computer only using the CLI, not the ...
2
votes
1answer
340 views

CLI mod(root) dont accept login credentials on ubuntu 12.10

to install nvidia 304.64 driver on ubuntu 12.10 i need to login as root but it doeant accept my username and password and says incorrect login i also has created a root password but still have the ...
3
votes
1answer
5k views

Can I log in with other user's account?

I would like to ask you about login command in bash shell Ubuntu. I entered #login then it asks me about username and password. Is this a way to log in with other user's account?
3
votes
2answers
11k views

Login as non-root user in terminal

This is a question that I would expect to quickly get an answer from google. However somehow google is failing me. Let's assume I'm logged in to a terminal session and I would like temporarily work as ...
1
vote
0answers
92 views

Problem loging first time to home screen

I installed ubuntu 12.04 for the first time, after installing it restarted and then there starts the terminal based login page; but after entering the username and password and loging in it still ...
9
votes
4answers
879 views

How to find out who is using the physical console?

I would like to use a script to find out the username - of the user who is currently on the physical console (who has command of the keyboard, mouse and graphical display)? I do not just want to ...
1
vote
0answers
76 views

ipheth notification at login prompt

On my command line only Ubuntu machine, the login prompt occasionally shows a warning: Ubuntu 12.04 LTS myserver tty1 myserver login: [833747.589882] ipheth: ipheth_rcvbulk_callback: urb status: -71 ...
2
votes
1answer
185 views

Can only log-in through shell/terminal after doing dist-upgrade on ubuntu 12.04, can only connect to internet using phone modem through bluetooth PAN

I have 2 desktop environments installed, i'm using the x-swat version of nvidia drivers which also got upgraded after doing "sudo apt-get dist-upgrade". Now i can only log-in using the terminal. tried ...
30
votes
1answer
14k views

What are login and non-login shells?

It is said that settings for non login shell to go into .bashrc file and login shell settings to go into .profile file. What is really meant by login and non-login shells? Please explain without ...
2
votes
1answer
422 views

Where is the script executed when logging into a shell?

When you login to either a tty or a remote machine by ssh there's normally a banner which looks like this: Welcome to Ubuntu 12.04 LTS (GNU/Linux 3.2.0-25-generic x86_64) * Documentation: ...
10
votes
3answers
41k views

How do I boot into the console and then launch the Ubuntu desktop from it?

At the Ubuntu login page I have to hit Ctrl+Alt+F1 to be able to login as an user using the command line. But how do I get to the command line first and then start the Ubuntu desktop from it?
6
votes
7answers
3k views

Find out if there is a local user logged in when logging in over ssh

I need to run some calculations on a machine that I can only access remotely but also serves as a work station. There are many of them and I want to pick a "free" one. Free means in this case that no ...
2
votes
1answer
7k views

Disable automatic unity launching?

Okay my main question here, is how do I disable the auto-matic unity launch at boot, or "boot into Ctrl-Alt-F1-6 screen" I find myself booting into that fairly quickly and then a few seconds later it ...
2
votes
0answers
3k views

Ubuntu 11.10 won't let me login; it kicks me back to login screen [duplicate]

I was just copying files from my external HDD to my .wine directory, when I noticed the place where the launchers are (Unity desktop) was getting fuzzy and holding onto graphics from the things in the ...
3
votes
2answers
2k views

Running a script after the gui has loaded

I know how to run a program on boot, on login (System > Preferences > Startup Applications) or on opening a shell (.bashrc). I also did read "execute script after desktop loaded?". What I realized ...
2
votes
3answers
1k views

Can I run a login script irrespective of the shell?

Is there a way to run a script on login irrespective of the shell? I would like to have something on the lines of the ssh login to an Ubuntu server - which displays the free RAM etc. I understand ...
3
votes
1answer
962 views

Disable differences in login handling (non-interactive, interactive etc.)

I'm always having trouble with RVM installs and non-interactive vs. interactive shell sessions. If the session isn't interactive I'm usually getting the command not found error on different ...