I have Cent OS 4 with KDE. How do I enable an option of starting a new session with the current running?
What I want to do is.....If I Lock my Screen, the other user should be able to Login to a new session on the Same computer.
I hope this is clear. Thank you.
duffmckagan wrote:
I have Cent OS 4 with KDE. How do I enable an option of starting a new session with the current running?
What I want to do is.....If I Lock my Screen, the other user should be able to Login to a new session on the Same computer.
I hope this is clear. Thank you.
Ubuntu have this feature, switch users, but I haven't been able to do it without losing the other session. [centos 3 & 4]
cheers
On Tue, 2005-08-02 at 21:10 +1200, Tom wrote:
duffmckagan wrote:
I have Cent OS 4 with KDE. How do I enable an option of starting a new session with the current running?
What I want to do is.....If I Lock my Screen, the other user should be able to Login to a new session on the Same computer.
There was just a thread on the list that explains how to do this perfectly :)
First, you lock your screen, then you press ctrl-alt-F2 (or ctrl-alt-f3, f4, f5) and allow the other user to login at the console as the user you want.
Then issue the command:
xinit /usr/bin/gnome-session -- :1
OR
xinit /usr/bin/startkde -- :1
You would then use (one of these) ctrl-alt-f8, f9, f10, f11, f12 to access the session ... and ctrl-alt-f7 for your orginal session.
For a third user, pick a console (ctrl-alt-f3) and do:
xinit /usr/bin/startkde -- :2
(or you could do gnome)
and it should go to the graphical console (ctrl-alt-f9).
that will work easily for up to 5 users ... if you need more than that, other things would need to be done.
I hope this is clear. Thank you.
Ubuntu have this feature, switch users, but I haven't been able to do it without losing the other session. [centos 3 & 4]
I will surely try this lengthy procedure. Is the property disabled with KDE or is it with Cent OS that I can't do this in a simple way?
I remember Mandrake had this option of Starting a new session. Why not Cent OS? Do I need to add something to my existing KDE?
On 8/2/05, Johnny Hughes mailing-lists@hughesjr.com wrote:
On Tue, 2005-08-02 at 21:10 +1200, Tom wrote:
duffmckagan wrote:
I have Cent OS 4 with KDE. How do I enable an option of starting a new session with the current running?
What I want to do is.....If I Lock my Screen, the other user should be able to Login to a new session on the Same computer.
There was just a thread on the list that explains how to do this perfectly :)
First, you lock your screen, then you press ctrl-alt-F2 (or ctrl-alt-f3, f4, f5) and allow the other user to login at the console as the user you want.
Then issue the command:
xinit /usr/bin/gnome-session -- :1
OR
xinit /usr/bin/startkde -- :1
You would then use (one of these) ctrl-alt-f8, f9, f10, f11, f12 to access the session ... and ctrl-alt-f7 for your orginal session.
For a third user, pick a console (ctrl-alt-f3) and do:
xinit /usr/bin/startkde -- :2
(or you could do gnome)
and it should go to the graphical console (ctrl-alt-f9).
that will work easily for up to 5 users ... if you need more than that, other things would need to be done.
I hope this is clear. Thank you.
Ubuntu have this feature, switch users, but I haven't been able to do it without losing the other session. [centos 3 & 4]
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux)
iD8DBQBC70BtTKkMgmrBY7MRAq1TAJ9CUYk6826oF4wNV0Lvp3nWSo9/BwCeOOH1 kJM1fl++EUunIOIksHAw2gM= =zAaN -----END PGP SIGNATURE-----
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Sorry, but I wasn't able to Login to a new session even with this Procedure. don't understand whats wrong with it.
When i use the following command
ctrl+alt+F2 xinit /usr/bin/startkde -:1
I get error messages like
unable to open display cannot connect to xserver and stuff like that.
Moreover, thought the following command would do.
ctrl+alt+f2 xinit /usr/bin/kdm -:1
fatal server error server is already active for display 0
if this server is no longer running, remove /tmp/.x0-lock and start again.
What should I do? whats wrong?
On 8/2/05, Johnny Hughes mailing-lists@hughesjr.com wrote:
On Tue, 2005-08-02 at 21:10 +1200, Tom wrote:
duffmckagan wrote:
I have Cent OS 4 with KDE. How do I enable an option of starting a new session with the current running?
What I want to do is.....If I Lock my Screen, the other user should be able to Login to a new session on the Same computer.
There was just a thread on the list that explains how to do this perfectly :)
First, you lock your screen, then you press ctrl-alt-F2 (or ctrl-alt-f3, f4, f5) and allow the other user to login at the console as the user you want.
Then issue the command:
xinit /usr/bin/gnome-session -- :1
OR
xinit /usr/bin/startkde -- :1
You would then use (one of these) ctrl-alt-f8, f9, f10, f11, f12 to access the session ... and ctrl-alt-f7 for your orginal session.
For a third user, pick a console (ctrl-alt-f3) and do:
xinit /usr/bin/startkde -- :2
(or you could do gnome)
and it should go to the graphical console (ctrl-alt-f9).
that will work easily for up to 5 users ... if you need more than that, other things would need to be done.
I hope this is clear. Thank you.
Ubuntu have this feature, switch users, but I haven't been able to do it without losing the other session. [centos 3 & 4]
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux)
iD8DBQBC70BtTKkMgmrBY7MRAq1TAJ9CUYk6826oF4wNV0Lvp3nWSo9/BwCeOOH1 kJM1fl++EUunIOIksHAw2gM= =zAaN -----END PGP SIGNATURE-----
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On Tue, 2005-08-02 at 22:47 +0530, duffmckagan wrote:
Sorry, but I wasn't able to Login to a new session even with this Procedure. don't understand whats wrong with it.
When i use the following command
ctrl+alt+F2 xinit /usr/bin/startkde -:1
That's
xinit /usr/bin/startkde -- :1
I get error messages like
unable to open display cannot connect to xserver and stuff like that.
Moreover, thought the following command would do.
ctrl+alt+f2 xinit /usr/bin/kdm -:1
fatal server error server is already active for display 0
if this server is no longer running, remove /tmp/.x0-lock and start again.
Not 100% sure on this one, but don't think you can run more than 1 kdm. I presume you're in runlevel 5 with a display manager already running on :0.0
Phil
Okay. But not working with startkde as well. ???
On 8/2/05, Phil Schaffner Philip.R.Schaffner@nasa.gov wrote:
On Tue, 2005-08-02 at 22:47 +0530, duffmckagan wrote:
Sorry, but I wasn't able to Login to a new session even with this Procedure. don't understand whats wrong with it.
When i use the following command
ctrl+alt+F2 xinit /usr/bin/startkde -:1
That's
xinit /usr/bin/startkde -- :1
I get error messages like
unable to open display cannot connect to xserver and stuff like that.
Moreover, thought the following command would do.
ctrl+alt+f2 xinit /usr/bin/kdm -:1
fatal server error server is already active for display 0
if this server is no longer running, remove /tmp/.x0-lock and start again.
Not 100% sure on this one, but don't think you can run more than 1 kdm. I presume you're in runlevel 5 with a display manager already running on :0.0
Phil
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On Tue, 2005-08-02 at 23:54 +0530, duffmckagan wrote:
Okay. But not working with startkde as well. ???
On 8/2/05, Phil Schaffner Philip.R.Schaffner@nasa.gov wrote:
On Tue, 2005-08-02 at 22:47 +0530, duffmckagan wrote:
Sorry, but I wasn't able to Login to a new session even with this Procedure. don't understand whats wrong with it.
When i use the following command
ctrl+alt+F2 xinit /usr/bin/startkde -:1
That's
xinit /usr/bin/startkde -- :1
Did you try the above?
Phil
Yeah. I was thinking of the typo, but no. That doesn't solve it. Same Fatal Server error.
On 8/3/05, Phil Schaffner Philip.R.Schaffner@nasa.gov wrote:
On Tue, 2005-08-02 at 23:54 +0530, duffmckagan wrote:
Okay. But not working with startkde as well. ???
On 8/2/05, Phil Schaffner Philip.R.Schaffner@nasa.gov wrote:
On Tue, 2005-08-02 at 22:47 +0530, duffmckagan wrote:
Sorry, but I wasn't able to Login to a new session even with this Procedure. don't understand whats wrong with it.
When i use the following command
ctrl+alt+F2 xinit /usr/bin/startkde -:1
That's
xinit /usr/bin/startkde -- :1
Did you try the above?
Phil
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On Wed, 2005-08-03 at 00:22 +0530, duffmckagan wrote:
On 8/3/05, Phil Schaffner Philip.R.Schaffner@nasa.gov wrote:
On Tue, 2005-08-02 at 23:54 +0530, duffmckagan wrote:
On 8/2/05, Phil Schaffner Philip.R.Schaffner@nasa.gov wrote:
On Tue, 2005-08-02 at 22:47 +0530, duffmckagan wrote:
Sorry, but I wasn't able to Login to a new session even with this Procedure. don't understand whats wrong with it.
When i use the following command
ctrl+alt+F2 xinit /usr/bin/startkde -:1
That's
xinit /usr/bin/startkde -- :1
...
Okay. But not working with startkde as well. ???
Did you try the above?
Phil
Yeah. I was thinking of the typo, but no. That doesn't solve it. Same Fatal Server error.
Hummmm - works-for-me. Sure you don't have something already rinning on :1? Do you see anything besides a black screen with Ctrl-Alt-F8?
Phil
P.S. Please don't top-post. http://en.wikipedia.org/wiki/Top-posting http://linux.sgms-centre.com/misc/netiquette.php
duffmckagan wrote:
Sorry, but I wasn't able to Login to a new session even with this Procedure. don't understand whats wrong with it.
When i use the following command
ctrl+alt+F2 xinit /usr/bin/startkde -:1
You are missing a -- xinit /usr/bin/startkde -- :1
-Mark
I get error messages like
unable to open display cannot connect to xserver and stuff like that.
Moreover, thought the following command would do.
ctrl+alt+f2 xinit /usr/bin/kdm -:1
fatal server error server is already active for display 0
if this server is no longer running, remove /tmp/.x0-lock and start again.
What should I do? whats wrong?
On 8/2/05, Johnny Hughes mailing-lists@hughesjr.com wrote:
On Tue, 2005-08-02 at 21:10 +1200, Tom wrote:
duffmckagan wrote:
I have Cent OS 4 with KDE. How do I enable an option of starting a new session with the current running?
What I want to do is.....If I Lock my Screen, the other user should be able to Login to a new session on the Same computer.
There was just a thread on the list that explains how to do this perfectly :)
First, you lock your screen, then you press ctrl-alt-F2 (or ctrl-alt-f3, f4, f5) and allow the other user to login at the console as the user you want.
Then issue the command:
xinit /usr/bin/gnome-session -- :1
OR
xinit /usr/bin/startkde -- :1
You would then use (one of these) ctrl-alt-f8, f9, f10, f11, f12 to access the session ... and ctrl-alt-f7 for your orginal session.
For a third user, pick a console (ctrl-alt-f3) and do:
xinit /usr/bin/startkde -- :2
(or you could do gnome)
and it should go to the graphical console (ctrl-alt-f9).
that will work easily for up to 5 users ... if you need more than that, other things would need to be done.
I hope this is clear. Thank you.
Ubuntu have this feature, switch users, but I haven't been able to do it without losing the other session. [centos 3 & 4]
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux)
iD8DBQBC70BtTKkMgmrBY7MRAq1TAJ9CUYk6826oF4wNV0Lvp3nWSo9/BwCeOOH1 kJM1fl++EUunIOIksHAw2gM= =zAaN -----END PGP SIGNATURE-----
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
No, even after trying it with --, it is not working.
Yeah. Maybe I need to upgrade to KDE 3.4 But KDE 3.4 is stable. Should I install that to make this thing work?
On 8/3/05, Mark Belanger mark_belanger@ltx.com wrote:
duffmckagan wrote:
Sorry, but I wasn't able to Login to a new session even with this Procedure. don't understand whats wrong with it.
When i use the following command
ctrl+alt+F2 xinit /usr/bin/startkde -:1
You are missing a -- xinit /usr/bin/startkde -- :1
-Mark
I get error messages like
unable to open display cannot connect to xserver and stuff like that.
Moreover, thought the following command would do.
ctrl+alt+f2 xinit /usr/bin/kdm -:1
fatal server error server is already active for display 0
if this server is no longer running, remove /tmp/.x0-lock and start again.
What should I do? whats wrong?
On 8/2/05, Johnny Hughes mailing-lists@hughesjr.com wrote:
On Tue, 2005-08-02 at 21:10 +1200, Tom wrote:
duffmckagan wrote:
I have Cent OS 4 with KDE. How do I enable an option of starting a new session with the current running?
What I want to do is.....If I Lock my Screen, the other user should be able to Login to a new session on the Same computer.
There was just a thread on the list that explains how to do this perfectly :)
First, you lock your screen, then you press ctrl-alt-F2 (or ctrl-alt-f3, f4, f5) and allow the other user to login at the console as the user you want.
Then issue the command:
xinit /usr/bin/gnome-session -- :1
OR
xinit /usr/bin/startkde -- :1
You would then use (one of these) ctrl-alt-f8, f9, f10, f11, f12 to access the session ... and ctrl-alt-f7 for your orginal session.
For a third user, pick a console (ctrl-alt-f3) and do:
xinit /usr/bin/startkde -- :2
(or you could do gnome)
and it should go to the graphical console (ctrl-alt-f9).
that will work easily for up to 5 users ... if you need more than that, other things would need to be done.
I hope this is clear. Thank you.
Ubuntu have this feature, switch users, but I haven't been able to do it without losing the other session. [centos 3 & 4]
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux)
iD8DBQBC70BtTKkMgmrBY7MRAq1TAJ9CUYk6826oF4wNV0Lvp3nWSo9/BwCeOOH1 kJM1fl++EUunIOIksHAw2gM= =zAaN -----END PGP SIGNATURE-----
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
-- Mark Belanger LTX Corporation _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Which version of KDE are you using Paul?
On 8/3/05, duffmckagan mckagan@gmail.com wrote:
No, even after trying it with --, it is not working.
Yeah. Maybe I need to upgrade to KDE 3.4 But KDE 3.4 is stable. Should I install that to make this thing work?
On 8/3/05, Mark Belanger mark_belanger@ltx.com wrote:
duffmckagan wrote:
Sorry, but I wasn't able to Login to a new session even with this Procedure. don't understand whats wrong with it.
When i use the following command
ctrl+alt+F2 xinit /usr/bin/startkde -:1
You are missing a -- xinit /usr/bin/startkde -- :1
-Mark
I get error messages like
unable to open display cannot connect to xserver and stuff like that.
Moreover, thought the following command would do.
ctrl+alt+f2 xinit /usr/bin/kdm -:1
fatal server error server is already active for display 0
if this server is no longer running, remove /tmp/.x0-lock and start again.
What should I do? whats wrong?
On 8/2/05, Johnny Hughes mailing-lists@hughesjr.com wrote:
On Tue, 2005-08-02 at 21:10 +1200, Tom wrote:
duffmckagan wrote:
I have Cent OS 4 with KDE. How do I enable an option of starting a new session with the current running?
What I want to do is.....If I Lock my Screen, the other user should be able to Login to a new session on the Same computer.
There was just a thread on the list that explains how to do this perfectly :)
First, you lock your screen, then you press ctrl-alt-F2 (or ctrl-alt-f3, f4, f5) and allow the other user to login at the console as the user you want.
Then issue the command:
xinit /usr/bin/gnome-session -- :1
OR
xinit /usr/bin/startkde -- :1
You would then use (one of these) ctrl-alt-f8, f9, f10, f11, f12 to access the session ... and ctrl-alt-f7 for your orginal session.
For a third user, pick a console (ctrl-alt-f3) and do:
xinit /usr/bin/startkde -- :2
(or you could do gnome)
and it should go to the graphical console (ctrl-alt-f9).
that will work easily for up to 5 users ... if you need more than that, other things would need to be done.
I hope this is clear. Thank you.
Ubuntu have this feature, switch users, but I haven't been able to do it without losing the other session. [centos 3 & 4]
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux)
iD8DBQBC70BtTKkMgmrBY7MRAq1TAJ9CUYk6826oF4wNV0Lvp3nWSo9/BwCeOOH1 kJM1fl++EUunIOIksHAw2gM= =zAaN -----END PGP SIGNATURE-----
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
-- Mark Belanger LTX Corporation _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
-- "No-one dies a virgin. Life screws everyone."
On Wed, 2005-08-03 at 10:12 +0530, duffmckagan wrote:
Which version of KDE are you using Paul?
If you mean Phil...
$ rpm -q kdebase kdebase-3.3.1-5.5.i386 kdebase-3.3.1-5.5.x86_64
on CentOS 4 - up-to-date with yum.
Phil
P.S. Please don't top-post. http://en.wikipedia.org/wiki/Top-posting http://linux.sgms-centre.com/misc/netiquette.php
On Tuesday 02 August 2005 04:50, duffmckagan wrote:
What I want to do is.....If I Lock my Screen, the other user should be able to Login to a new session on the Same computer.
Here's an alternative, much easier and cleaner solution than Johnny's (with all due respect).
1) Make sure /etc/sysconfig/desktop contain DISPLAYMANAGER="KDE". 2) Edit /usr/share/config/kdm/kdmrc. In the General section, add this line:
ReserveServers=:1,:2,:3,:4,:5
3) Restart your computer (or just do "init 3 && init 5").
You'll see that this solution is very clean and integrates perfectly with KDE. When a user has locked the screen, there is a button labeled "start new session" or something so that you can start a new session. You can switch session using the "switch session" item in the K menu. At any time, you can use ctrl-alt-F? to switch sessions.
Tell me about your experience!
On Tue, 2005-08-02 at 08:28 -0400, Simon Perreault wrote:
On Tuesday 02 August 2005 04:50, duffmckagan wrote:
What I want to do is.....If I Lock my Screen, the other user should be able to Login to a new session on the Same computer.
Here's an alternative, much easier and cleaner solution than Johnny's (with all due respect).
- Make sure /etc/sysconfig/desktop contain DISPLAYMANAGER="KDE".
- Edit /usr/share/config/kdm/kdmrc. In the General section, add this line:
ReserveServers=:1,:2,:3,:4,:5
- Restart your computer (or just do "init 3 && init 5").
You'll see that this solution is very clean and integrates perfectly with KDE. When a user has locked the screen, there is a button labeled "start new session" or something so that you can start a new session. You can switch session using the "switch session" item in the K menu. At any time, you can use ctrl-alt-F? to switch sessions.
Tell me about your experience!
Well, followed the above out of curiosity and display manager is now kdm rather than gdm, but no apparent change when the screen is locked. No opportunity for another user to log in to a new session, and Ctrl-Alt-F8 is a black screen. :-(
Johnny's technique does get me a new session on VC#8.
Phil
On Tuesday 02 August 2005 09:33, Phil Schaffner wrote:
Well, followed the above out of curiosity and display manager is now kdm rather than gdm, but no apparent change when the screen is locked. No opportunity for another user to log in to a new session, and Ctrl-Alt-F8 is a black screen. :-(
Hmmm... I don't know what's wrong. I should tell you that I've never tried it on CentOS, only on Fedora, but since CentOS has KDE 3.4 I assumed that it would work.
Simon Perreault nomis80@lqt.ca wrote:
Hmmm... I don't know what's wrong. I should tell you that I've never tried it on CentOS, only on Fedora, but since CentOS has KDE 3.4 I assumed that it would work. http://forums.fedoraforum.org/showthread.php?t=62321
I don't know about everyone else but my idea of "switch user" is to use "xauth" and "su", especially since the DISPLAY defaults to :0.0 (localhost). But I'm an old UNIX wennie.
Running a 2nd X on :1.0 (like on Ctrl-Alt-F8) should work too.
On Tue, August 2, 2005 8:56 am, Simon Perreault said:
On Tuesday 02 August 2005 09:33, Phil Schaffner wrote:
Well, followed the above out of curiosity and display manager is now kdm rather than gdm, but no apparent change when the screen is locked. No opportunity for another user to log in to a new session, and Ctrl-Alt-F8 is a black screen. :-(
Hmmm... I don't know what's wrong. I should tell you that I've never tried it on CentOS, only on Fedora, but since CentOS has KDE 3.4 I assumed that it would work.
CentOS-4 is NOT KDE 3.4 ... it is KDE 3.3.1
On 8/3/05, Johnny Hughes mailing-lists@hughesjr.com wrote:
CentOS-4 is NOT KDE 3.4 ... it is KDE 3.3.1
Unless you update KDE from the kde-redhat repository (http://kde-redhat.sf.net), but then again you have moved away from a pure CentOS installation and it's stability can't be guaranteed nor officially supported. It also means that things may break when you do updates as official repositories/packages are only tested against the installations based on official packages.
Best regards Michael Boman
On Wed, 2005-08-03 at 07:46 +0800, Michael Boman wrote:
On 8/3/05, Johnny Hughes mailing-lists@hughesjr.com wrote:
CentOS-4 is NOT KDE 3.4 ... it is KDE 3.3.1
Unless you update KDE from the kde-redhat repository (http://kde-redhat.sf.net), but then again you have moved away from a pure CentOS installation and it's stability can't be guaranteed nor officially supported.
No argument that moving away from tested core packages may compromise stability, but (at the risk of starting a semantic argument :-) can one talk about "official support" here? This is, after all, not RHEL. (e.g. Is CentOSplus official? Guess not - plenty of caveats about replacing core packages, but it works pretty well for me.) The community support is very good, even for "deviants".
It also means that things may break when you do updates as official repositories/packages are only tested against the installations based on official packages.
No argument here, except for another nit-pick with "official".
Back OT, still never figured out how to get kdm to support multiple sessions on :1, :2, ... as is reported to work on FC. Any other clues out there?
Cheers, Phil
I also tried that, but no use. Nothing changed.I I will check the Fedora Forum, and Johnny method and post back.
On 8/2/05, Simon Perreault nomis80@lqt.ca wrote:
On Tuesday 02 August 2005 04:50, duffmckagan wrote:
What I want to do is.....If I Lock my Screen, the other user should be able to Login to a new session on the Same computer.
Here's an alternative, much easier and cleaner solution than Johnny's (with all due respect).
- Make sure /etc/sysconfig/desktop contain DISPLAYMANAGER="KDE".
- Edit /usr/share/config/kdm/kdmrc. In the General section, add this line:
ReserveServers=:1,:2,:3,:4,:5
- Restart your computer (or just do "init 3 && init 5").
You'll see that this solution is very clean and integrates perfectly with KDE. When a user has locked the screen, there is a button labeled "start new session" or something so that you can start a new session. You can switch session using the "switch session" item in the K menu. At any time, you can use ctrl-alt-F? to switch sessions.
Tell me about your experience! _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos