I have installed knoppix 3.2 (I know 3.3 is available) I have done apt-get update and some 90 programs have been installed or upgraded. I now have kde 3.1.4.
My only problem (at present) is that the screen resolution is 800x600 and I can get 1024x768 in redhat 9 as well as slackware 9 on the same box. Is there some debian specific tool to configur X in knoppix ? I searched for Xconfigurator but it's not to be found (? rh specific ?)
Thanks,
Sharukh.
On Mon, Nov 03, 2003 at 11:38:33PM +0530, Dr. Sharukh K. R. Pavri. wrote:
My only problem (at present) is that the screen resolution is 800x600 and I can get 1024x768 in redhat 9 as well as slackware 9 on the same box. Is there some debian specific tool to configur X in knoppix ? I searched for Xconfigurator but it's not to be found (? rh specific ?)
There are two ways to configure X in Debian. One is to use the standard tool callex xf86cfg - it opens up an X display and shows a panel to configure your mouse, keyboard, card and monitor.
The second is to use the dpkg command "dpkg-reconfigure <package>" which is provided by debconf. The value for <package> is usually "xserver-xfree86", but do a "dpkg -l xserver-* | grep ii" to be sure. This command basically calls up the configure scripts that are part of the package, and which are run when you install a package for the first time.
TIP: I don't know what Knoppix is based on, but you might want to consider using Debian testing, or unstable, just to keep up with the bleeding edge! Would require band-width for the initial upgrade, though!
Sameer.
On Tue, 04 Nov 2003, Sameer D. Sahasrabuddhe wrote:
Next LUG meet: 9 Nov 2003 around 4 pm - VJTI
TIP: I don't know what Knoppix is based on, but you might want to consider using Debian testing, or unstable, just to keep up with the bleeding edge! Would require band-width for the initial upgrade, though!
It's based on debian testing. apt-get updated some 80 mb worth of debs after installation.
Sharukh.
I have installed knoppix 3.2 (I know 3.3 is available) I have done apt-get update and some 90 programs have been installed or upgraded. I now have kde 3.1.4.
My only problem (at present) is that the screen resolution is 800x600 and I can get 1024x768 in redhat 9 as well as slackware 9 on the same box. Is there some debian specific tool to configur X in knoppix ? I searched for Xconfigurator but it's not to be found (? rh specific ?)
dpkg-reconfigure xserver-xfree86 is the command you are looking for. But AFAIK In knoppix 3.2 the configure script has a problem that is, it does not show the description text during the reconfiguring. This is so because of the "xserver-xfree86.templates" file not being in proper shape. to fix this cd to /var/lib/dpkg/info/ directory and then open the above mentioned file in this file you will find numerous sections mentioned as follows
<Example> Template: xserver-xfree86/config/inputdevice/keyboard/options Type: string _description: Please select your keyboard options. For the X server to handle your keyboard as you desire, keyboard options may be entered. Available options depend on which XKB rule set was previously selected. </Example>
In these sections you have to remove the preceding underscore mark from description tag do this for every _description and for _choices line also don't change anything else. Best would be to backup the file before you begin.
Once you do all this then dpkg-reconfigure would rock for you. Do this and then restart xserver by saying /etc/init.d/kdm restart.
Hope this solves your problem.
Shashank
On Tue, 04 Nov 2003, Shashank Ashtikar wrote:
dpkg-reconfigure xserver-xfree86 is the command you are looking for. But AFAIK In knoppix 3.2 the configure script has a problem that is, it does not show the description text during the reconfiguring. This is so because of the "xserver-xfree86.templates" file not being in proper shape. to fix this cd to /var/lib/dpkg/info/ directory and then open the above mentioned file in this file you will find numerous sections mentioned as follows
<Example> Template: xserver-xfree86/config/inputdevice/keyboard/options Type: string _description: Please select your keyboard options. For the X server to handle your keyboard as you desire, keyboard options may be entered. Available options depend on which XKB rule set was previously selected. </Example>
In these sections you have to remove the preceding underscore mark from description tag do this for every _description and for _choices line also don't change anything else. Best would be to backup the file before you begin.
Once you do all this then dpkg-reconfigure would rock for you. Do this and then restart xserver by saying /etc/init.d/kdm restart.
Hope this solves your problem.
yes it did, many thanks :)
regards,
Sharukh.
On Monday 03 November 2003 19:08, Dr. Sharukh K. R. Pavri. wrote:
Next LUG meet: 9 Nov 2003 around 4 pm - VJTI
.
My only problem (at present) is that the screen resolution is 800x600 and I can get 1024x768 in redhat 9 as well as slackware 9 on the same box. Is there some debian specific tool to configur X
xf86cfg
or (STATUTORY WARNING: Configuring X as listed below can damage your wallet)
edit lilo.conf a line with an append= "<yak, yak> " is present. add screen=1024x768 to this line. append= "<yak, yak> screen=1024x768"
reinstall lilo
alternately edit /etc/X11/XF86config-4 you will have to add "1024x768 to your section "screen" subsection "display"as shown below. Note that there will be several subsection display add 1024x768 to the subsection which matches the default color depth. Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" DefaultColorDepth 24 ^^^^ SubSection "Display" Depth 24 ^^^^ Modes "1024x768/60Hz" "640x480" Virtual 0 0