CentOS Icon CentOS Logo
CentOS Text
   
  
www.centos.org Forum Index
   CentOS 6 - Software Support
  Xnest on Centos 6

 

 Bottom   Previous Topic   Next Topic
  •  Rate Thread
      Rate this Thread
      Excellent
      Good
      Average
      Bad
      Terrible
Poster Thread
  •  PBrimacombe
      PBrimacombe
Re: Xnest on Centos 6
#14
Regular Board Member
Joined: 2008/4/18
From
Posts: 53
I did a fresh install of CentOS 6.3 on ottar and renamed it to dell490. Xnest now works but it crashed so I use Xephyr instead. Xephyr hasn't crashed in the last 30 minutes.

One thing, with the old CentOS 5.8 software, the screens would flash NVIDIA everytime I logged in. With the new CentOS 6.3 software that doesn't happen.

Oh and another thing, I have two screens and used the NVIDIA X Server Settings gui to configure them. The displays worked fine but I couldn't move the mouse from the right screen to the left but then I moved the cursor out past the edge of the right screen and it appeared on the left screen! In /etc/X11/org.conf I changed
Screen 1 "Screen1" RighttOf "Screen0"
to
Screen 1 "Screen1" LeftOf "Screen0"
Posted on: 2012/7/28 17:56
Create PDF from Post Print
Top
  •  PBrimacombe
      PBrimacombe
Re: Xnest on Centos 6
#13
Regular Board Member
Joined: 2008/4/18
From
Posts: 53
I decided to use Xephyr instead of Xnest.

when I start it on onottar it blew up the same way as Xnest but I tried it in the reverse sense

on onottar
ssh genie -X

and then from a terminal on genie
Xephyr :1 -ac -once -query localhost -fullscreen

this works, its slow and shaky when I move windows around, but it works
Posted on: 2012/3/30 18:02
Create PDF from Post Print
Top
  •  pschaff
      pschaff
Re: Xnest on Centos 6
#12
Moderator
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
I don't have a CentOS-5 system with Nvidia to look at, nor one with dual cards. On CentOS-6 there's even less:
# cat /etc/X11/xorg.conf
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 270.41.19  (buildmeister@swio-display-x86-rhel47-07.nvidia.com)  Mon May 16 23:52:12 PDT 2011


Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
    ModulePath      "/usr/lib64/xorg/modules/extensions/nvidia"
    ModulePath      "/usr/lib64/xorg/modules"
    FontPath        "/usr/share/fonts/default/Type1"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/input/mice"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

    # generated from data in "/etc/sysconfig/keyboard"
    Identifier     "Keyboard0"
    Driver         "kbd"
    Option         "XkbLayout" "us"
    Option         "XkbModel" "pc105"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection
_________________
Phil

Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions
Posted on: 2012/3/28 20:39
Create PDF from Post Print
Top
  •  PBrimacombe
      PBrimacombe
Re: Xnest on Centos 6
#11
Regular Board Member
Joined: 2008/4/18
From
Posts: 53
I was looking around and maybe /etc/X11/xorg.conf doesn't have enough info?

Section "Device"
        Identifier  "Videocard0"
        Driver      "nvidia"
        BusID       "PCI:7:0:0"
        Screen      0
EndSection

Videocard1 is the same

[Moderator edited to insert code tags, so preserving the format.]
Posted on: 2012/3/28 20:24
Create PDF from Post Print
Top
  •  pschaff
      pschaff
Re: Xnest on Centos 6
#10
Moderator
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
That's much clearer. You may well be correct that the hardware on onottar as I can't reproduce your problem, and don't know what else to suggest. Perhaps with the clear problem statement someone else can offer something constructive.
_________________
Phil

Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions
Posted on: 2012/3/28 20:20
Create PDF from Post Print
Top
  •  PBrimacombe
      PBrimacombe
Re: Xnest on Centos 6
#9
Regular Board Member
Joined: 2008/4/18
From
Posts: 53
thanks again Phil

