Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.
Buying anything on Amazon? Please use the Geekzone Amazon aff link.




353 posts

Ultimate Geek
+1 received by user: 8


Topic # 115508 28-Mar-2013 07:47 Send private message

Hi there,

I have installed and set-up Ubuntu 12.10 64-bit edition.

Question One:

I did not enable automatic log in when I set up my account but wish to enable this feature now.

Having gone a Google search, it seems that enabling the option after creating the account is a complex matter and that an option (when unlocking a user account) that should appear does not (I believe at this stage it is a bug). [http://askubuntu.com/questions/210823/how-do-iset-automatic-login-in-ubuntu-12-10]

I referred to this webpage: http://www.liberiangeek.net/2012/10/enable-auto-login-in-ubuntu-12-10-quantal-quetzal/ and followed the instructions. Upon rebooting however no automatic log in occurs. How does one go about achieving the goal? I'm wishing to keep a password, which brings me to my next question.

Question Two:
How would I make Ubuntu immediately lock the screen (otherwise done by pressing Ctrl, Alt and L) when my log in occurs? I assume some type of script would need to be written, and started as a service immediately upon log in.

The machine that has Ubuntu installed is controlled by me via my Windows 8 laptop using TightVNC - something that I have successfully set-up on both machines and works without issue. It is only in the instances where the Ubuntu desktop may restart, that I cannot control it via TightVNC if a user is not already signed in. Otherwise, it is a case of disconnecting the monitor to our other desktop (running Windows 8), and connecting it to the Ubuntu machine.

Many thanks for any assistance anyone is able to provide to either question.

Regards,
Stevie

Create new topic
384 posts

Ultimate Geek
+1 received by user: 2


  Reply # 788787 28-Mar-2013 16:44 Send private message

Those instructions for auto login are correct so I'm not really sure where it went wrong for you.
I'm not sure of the name of the package that locks the screen in Ubuntu, but I use Xtrlock, its super light weight and you can still see your desktop running, you just can't click on anything because its locked.

To make the desktop lock screen after an auto login you could try something like:

Open a terminal

sudo apt-get install xtrlock

mkdir scripts
cd scripts
nano lock

copy the following into the terminal:

#!/bin/bash
sleep 5
xtrlock

then Ctrl+o and Ctrl +x to save.

You then need to make it executable:

chmod +x lock

Click on the HUD and look for Startup and add the 'lock' file to your start up.

You can adjust the 'sleep' time to whatever suits your set up, 5 should work fine.




Support a locally made Linux based Operating System, try Linux Lite.
Download Linux Lite



353 posts

Ultimate Geek
+1 received by user: 8


  Reply # 806576 28-Apr-2013 07:44 Send private message

valtam: Those instructions for auto login are correct so I'm not really sure where it went wrong for you.


Hmm, strange. Still won't work, even after the upgrade of Ubuntu. I wonder if there are any other ways?
(As far as I'm aware, the disappearance of enabling auto-login was considered a bug in version 12.10.)

valtam: I'm not sure of the name of the package that locks the screen in Ubuntu, but I use Xtrlock, its super light weight and you can still see your desktop running, you just can't click on anything because its locked.

To make the desktop lock screen after an auto login you could try something like:

Open a terminal

sudo apt-get install xtrlock

mkdir scripts
cd scripts
nano lock

copy the following into the terminal:

#!/bin/bash
sleep 5
xtrlock

then Ctrl+o and Ctrl +x to save.

You then need to make it executable:

chmod +x lock

Click on the HUD and look for Startup and add the 'lock' file to your start up.

You can adjust the 'sleep' time to whatever suits your set up, 5 should work fine.


Created the above 'script', and made it executable. However, even upon manual log in it won't then lock.

Create new topic




Twitter »
Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





Trending now »

Hot discussions in our forums right now:

Netflix officialy launching in NZ in March
Created by jarj, last reply by tdgeek on 21-Nov-2014 19:08 (97 replies)
Pages... 5 6 7


Gull Employment Dispute.
Created by networkn, last reply by richms on 23-Nov-2014 23:05 (71 replies)
Pages... 3 4 5


Which one is right for me? M8, Z3, S5 or other?
Created by makiomoto, last reply by makiomoto on 20-Nov-2014 13:52 (40 replies)
Pages... 2 3


Free 1gb data with $19 combo until end of Jan 2015 (1.5gb total)
Created by eXDee, last reply by Shoes2468 on 23-Nov-2014 23:01 (16 replies)
Pages... 2


Slingshot line speed
Created by Frankiej45, last reply by Frankiej45 on 20-Nov-2014 14:38 (14 replies)

Little Wins labour Leadership
Created by MikeAqua, last reply by Aredwood on 21-Nov-2014 18:47 (53 replies)
Pages... 2 3 4


Orcon: Why did you cancel my email account without telling me??
Created by old3eyes, last reply by old3eyes on 21-Nov-2014 17:03 (13 replies)

My connection is too fast
Created by ckc, last reply by Geektastic on 20-Nov-2014 11:30 (25 replies)
Pages... 2



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.

Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.