
Mixing 8 and 16/24/32 bit displays in Linux (Redhat)Problem
Assumptions
Setting up
Section "Screen"
Identifier "Screen0"
Device "ATI Mach64"
Monitor "Monitor0"
DefaultDepth 24
Subsection "Display"
Depth 24
Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 8
Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubsection
EndSection
# $Xorg: Xserv.ws.cpp,v 1.3 2000/08/17 19:54:17 cpqbld Exp $ # # Xservers file, workstation prototype # # This file should contain an entry to start the server on the # local display; if you have more than one display (not screen), # you can add entries to the list (one per line). If you also # have some X terminals connected which do not support XDMCP, # you can add them here as well. Each X terminal line should # look like: # XTerminalName:0 foreign # :0 local /usr/X11R6/bin/X vt7 :1 local /usr/X11R6/bin/X -depth 8 vt8
#!/bin/csh if (-e $home/.Xclients) mv $home/.Xclients $home/.Xclients-orig # starts an 8-bit display in window 2 using fluxbox #echo exec /usr/local/bin/fluxbox > $home/.Xclients # start an xwindow display using twm (installed with redhat) echo exec /usr/X11R6/bin/twm > $home/.Xclients # start an xwindow display using icewm #echo exec /usr/bin/icewm > $home/.Xclients chmod a+x $home/.Xclients startx -- :1 -depth 8 rm -f $home/.Xclients if (-e $home/.Xclients-orig) mv $home/.Xclients-orig $home/.Xclients
Running the program
twm instructions
Problems running web in recent Redhat (Fedora core 8)
sudo ln -s /usr/X11R6/lib/libXm.so.4.0.0 /usr/X11R6/lib/libXm.so.3 A second way to get an 8-bit display
> yum install vnc vnc-server
> vncserver -cc 3 -depth 8
| ||||||||
| Changed: | ||||||||
| < < |
| |||||||
| > > |
| |||||||
vncviewer :1
Provide the same password
vncserver -kill :1
| ||||||||