Re: twm on F15

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 14Jun2011 16:13, Hiisi <hiisi@xxxxxxxxxxxxxxxxx> wrote:
| Is it possible to run twm on fedora 15?
| I can't find anything on it in documentation. The only link I've found
| so far is this:
| http://docs.fedoraproject.org/en-US/Fedora/12/html/Deployment_Guide/s2-x-clients-winmanagers.html
| It's outdated and doesn't work. I did the following:
| became root and run init 3
| then xinit -e /usr/bin/twm
| After that there was an error from X-server about usb-configuration
| and then it halted.

>From "man xinit" (admittedly, not on F15):

    EXAMPLES
       Below are several examples of how command line arguments in xinit 
       are used. [...]

       xinit -e widgets -- ./Xorg -l -c
               This  will  use the command .Xorg -l -c to start the server
               and will append the arguments -e widgets to the default xterm
               command.

So you ended up running:

  xterm /usr/bin/twm

versus the more correct (syntacticly, anyway - it is still the wrong
thing to do).

The standard way to get full control is to make a ~/.xsession shell
script. For example, mine:

  #!/bin/sh
  . /etc/profile
  . $HOME/.profile
  exec $HOME/rc/x11/session

and then the "session" script it runs at the bottom starts the tools of
your choice and then execs your preferred window mangler.

Then just do a GUI login as normal. As yourself, _NOT_ as root!
Try not to muck with root's environment - it is best to not get
surprises when root.

Untested example:

  #!/bin/sh
  ( xterm &
  )
  exec twm

(The purpose of the subshell it to make the clients - xterm - not be
children of the WM - avoids zombies).

Or you could just have the .xsession:

  #!/bin/sh
  . /etc/profile
  . $HOME/.profile
  ( xterm &
  )
  exec twm

Cheers,
-- 
Cameron Simpson <cs@xxxxxxxxxx> DoD#743
http://www.cskk.ezoshosting.com/cs/

I very strongly suggest that you periodically place ice packs over the abused
areas.  - Steve Garnier
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux