LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-15-2010, 02:36 AM   #1
always87
LQ Newbie
 
Registered: Jul 2010
Posts: 3

Rep: Reputation: 0
Question saving current setup when switching user on centos


i'm pretty newbie for linux.

i'm using centos 5 and i want to save my setup when switching the user.

when i switched user from user1 to user2 and then i logged in user1 back without shutting down, i couldn't see any working window on user1. But since it's working on the CPU, i guess it's working but i cannot just see the window(such as terminal in my case) i was using.

i have been using scientific linux which have "save current setup" when logging out. but centos seems not to have that check box!

i want to know whether centos can contain the setup for each user when switching user.

i appreciate your time and help for newbie in advance.
 
Old 07-15-2010, 08:01 PM   #2
sag47
Senior Member
 
Registered: Sep 2009
Location: Orange County, CA
Distribution: Kubuntu x64, Raspbian, CentOS
Posts: 1,848
Blog Entries: 36

Rep: Reputation: 454Reputation: 454Reputation: 454Reputation: 454Reputation: 454
Try running Ctrl&Alt&[F7/F8/F9 etc] when you log back into your system to possibly bring back the session.
 
Old 07-16-2010, 12:09 AM   #3
always87
LQ Newbie
 
Registered: Jul 2010
Posts: 3

Original Poster
Rep: Reputation: 0
still problem

thanks a lot to give me an idea for this.
but i guess i should modify gdm/custom.conf to run Ctrl&Alt&[F7/F8/F9 etc].

do i only need to add like below to use ctrl&alt&f8?

[servers]
1=Standard

but nothing has changed without rebooting the computer.
is it correct to change custom.conf to enable several concurrent GUI logins on different local consoles?

i'm getting a sense to use linux. thanks for your help in advance.
 
Old 07-16-2010, 12:24 AM   #4
vikas027
Senior Member
 
Registered: May 2007
Location: Sydney
Distribution: RHEL, CentOS, Ubuntu, Debian, OS X
Posts: 1,300

Rep: Reputation: 102Reputation: 102
Quote:
Originally Posted by always87 View Post
thanks a lot to give me an idea for this.
but i guess i should modify gdm/custom.conf to run Ctrl&Alt&[F7/F8/F9 etc].

do i only need to add like below to use ctrl&alt&f8?

[servers]
1=Standard

but nothing has changed without rebooting the computer.
is it correct to change custom.conf to enable several concurrent GUI logins on different local consoles?

i'm getting a sense to use linux. thanks for your help in advance.
See, there are two scenarios -

1) If you are working on console (or directly working on the machine), you can use Ctrl+Alt+[F1/F2/F3/F4] combination.

2) Secondary, if you are working remotely through any ssh software like putty, xshell, etc. you can have different sessions for each user.

I dont think there is any such way to save any session for a user.
 
Old 07-16-2010, 12:30 AM   #5
sag47
Senior Member
 
Registered: Sep 2009
Location: Orange County, CA
Distribution: Kubuntu x64, Raspbian, CentOS
Posts: 1,848
Blog Entries: 36

Rep: Reputation: 454Reputation: 454Reputation: 454Reputation: 454Reputation: 454
I found this article after a quick google search... "centos fast user switching"
http://jorgenmodin.net/index_html/ar...me-on-centos-5

Alternatively to enable switching for all users you can search "gconf user_switch_enabled" which can give you /etc/* gconf config files to modify which would affect all users. This is just a guess on my part because I don't use Gnome too much nor really have a need for this functionality.

If you do in fact need to search for gconf on your system to find its location you can use either one of these two commands:
Code:
find / | grep gconf
find / -name *gconf*
When I said Ctrl&Alt&F8 I meant the key combinations Ctrl+Alt+[function key] to switch across run levels or sessions. It's a keyboard shortcut on some distros. I've never used CentOS though so I'm kind of attacking this openly.

Last edited by sag47; 07-16-2010 at 12:39 AM.
 
Old 07-18-2010, 08:32 PM   #6
always87
LQ Newbie
 
Registered: Jul 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Thumbs up Thanks, it's working well

sag47, it's working well on my centos 5 with gnome as you suggested with the following website.
http://jorgenmodin.net/index_html/ar...me-on-centos-5

Only a little tiny difficulties for this solution is that i have to click "Lock Screen" instead of "Log Out" when switching user. Anyway, so glad to get a great answer.

However, as vikas027 have mentioned, it might be more convenient to use ssh software such as xshell if there are lots of users to run same machine.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
What pitfalls can I expect switching from 12.1 to current? BobNutfield Slackware 3 06-04-2009 01:04 AM
how to setup my samba server using my current Novell LDAP user authentication? hocheetiong Linux - Newbie 1 05-06-2008 05:05 AM
printer setup from Centos 5 to Vista home prem. on a headless centos pc ncsuapex Red Hat 6 03-10-2008 11:40 AM
CentOS 4.4 saving PATH, CLASSPATH variables Thor Red Hat 2 11-25-2006 08:55 AM
Current xkbmap / X.org kb layout switching ? yacccobb Linux - Software 3 08-21-2006 04:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:04 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration