LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 06-12-2004, 04:06 PM   #1
kapa
LQ Newbie
 
Registered: Oct 2003
Location: Finland
Distribution: OpenSUSE 10.0
Posts: 26

Rep: Reputation: 15
one computer, one display, two X sessions?


Hi,

can some one help a bit:

I am running Mandrake Community 10.0, and I want following:

Two X sessions for different users in one computer (one keyboard, mouse, display etc). I can swicth using CTRL+SHIFT+F8.

How I can configure that?

 
Old 06-12-2004, 04:58 PM   #2
synapse
Member
 
Registered: Jan 2004
Location: On Planet Earth.
Distribution: Slackware 12
Posts: 244

Rep: Reputation: 30
Hi

you can try
startx -- :1 for display 1
etc

hope this helped
cheers
 
Old 06-12-2004, 05:11 PM   #3
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918

Rep: Reputation: 103Reputation: 103
http://linuxguide.automatedshops.com...-multiple.html
 
Old 06-13-2004, 01:25 AM   #4
kapa
LQ Newbie
 
Registered: Oct 2003
Location: Finland
Distribution: OpenSUSE 10.0
Posts: 26

Original Poster
Rep: Reputation: 15
Thanx!

I forgot totally startx, tried xstart whole evening ;-)

I have one problem still, I can start another session, but it always starts it to my username. How can I start to my spouces username a session is the challenge. Can anyone give some guidance how to do that ?

I rather push ctrl+alt+F8 for her, and F7 for my session, but currently this newbie does not know how to do it :-(

br. kari
 
Old 06-13-2004, 01:53 AM   #5
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918

Rep: Reputation: 103Reputation: 103
Perhaps (in a terminal):

kapa>su - spouse
Password: (enter spouse password)
spouse>startx -- :1

Last edited by 2damncommon; 06-13-2004 at 01:56 AM.
 
Old 06-13-2004, 06:44 AM   #6
kapa
LQ Newbie
 
Registered: Oct 2003
Location: Finland
Distribution: OpenSUSE 10.0
Posts: 26

Original Poster
Rep: Reputation: 15
Good hints, thanx. Some small probs still:
--------------------------------------------------------
[spouse]$ startx -- :1
hostname: Unknown host
Using authority file
Writing authority file

Authentication failed - cannot start X server.
Perhaps you do not have console ownership?
giving up.
xinit: No such file or directory (errno 2): unable to connect to X server
xinit: No such process (errno 3): Server error.
Couldnt get a file descriptor referring to the console
-----------------------------------------------------------------------

As I told, I'm newbie. Therefore I do not know how to give authority to connect to X server. Either I need to give permissions to connect to server, or to host. I do not know the commands, nor I know how to do it.

Thanx 2damncommon for good advices already !

br. Kari
 
Old 06-13-2004, 12:46 PM   #7
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918

Rep: Reputation: 103Reputation: 103
Quote:
Authentication failed - cannot start X server.
Yep, you're right. I cannot start an xwindow session for another user from my own X session.

What did work for me was to go to real terminal mode (CTRL-ALT-F2), log in as the other user, then use the "startx -- :1" command. When I tried it, the new X session for the other user started on the F8 spot. I could switch between the F7 and F8 (with CTRL-ALT-Fx, of course). When I logged out of the F8 session I was dropped down to the console I had started with at F2.

Remember also that a couple X sessions are really going to eat RAM.
 
Old 06-14-2004, 01:52 PM   #8
kapa
LQ Newbie
 
Registered: Oct 2003
Location: Finland
Distribution: OpenSUSE 10.0
Posts: 26

Original Poster
Rep: Reputation: 15
Thank you!

This helps, now there is two sessions for different users. Currently memory shows that 276 M free from 504 (512?). It was somewhere 3xx before, so a bit drop.

Once again, thanx!

br. Kari
 
  


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
display garbled (not corrupted) in linux console sessions Erik Garrison Linux - Hardware 1 10-24-2005 07:29 PM
I want to write to a video form what the display of a computer represends tegos Linux - Software 7 07-07-2005 02:11 AM
Can't copy files from an SCO Unix System V computer to a Linux computer gnppapas Linux - General 2 11-27-2004 01:39 PM
Need to get Chinese display and input on my computer BlueCarrot Linux - Software 17 02-26-2004 03:08 AM
setenv display to a computer on a LAN sattath Linux - Networking 2 10-05-2003 04:00 PM

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

All times are GMT -5. The time now is 12:23 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
Open Source Consulting | Domain Registration