LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-24-2008, 10:44 PM   #16
ethana2
LQ Newbie
 
Registered: Jun 2007
Posts: 15

Rep: Reputation: 0

I have made my modifications to gdm.conf-custom and xorg.conf...

I'm going to double check my xorg.conf to make sure that it's all in order...

I followed the instructions pretty closely, except adding...
Option "Product" "(product hex value)"
lines... with values I got straight from /proc/bus/input/devices, for the purpose of uniquely identifying my two Logitech USB mice.

Section "InputDevice"
Identifier "Keyboard.0" # AT->PS/2 Keyboard
Driver "evdev"
Option "Name" "AT Translated Set 2 keyboard"
EndSection

Section "InputDevice"
Identifier "Mouse.0" # Silver USB mouse
Driver "evdev"
Option "Name" "Logitech USB-PS/2 Optical Mouse"
Option "Product" "c044"
EndSection

Section "InputDevice"
Identifier "Keyboard.1" # USB Multimedia Keyboard
Driver "evdev"
Option "Name" "HID 04f3:0103"
EndSection

Section "InputDevice"
Identifier "Mouse.1" # Black USB mouse
Driver "evdev"
Option "Name" "Logitech USB-PS/2 Optical Mouse"
Option "Product" "c03d"
EndSection

I'll continue checking over that file... don't want anything going wrong... Will the Product Options fly?
 
Old 01-24-2008, 10:48 PM   #17
ethana2
LQ Newbie
 
Registered: Jun 2007
Posts: 15

Rep: Reputation: 0
I think it looks good.
I'm restarting now.
..wish me luck.
 
Old 01-24-2008, 11:55 PM   #18
ethana2
LQ Newbie
 
Registered: Jun 2007
Posts: 15

Rep: Reputation: 0
somebody help me!

Bad things are happening! Very bad things!

First, it would boot up, and I'd get only one screen, and that screen would be random nonsense of a dark hue.

I took my xorg.conf and sent it to my home, then replaced it with my old xorg.conf.. now my gdm is freaking out at me; every two minutes it interrupts my perfectly fine X sessions saying it failed to launch X on whatever display and I kill it with ctrl+alt+backspace.

I have made my system very unstable. I'm going to give you several files that may allow you to help me.

My xorg.conf:
http://pastebin.com/f7f2c8aba
My lspci:
http://pastebin.com/f956afee
My input devices:
http://pastebin.com/f7a3e2915
...and finally my gdm.conf-custom
http://pastebin.com/f347dc500

Please help me. I have taken my desktop to hades, and I want out-- preferably, on the other side.
 
Old 01-25-2008, 12:48 AM   #19
ethana2
LQ Newbie
 
Registered: Jun 2007
Posts: 15

Rep: Reputation: 0
I restarted, X failed, I logged in via text and gave gdm the killall axe and then ran startx.
At the moment, I have a stable system, which I'm on now. I also sent out a plea for help to the guy who helped write the Ubuntu dual-seat setup wiki. He looks like an accomplished guy with a real life, so he may be too busy to help me; I don't know. I'll take all the help I can get, so if you know what I need to do, please help...
For now, I think that is all.
 
Old 01-29-2008, 02:03 AM   #20
otoomet
Member
 
Registered: Oct 2004
Location: Tartu, Århus,Nürnberg, Europe
Distribution: Debian, Ubuntu, Puppy
Posts: 619

Original Poster
Rep: Reputation: 45
What does your /var/log/Xorg.x.log say?
 
Old 01-29-2008, 02:14 AM   #21
ethana2
LQ Newbie
 
Registered: Jun 2007
Posts: 15

Rep: Reputation: 0
hmm

KDE4 Konqueror can't keep from crashing long enough to use pastebin.
...and of course it's the only browser that still works on that machine.

Tell you what, in a day or two, when Ubuntu Hardy alpha 4 is released, I'm starting over entirely with that machine. I'm going to grab my files, my fonts, my passwords, evacuate, and install the alpha.

After I do that, I'm going to give this another shot... and be sure to grab /var/log/Xorg.1.log for you all.

Last edited by ethana2; 01-29-2008 at 02:14 AM. Reason: alpha /four/, not three. I already have three.
 
Old 01-29-2008, 04:37 AM   #22
otoomet
Member
 
Registered: Oct 2004
Location: Tartu, Århus,Nürnberg, Europe
Distribution: Debian, Ubuntu, Puppy
Posts: 619

Original Poster
Rep: Reputation: 45
Well, I added the dummy server and screen (see e.g. https://help.ubuntu.com/community/MultiseatX) . My screen (screen 0) occasionally shifted horizontally while inserting a module or mounting an usb drive. It seems to be fixed now.

The xorg.conf now looks like:

Code:
# xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "ServerFlags"
	Option		"DontVTSwitch"
	Option		"HandleSpecialKeys"	"Always"
EndSection

Section "Files"
    RgbPath         "/usr/X11R6/lib/X11/rgb"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
#    Load           "type1"
    Load           "freetype"
#    Load           "glx"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"evdev"
	Option		"XkbLayout"	"ee"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"	"/dev/input/mice"
	Option		"Protocol"	"ImPS/2"
	Option		"ZAxisMapping"	"4 5"
	Option		"Emulate3Buttons"	"true"
EndSection


Section "InputDevice"
	Identifier	"Keyboard1"
	Driver		"evdev"
	#	Option		"Device" "/dev/input/event3"
	Option		"Phys"	"usb-0000:00:0b.0-4/input0"
		Option		"XkbRules"	"xorg"
		Option		"XkbModel"	"evdev"
		Option		"XkbLayout"	"ee"
EndSection

Section "InputDevice"
	Identifier	"Keyboard2"
	Driver		"evdev"
	#	Option		"Device" "/dev/input/event1"
	Option		"Phys"	"usb-0000:00:0b.0-2/input0"
		Option		"XkbRules"	"xorg"
		Option		"XkbModel"	"evdev"
		Option		"XkbLayout"	"ee"
EndSection

Section "InputDevice"
	Identifier	"Mouse1"
	Driver		"mouse"
	#	Option		"CorePointer"
	Option		"Device"	"/dev/input/mouse1"
	Option		"Protocol"	"ImPS/2"
	Option		"ZAxisMapping"	"4 5"
	Option		"Emulate3Buttons"	"true"
EndSection


Section "InputDevice"
	Identifier	"Mouse2"
	Driver		"mouse"
	#	Option		"CorePointer"
	Option		"Device"	"/dev/input/mouse2"
	Option		"Protocol"	"ImPS/2"
	Option		"ZAxisMapping"	"4 5"
	Option		"Emulate3Buttons"	"true"
EndSection

Section "Device"
        Identifier      "Dummy"
        Driver          "dummy"
        VideoRam        75
EndSection

Section "Device"
	Identifier	"nvidia1"
	Driver		"nvidia"
	VendorName     "NVIDIA Corporation"
	BoardName      "GeForce 7300 SE"
	Busid		"PCI:1:0:0"
        Option          "AddARGBVisuals"        "True"
        Option          "AddARGBGLXVisuals"     "True"
        Option          "NoLogo"        "True"
EndSection

Section "Device"
	Identifier	"nvidia2"
	Driver		"nvidia"
	VendorName     "NVIDIA Corporation"
	BoardName      "GeForce 7300 SE"
	Busid		"PCI:2:0:0"
        Option          "AddARGBVisuals"        "True"
        Option          "AddARGBGLXVisuals"     "True"
        Option          "NoLogo"        "True"
EndSection

Section "Monitor"
	Identifier	"Generic Monitor"
	Option		"DPMS"
	Horizsync	30-70
	Vertrefresh	50-160
EndSection


Section "Monitor"
	Identifier	"Monitor1"
	Option		"DPMS"
	Horizsync	30-70
	Vertrefresh	50-160
EndSection

Section "Monitor"
	Identifier	"Monitor2"
	Option		"DPMS"
	Horizsync	30-70
	Vertrefresh	50-160
EndSection

Section "Screen"
        Identifier      "Dummy Screen"
        Device          "Dummy"
        Monitor         "Generic Monitor"
        DefaultDepth    8
        SubSection "Display"
                Modes           "320x240"
        EndSubSection
EndSection

Section "Screen"
	Identifier	"Screen1"
	Device		"nvidia1"
	Monitor		"Monitor1"
	Defaultdepth	24
    SubSection     "Display"
        Depth       24
        Modes      "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "Screen"
	Identifier	"Screen2"
	Device		"nvidia2"
	Monitor		"Monitor2"
	Defaultdepth	24
    SubSection     "Display"
        Depth       24
        Modes      "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "ServerLayout"
        Identifier      "MultiSeat"
        Screen          "Dummy Screen"
        InputDevice     "Generic Keyboard"
        InputDevice     "Configured Mouse"
EndSection

Section "ServerLayout"
	Identifier	"Seat1"
 	Screen 0 "Screen1" 0 0
	Inputdevice	"Keyboard1"	"CoreKeyboard"
	Inputdevice	"Mouse1"	"CorePointer"
	Option		"SingleCard"	"Yes"
        Option "IsolateDevice"  "PCI:1:0:0"
EndSection

Section "ServerLayout"
	Identifier	"Seat2"
	Screen 0 "Screen2" 0 0
	Inputdevice	"Keyboard2"	"CoreKeyboard"
	Inputdevice	"Mouse2"	"CorePointer"
        Option 	"IsolateDevice"  "PCI:2:0:0"
	Option		"SingleCard"	"Yes"
EndSection
and gdm.conf-custom:

Code:
# GDM Configuration Customization file.
#
# This file is the appropriate place for specifying your customizations to the
# GDM configuration.   If you run gdmsetup, it will automatically edit this
# file for you and will cause the daemon and any running GDM GUI programs to
# automatically update with the new configuration.  Not all configuration
# options are supported by gdmsetup, so to modify some values it may be
# necessary to modify this file directly by hand.
#
# Older versions of GDM used the "gdm.conf" file for configuration.  If your
# system has an old gdm.conf file on the system, it will be used instead of
# this file - so changes made to this file will not take effect.  Consider
# migrating your configuration to this file and removing the gdm.conf file.
#
# To hand-edit this file, simply add or modify the key=value combination in
# the appropriate section in the template below.  Refer to the comments in the
# /usr/share/gdm/defaults.conf file for information about each option.  Also
# refer to the reference documentation.
#
# If you hand edit a GDM configuration file, you should run the following
# command to get the GDM daemon to notice the change.  Any running GDM GUI
# programs will also be notified to update with the new configuration.
#
# gdmflexiserver --command="UPDATE_CONFIG <configuration key>"
#
# e.g, the "Enable" key in the "[debug]" section would be "debug/Enable".
#
# You can also run gdm-restart or gdm-safe-restart to cause GDM to restart and
# re-read the new configuration settings.  You can also restart GDM by sending
# a HUP or USR1 signal to the daemon.  HUP behaves like gdm-restart and causes
# any user session started by GDM to exit immediately while USR1 behaves like
# gdm-safe-restart and will wait until all users log out before restarting GDM.
#
# For full reference documentation see the gnome help browser under
# GNOME|System category.  You can also find the docs in HTML form on
# http://www.gnome.org/projects/gdm/
#
# NOTE: Lines that begin with "#" are considered comments.
#
# Have fun!

[daemon]
#VTAllocation=false
[security]

[xdmcp]

[gui]

[greeter]

[chooser]

[debug]

[servers]
0=MultiSeat
1=Standard1
2=Standard2

[server-MultiSeat]
name=Base (dummy) server for multi-seat configuration
command=/usr/bin/X -audit 0 -layout MultiSeat vt09
flexible=false
handled=false

[server-Standard1]
name=Seat 1
command=/usr/bin/X0 -nolisten tcp -audit 0 -layout Seat1 -sharevts -isolateDevice PCI:1:0:0
flexible=false


[server-Standard2]
name=Seat 2
command=/usr/bin/X1 -nolisten tcp -audit 0 -sharevts -isolateDevice PCI:2:0:0 -layout Seat2
flexible=false
 
Old 02-03-2008, 12:49 AM   #23
ethana2
LQ Newbie
 
Registered: Jun 2007
Posts: 15

Rep: Reputation: 0
I am nOW RUNNING UBUNTu hardY.. tHE BACKSPACE and caps lock don't play well together, but I've filed a bug report, so I'm expecting a fix to come soon. I'm just not going to worry about it, for the sake of my sanity. Please ignore erratic capitalization.
I will be resuming my efforts shortly.
 
Old 02-03-2008, 09:19 PM   #24
ethana2
LQ Newbie
 
Registered: Jun 2007
Posts: 15

Rep: Reputation: 0
I have changed my approach. As of now i have one working seat, simply the default. I think before I go put that in jeapordy i should consider: what is the correct way to go about this?
System -> Admin -> Screens and Graphics.
My focus has shifted to getting Hardy ready for native, simple dual seat before its release, so no one ever has to go through this again.
 
Old 02-03-2008, 09:51 PM   #25
ethana2
LQ Newbie
 
Registered: Jun 2007
Posts: 15

Rep: Reputation: 0
If you care to see the conversation, here's a link to the archives.
http://irclogs.ubuntu.com/2008/02/04/%23ubuntu+1.html
 
Old 03-10-2008, 11:44 PM   #26
ethana2
LQ Newbie
 
Registered: Jun 2007
Posts: 15

Rep: Reputation: 0
I now have dual seat working with userful... It's using my radeon for both seats (which I didn't think was possible)...

