LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 10-08-2012, 07:00 AM   #1
otoomet
Member
 
Registered: Oct 2004
Location: Tartu, Århus,Nürnberg, Europe
Distribution: Debian, Ubuntu, Puppy
Posts: 619

Rep: Reputation: 45
How to unlock guest session?


I have a dual seat box with ubuntu 12.04 where I occasionally let other people to use guest session under . However, it locks screen after a while if not used and I cannot find a way to unlock it, except by killing the corresponding gnome-session. Guest does not have a password, and unlock seems not to accept empty passwords.

Ideas?
Ott
 
Old 10-08-2012, 10:29 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Don't let it lock the session?
 
Old 10-09-2012, 01:05 AM   #3
otoomet
Member
 
Registered: Oct 2004
Location: Tartu, Århus,Nürnberg, Europe
Distribution: Debian, Ubuntu, Puppy
Posts: 619

Original Poster
Rep: Reputation: 45
Thank you, unSpawn.

I have seen the instructions about how to disable screen lock, but seemingly these settings will be deleted at logout. Just to ask all the guests to press a key every few minutes -- this is simply infeasible. I think this is a sort of bug (or perhaps a feature) in the lock program, perhaps this can be configured somehow.

A workaround were to create a new guest account with a password. But I would like to get the default account to work in the first place.
 
Old 10-09-2012, 06:13 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by otoomet View Post
I have seen the instructions about how to disable screen lock, but seemingly these settings will be deleted at logout.
Is that because you run some sort of cleanup application? Because for regular accounts GNOME3 settings should just stick. If gnome-menus or ALT+F2 gnome-screensaver doesn't let you change settings in a permanent way you'll have to the startup scripts and dump
Code:
gconftool-2 --set -t bool /org/gnome/desktop/screensaver/lock-enabled false
or
Code:
gsettings set org.gnome.desktop.screensaver lock-enabled false
or the right dconf invocation of that.
 
1 members found this post helpful.
Old 10-09-2012, 06:24 AM   #5
otoomet
Member
 
Registered: Oct 2004
Location: Tartu, Århus,Nürnberg, Europe
Distribution: Debian, Ubuntu, Puppy
Posts: 619

Original Poster
Rep: Reputation: 45
The problem is that guest is not a regular user. It seems that a new user (with a name like guest-xyzsdf) is created every time you log in as guest, and all the files are removed at logout. It's home directory is not in /home either.

I have to admit though that I haven't exactly tested the lock settings (only some desktop settings), but when looking around on the web, I encountered claims like that.

Guest is also logged in under unity by default, but I don't think that matters too much.
 
Old 10-09-2012, 06:56 AM   #6
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by otoomet View Post
The problem is that guest is not a regular user. It seems that a new user (with a name like guest-xyzsdf) is created every time you log in as guest, and all the files are removed at logout. It's home directory is not in /home either.
Ah, I see. In that case wouldn't default settings be imported from /etc/skel or /etc/default/?
 
1 members found this post helpful.
Old 10-09-2012, 10:38 AM   #7
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
Quote:
Originally Posted by unSpawn View Post
Ah, I see. In that case wouldn't default settings be imported from /etc/skel or /etc/default/?
Should be or remotely possible /root/.guest.
 
Old 10-14-2012, 03:57 AM   #8
otoomet
Member
 
Registered: Oct 2004
Location: Tartu, Århus,Nürnberg, Europe
Distribution: Debian, Ubuntu, Puppy
Posts: 619

Original Poster
Rep: Reputation: 45
Good idea.

It seems though that gconf values are not copied from anything like /etc/skel, but created by gconf somehow. So I defined the all-user default for desktop/gnome/lockdown/disable_lock_screen to true in gconf-editor.

Have to test whether it works.

BTW, guest home is in tmp like /tmp/guest-XkdIle.
 
Old 10-15-2012, 03:22 AM   #9
otoomet
Member
 
Registered: Oct 2004
Location: Tartu, Århus,Nürnberg, Europe
Distribution: Debian, Ubuntu, Puppy
Posts: 619

Original Poster
Rep: Reputation: 45
It works :-)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't unlock session Terje Slackware 1 03-20-2012 01:01 PM
KDE lock/unlock session problem with screen saver timeout [ kdesktop_lock ] Askmethod Linux - Newbie 4 11-15-2010 07:50 AM
Unable to unlock session with KDE 3.5.4 swampdog2002 Slackware 4 09-06-2006 11:41 PM
Cannot Unlock Session sunmicroman Slackware 9 09-09-2005 04:04 PM
Netscape only session for guest rvilarl Linux - General 2 10-05-2003 01:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 11:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration