LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-21-2002, 03:07 PM   #1
Ayden
LQ Newbie
 
Registered: Oct 2001
Location: Montreal. QC. Canada
Distribution: Slackware
Posts: 4

Rep: Reputation: 0
Multiple X server... is it possible ?


here is a technical question

How can i run 2 or more Xserver (or instance of) on the same computer, sharing the same screen (something like the 6 console under linux, but for the server)

Anyone ?
 
Old 02-21-2002, 03:58 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
you mean you want to be able to use ctrl+alt+fsomething to change between two X servers? easy

startx -- :1

will start a second X server, putting it under F8 by default.
 
Old 02-21-2002, 05:37 PM   #3
Syncrm
Member
 
Registered: Aug 2001
Location: Lansing, Michigan
Distribution: slackware8+
Posts: 472

Rep: Reputation: 30
if you're just looking for a little extra desktop space, then i'd try using the workspaces in most window managers. you won't kill your system resources that way.

but if you're looking for multiple users in X, then the above is the way to go. :-)
 
Old 02-21-2002, 05:39 PM   #4
Ayden
LQ Newbie
 
Registered: Oct 2001
Location: Montreal. QC. Canada
Distribution: Slackware
Posts: 4

Original Poster
Rep: Reputation: 0
yeah im searching multiple user
Is there's a way to load another config files instead of the default one ?

thanks for the previous fast answer !
 
Old 02-21-2002, 05:50 PM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well, if you're planning on doing it on a proper basis, you should set up your configs to sort themselves out automatically. if you've got a .Xclients file, it should read...

#!/bin/bash

# Created by Red Hat Desktop Switcher

if [ -e "$HOME/.Xclients-$HOSTNAME$DISPLAY" ]; then
exec $HOME/.Xclients-$HOSTNAME$DISPLAY
else
exec $HOME/.Xclients-default
fi

so by having that file (or a .xinitrc equivalent), you should then be able to have a .Xclients-mycomputer:0 and .Xclients-mycomputer:1 which will get chosen automatically depending on where you start the server (i.e. my first post)
 
Old 02-21-2002, 05:53 PM   #6
Syncrm
Member
 
Registered: Aug 2001
Location: Lansing, Michigan
Distribution: slackware8+
Posts: 472

Rep: Reputation: 30
what config file are you referring to? XF86Config? or your WM's config file. if you mean your WM's config file, then i suggest you man whatever WM you're using (for me, windowmaker. so "man wmaker").

if it's XF86Config, why would you want to load another one?
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple ip proxy server iptables. SuperJohnSmith Linux - Networking 10 11-22-2010 06:12 AM
Multiple server support kranti Programming 1 10-27-2005 10:41 AM
Multiple server ids. Is it possible? big_gie Linux - Security 6 11-16-2004 11:28 AM
Securing Multiple Domains on 1 Server jgillin Linux - Security 1 05-10-2004 06:44 AM
Web server with multiple ISP's karthiees Linux - Networking 2 09-24-2003 06:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:05 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