(M)  s i s t e m a   o p e r a c i o n a l   m a g n u x   l i n u x ~/ · documentação · suporte · sobre

  Next Previous Contents

6. X-terminal

With no further changes your client should boot on the CLIENT pc, it just happens to be sharing it's files via NFS

At this point you have a console terminal. you need to make just a few more changes to run X

  • Configuring X

    As root on client run Xconfigurator and mouseconfig,

    If this fails use XF86Setup check your RPMS dir on your CD (eg.ls *Setup*)

  • X Font Server
    #chech how xfs starts on server /etc/rc.d/init.d/xfs
      start)
        echo -n "Starting X Font Server: "
        rm -fr /tmp/.font-unix
        daemon --check xfs su xfs -c xfs -s /bin/sh
        touch /var/lock/subsys/xfs
        echo
        ;;
    
    #edit XF86Config for all machines
        FontPath  "tcp/snoball:7100"
    

  • Console login

    You are now set up for a console login to the client PC. You are using the client memory and processor, this is adequate for console programs and there and many or great merit, program in python, email with pine or browse with lynx.

    You may still start X from here, make the server changes in the next section, at the prompt type X -query snoball and you will get the login box to the server

  • Graphical login

    Server set up


    1. Make sure the client is matched by a clause in /etc/X11/xdm/Xaccess
    *   CHOOSER BROADCAST   #any indirect host can get a chooser
    
    
    2. Comment out the :0 in /etc/X11/xdm/Xservers
    #:0 local /usr/X11R6/bin/X
    
    3. Then make sure that xdm is run from the init scripts.
    #etc/inittab
    id:5:initdefault:
    
    and
    # Run xdm in runlevel 5
    # xdm is now a separate service
    x:5:respawn:/etc/X11/prefdm -nodaemon
    xdm:5:respawn:/usr/X11R6/bin/xdm -nodaemon
    

    On the client

    Get the slow PC's to run on the server, Fast PC's (eg 166mhz 32mb ram)can run ok on their own CPU and memory

    the part maarked WARNING dosn't actually work as yet, but I'm close to getting the syntax correct, use the two stage method via the console login in the mean time.


    #/tftpboot/elite/etc/inittab
    
    id:5:initdefault:                                    #WARNING
    x:5:respawn:/usr/X11R6/bin/Xwrapper -query snoball   #WARNING
    
    OR to run on client ??
    
    id:3:initdefault:                                    #runlevel 3 ie console
    x:5:respawn:/etc/X11/prefdm -nodaemon
    


Next Previous Contents