So I have three heads. One of them is what I want, but I want the other one to use my other gpu so I can have working opengl and glx and such, mainly to be able to use a proper (compositing) window manager and maybe acceleration of .svg and flash rendering in gnash with glitz, if that's all in place; you know, whatever. I want opengl.
This requires using one gpu for each seat.

...so there's your update.
Later, I may try to get pulseaudio to give each user one mono channel to put out to speakers and such.
 
Old 03-11-2008, 09:24 AM   #27
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 116Reputation: 116
Now it sounds like you have enough information to write a HowTo, in order to save other folks the pain and effort of a 2 month config/debug session.
 
Old 03-11-2008, 05:25 PM   #28
ethana2
LQ Newbie
 
Registered: Jun 2007
Posts: 15

Rep: Reputation: 0
My HowTo:

If you have two seats, use userful. If not, I don't envy the experience before you, go ask someone else. (Or buy userful for more than two seats)

...I think canonical should buy userful and merge it with 'Screens and Graphics'. It should never involve proprietary software or be so much of a pain.
 
Old 03-12-2008, 06:35 PM   #29
ethana2
LQ Newbie
 
Registered: Jun 2007
Posts: 15

Rep: Reputation: 0
From #xorg, in the middle of the night. My time stamps are turned off, sorry...