Please describe concisely what functionality you need, what OS and hardware are on the system on which the display is to be shown, and what is and is not working.

the machine on my desk is onottar, I just updated it to Centos 5.8, it has dual monitors, in xorg.conf they are configured as separate screens, the setup is working fine
ftp.agr.gc.ca:/pub/outgoing/brimacp/xnest/basedata.na4949 describes onottar
it has an nvidia graphics card and I have just updated the nvidia driver

the other machine is genie, I installed Centos 6.2 on it
ftp.agr.gc.ca:/pub/outgoing/brimacp/xnest/*.log are the log files from genie

the functionality I need is to run the command
Xnest -query genie
from onottar


sitting on my desk, I login to onottar, gnome comes up, everything's working fine
I open a terminal window on onottar and enter
Xnest -ac :1 &
and I get an Xnest screen! it doesn't do anything but it is reliable
then I enter
Xnest -query genie.gis.agr.gc.ca -ac :1 &
Xnest window briefly appears and then goes poof with a lot of scary messages
the odd thing is that twice the command has worked and has allowed me to login to genie
I suspect that the problem is related to the dual screens because from a third machine with only one screen I can start Xnest to genie
Posted on: 2012/3/28 19:39
Create PDF from Post Print
Top
  •  pschaff
      pschaff
Re: Xnest on Centos 6
#8
Moderator
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
Sorry but I'm a bit lost here. You have mentioned a number of different systems, presumably with different capabilities and hardware. We are in the CentOS-6 forum area, but at least one system is CentOS-5. You posted a link to the shell script output from one system, and 20 log files, but it is not obvious to me under what circumstances the logs were created, or what they mean.

Please describe concisely what functionality you need, what OS and hardware are on the system on which the display is to be shown, and what is and is not working.
_________________
Phil

Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions
Posted on: 2012/3/28 18:57
Create PDF from Post Print
Top
  •  PBrimacombe
      PBrimacombe
Re: Xnest on Centos 6
#7
Regular Board Member
Joined: 2008/4/18
From
Posts: 53
well I did install the next version of nvidia:

yum list installed "nvidia*"

Installed Packages
nvidia-x11-drv.x86_64 295.33-1.el5.elrepo installed

didn't make any difference
Posted on: 2012/3/28 18:42
Create PDF from Post Print
Top
  •  PBrimacombe
      PBrimacombe
Re: Xnest on Centos 6
#6
Regular Board Member
Joined: 2008/4/18
From
Posts: 53
thanks again for your time Phil

update to the current/supported release 5.8 with "yum update"
done. I first disabled ElRepo, epel and rpmforge, yum update went smoothly

what driver you are using for the Nvidia card
yum list installed "nvidia*"
nvidia-x11-drv.x86_64 195.36.31-1.el5.elrepo installed
I then enable ElRepo
yum list available "nvidia*"
nvidia-x11-drv.x86_64 295.33-1.el5.elrepo elrepo
so an obvious thing would be to install the latest nvidia driver

genie is complaining that "XInputExtension not found"
I copied genie:/log/var/gdm/10.117.202.63* to
ftp.agr.gc.ca:/pub/outgoing/brimacp/xnest

/getinfo.sh driver
07:00.0 VGA compatible controller [0300]: NVIDIA Corporation G71GL [Quadro FX 3500] [10de:029d] (rev a1)

basedata.na4949 is in ftp.agr.gc.ca/pub/outgoing/brimacp/xnest
basedata.na4649 is from the original box onottar
Posted on: 2012/3/28 14:32
Create PDF from Post Print
Top
  •  pschaff
      pschaff
Re: Xnest on Centos 6
#5
Moderator
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
First thing is to update to the current/supported release 5.8 with "yum update". If still having problems, then we need to know what driver you are using for the Nvidia card, and if the dual monitors are otherwise working properly. It would also help for you to provide more information about your system by running "./getinfo.sh driver" and showing us the output file.
_________________
Phil

Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions
Posted on: 2012/3/26 21:19
Create PDF from Post Print
Top
  •  PBrimacombe
      PBrimacombe
Re: Xnest on Centos 6
#4
Regular Board Member
Joined: 2008/4/18
From
Posts: 53
well from a box called jeewani it worked!
Xnest -query genie :1 worked
jeewani has only one monitor
to a large extent the problem is solved

but I still want to run Xnest from my original box called onottar for short
onottar is running Centos 5.5, it also has two monitors (dual head) with an nvidia quatro graphics card
on onottar I can run Xnest back to itself
Xnest -query onottar :1 works


in genie:/var/log/gdm
there are two files that correspond to onottar
10.117.202.63:1-greeter.log
10.117.202.63:1-slave.log


greeter.log has a message
Xlib: extension "RANDR" missing on display "10.117.202.63:1.0".

** (gnome-settings-daemon:19737): WARNING **: Unable to start xrandr manager: RANDR extension is not present
which I believe is simply designed to confuse people

and also this:
** (gnome-power-manager:19750): WARNING **: No idle counter.
Xlib: extension "DPMS" missing on display "10.117.202.63:1.0".
<unknown>: Fatal IO error 11 (Resource temporarily unavailable) on X server 10.117.202.63:1.0.

can anybody help me?
Posted on: 2012/3/26 19:41
Create PDF from Post Print
Top
  •  PBrimacombe
      PBrimacombe
Re: Xnest on Centos 6
#3
Regular Board Member
Joined: 2008/4/18
From
Posts: 53
thanks Phil for your reply

I just went in to work and tried a few things, your command
Xnest :1 -ac worked, I was able to start xclock

so I went back and did Xnest -query genie :1 and it worked too!
it had worked once before and now this is the second time
I was able to login to genie, start eclipse, run five-in-a-row, everything worked
except that sometimes in a terminal window I got capital letters even though cap locks was off
capitals/no capitals was erratic, everything else worked

curiouser and curiouser, if it worked twice then all the software had to be there?

tomorrow I'll look through /var/log/gdm to see if I can see anything
Posted on: 2012/3/25 23:18
Create PDF from Post Print
Top
  •  pschaff
      pschaff
Re: Xnest on Centos 6
#2
Moderator
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
I don't know what's with "-query" but logging in to genie vis ssh with X forwarding and running
Xnest :1 -ac &
should start an Xnest session. I don't know the magic required for gdm but twm works nicely. See Fun with Xnest HowTo and many other similar google results.
_________________
Phil

Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions
Posted on: 2012/3/24 0:01
Create PDF from Post Print
Top
  •  PBrimacombe
      PBrimacombe
Xnest on Centos 6
#1
Regular Board Member
Joined: 2008/4/18
From
Posts: 53
I installed Centos 6 on a box called genie. From another box I want to connect to genie using Xnest. On genie I have edited /etc/gdm/custom.conf, I have also edited gdm.schemas so that DisallowTCP is false. I have rebooted genie many times.

From the other box I first say xhost +genie , I login to genie, set DISPLAY and run xclock and it works!

what gets exciting is when on the other box I run Xnest :1 -query genie momentarily a window opens and then goes poof with a message
*** glibc detected *** Xnest: free(): corrupted unsorted chunks:

same thing happens when I bring the other box down to run level 3 and then do X -query genie same thing poof with a message

from the other box, Xnest :1 -query hpux works! where hpux is the name of an hpux server

any help would be appreciated.
Posted on: 2012/3/23 15:55
Create PDF from Post Print
Top
 Top   Previous Topic   Next Topic

 


 You cannot start a new topic.
 You can view topic.
 You cannot reply to posts.
 You cannot edit your posts.
 You cannot delete your posts.
 You cannot add new polls.
 You cannot vote in polls.
 You cannot attach files to posts.
 You cannot post without approval.




"Linux" is a registered trademark of Linus Torvalds. | All other trademarks are property of their respective owners. | All other content is Copyright @ 2004-2009 by the CentOS Project or "each individual contributor (forums, comments, etc.) unless otherwise assigned".| Theme based on a theme by 7dana.com