[ Pobierz całość w formacie PDF ]

window manager:
startkde -display local_machine_name:0.0 &
The symbol "&" puts the command in the background, so that your telnet window is still available to you.
The 0.0 means "display zero, screen 0", which is your first screen on the first display and makes sense since you
can have many concurrent sessions of X running on your computer with Linux.
You don't have to specify the "-display" option if your environment variable DISPLAY specifies the correct
location on your current terminal, which is the case on my systems by default, but not on everybody else's as I am
told. You can check your DISPLAY setting using:
echo $DISPLAY
- After I finish my remote X session, I restore the access control to my X-server using:
xhost -name_of_the_remote_server
or
xhost -
Example. This sequence of commands will run Netscape on the remote machine called marie,
directing the display to the X-server with X-windows manager which runs on the local
machine hacker:
startx
Part 4: Linux Newbie Administrator FAQ 76
Linux Newbie Guide by Stan, Peter and Marie Klimas 01/08/2003
xhost marie
telnet marie
[login]
netscape -display hacker:0.0 &
[do my stuff]
[logout]
xhost -marie
In principle, you can run a program on any computer on the network, and display the output on any other (not
necessarily the one you are sitting at).
I use remote X-windowing a lot to run fat programs (kde, Word Perfect 8, and Netscape) on a slim machine
(486-33, 8 MB mem) which would not be able to run those by itself. It is also a convenient and fast way to work
with files on a remote system for which the nfs mount is not set up.
X-windows was designed to run remotely over the network. Remote X-windowing is a very powerful tool, on top
of being quite a pleasant experience. Try it out.
You can even run a program on a remote Linux (or any Unix) computer and redirect the display to a local MS
Windows machine if you install an X-windowing program for MS Windows. For a good overview of choices,
see: http://www.linuxworld.com/linuxworld/lw-2000-09/lw-09-legacy_1.html
4.3.9 How do I install TrueType fonts from my MS Windows partition?
Some distributions come with a TrueType font server but no (or a limited choice of) TrueType fonts. You can
install your own TrueType fonts though. Here is how I did it manually. Mandrake includes a GUI utility to transfer
you MS Windows fonts to Linux, so you don't have to bother with the procedure below.
0. From under K-menu (KDE), select "System"-"Font Manager" (or equivalent) and note what fonts you have
installed.
1. On the command line, check if the "free type" font server is installed:
rpm -q freetype
This queries (option "q") the rpm package manager for the package "freetype". If the package is installed, go to
next step. If "freetype" is not installed, install it now from your distribution CD. "freetype" was installed on my
system after a "full" RH installation.
2. As root, make a directory that is to hold your TrueType fonts:
cd /usr/X11R6/lib/X11/fonts
mkdir TrueType
This directory is referred to in the configuration file /etc/X11/XF86Config so make sure that the name of the
directory is exactly as shown. If you would like to name the directory differently, you have to edit
/etc/X11/XF86Config and make appropriate adjustments. My "default installation" RedHat contained such a
line:
FontPath "/usr/X11R6/lib/X11/fonts/TrueType"
3. As root, copy your *.ttf files from the original location to the TrueType font directory that you just created. I
took some TrueType from my MS Windows partition, you may need to use a different source location:
cd /usr/X11R6/lib/X11/fonts/TrueType
cp /mnt/dos_hda1/windows/fonts/my_private_fonts/*.ttf .
Before copying any fonts, make sure that it does not violate your licence agreement.
4. As root, run the following commands:
cd /usr/X11R6/lib/X11/fonts/TrueType
ttmkfdir > fonts.dir
Part 4: Linux Newbie Administrator FAQ 77
Linux Newbie Guide by Stan, Peter and Marie Klimas 01/08/2003
cp fonts.dir fonts.scale
5. Close all X-windows applications and log out from X-windows.
6. As root, restart your X-font server (or reboot your computer):
/etc/rc.d/init.d/xfs stop
/etc/rc.d/init.d/xfs start
7. Log back onto your KDE, and from under K-menu, select "System"-"Font Manager" to see if the fonts
installed correctly.
This parts is based on: http://www.computerbits.com/archive/20001000/linux0010.htm
4.3.10 How do I copy-paste?
Under X-windows, use your mouse: highlight the text to be copied, switch to the location where to copy, and
press the middle mouse button to paste. This works nice and fast, as long as during the switching you don't
disselect the original text. If your mouse has only two buttons (no middle button), use "both buttons together" or [ Pobierz całość w formacie PDF ]

  • zanotowane.pl
  • doc.pisz.pl
  • pdf.pisz.pl
  • elpos.htw.pl