sylvain-fr: Hi all
sylvain-fr: Anybody knows about multiseat please ?
simosx [n=simosx@unaffiliated/simosx] entered the room.
Wulfie left the room ("Leaving").
baze left the room (quit: "Ex-Chat").
sylvain-fr: nobody ?
Erik_A_ left the room (quit: Read error: 110 (Connection timed out)).
meshugga left the room (quit: Remote closed the connection).
saschahl left the room (quit: "Quit").
meshugga [i=philip@loeblich.linuxteam.at] entered the room.
sylvain-fr: bye

Sad, isn't it? All you people out there looking for help with multiseat, just visit #xorg on irc.freenode.net and __don't leave until your questions are answered__.

If sylvain-fr had not left that channel when he did, I would have gotten back to him in the morning. sylvain-fr, if you see this, email me at ethana2@gmail.com

I've added him to my contacts in pidgin. The second he shows up on freenode again, I'll contact him directly, if I'm present.

My next mission with this setup may go beyond what userful is capable of. This means I have to get it out of my way. ..which in turn means I have to understand it, remove it, and replicate it's effects. I still only need two seats-- and I'm not just trying to undercut them, but if they want to really make money, they should get canonical to buy them and integrate their configuration generator right into ubuntu.
 
Old 07-09-2008, 02:29 PM   #30
otoomet
Member
 
Registered: Oct 2004
Location: Tartu, Århus,Nürnberg, Europe
Distribution: Debian, Ubuntu, Puppy
Posts: 619

Original Poster
Rep: Reputation: 45
Well, the dummy server (see above) turned out not to be a good idea. So we switched back to just two servers as initially.

The annoying shift seems not to be a problem any more since we shifted to Hardy, kernel 2.6.24-19, and added the option 'no-scroll' to grub boot menu.

Currently it just works.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Build a DAW - audiorecording computer - Tips ? freakrush Linux - Hardware 0 06-13-2006 05:16 AM
I`m foreward to build a laptop computer schneemann Linux - Hardware 10 05-04-2006 02:52 PM
How to build a network/share files with and XP Computer??? aktiwers Linux - Networking 1 06-03-2004 07:14 AM
Build my own computer and use linux? degraffenried13 Linux - General 39 12-29-2003 04:38 PM
I want to build a computer for linux Cor_Tauri Linux - Newbie 1 06-13-2001 06:03 PM

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

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