upgrade slack-current with slackpkg, problem with Xorg
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
upgrade slack-current with slackpkg, problem with Xorg
HI guys!
I recently update my current slack with slackpkg.
obviously with a re-install of the nvidia drivers.
but when i want to reconfigure xorg.conf, xorgconf doesnt exist, only xorgsetup and, by the way, when i use it, freeze my pc.
problems of .conf files? i have the lastest packages
Make sure you removed the packages that were marked as "removed" in the ChangeLog"
slackpkg clean-system will do this for you but be sure to go through the list and uncheck any of your own custom packages or it will remove those too.
(Wouldn't hurt to re-install the NVidia driver after this)
You might also try "X -configure" (After following the above instructions).
In fact, with the new X I can get away with just having the following in xorg.conf
Here's another case where you must use and edit xorg.conf (or some other file I'm not aware of) with the new X.Org 1.6.1 in Slackware64 -current (Thu Jun 11 13:57:36 CDT 2009):
Before upgrading to the latest -current with X.Org 1.6.1, I could start rxvt-unicode with the following options:
Code:
urxvt -geometry 166x52 -fn "8x16bold" -pe tabbed -bg black -fg white
I decided to try what mRgOBLIN posted, changed my xorg.conf to match the above, restarted X and hald, and now it won't launch rxvt-unicode because:
Code:
mingdao@jeremiah:~$ urxvt -geometry 166x52 -fn "8x16bold" -pe tabbed -bg black -fg white &
[1] 29316
mingdao@jeremiah:~$ urxvt: unable to load base fontset, please specify a valid one using -fn, aborting.
Apparently 8x16bold is not in the base fontset with the new X.Org server.
Following both the instructions from both mRgOBLIN and X.Org, I ran "X -configure" and generated a new xorg.conf, and moved it to /etc/X11/xorg.conf and restarted the X server and hald. Still the same result:
Code:
mingdao@jeremiah:~$ urxvt -geometry 166x52 -fn "8x16bold" -pe tabbed -bg black -fg white &
[1] 12071
mingdao@jeremiah:~$ urxvt: unable to load base fontset, please specify a valid one using -fn, aborting.
So, where is the 8x16bold font the previous xorg.conf used, and why is it not now loaded? To find out I first diffed the newly generated file and my old xorg.conf to check the FontPaths:
Code:
mingdao@jeremiah:~$ diff -y /etc/X11/xorg.conf /etc/X11/xorg.conf~
<snip>
Section "Files" Section "Files"
ModulePath "/usr/lib64/xorg/modules" |
FontPath "/usr/share/fonts/TTF" | # The location of the RGB database. Note, this is the name o
FontPath "/usr/share/fonts/OTF" | # file minus the extension (like ".txt" or ".db"). There is
FontPath "/usr/share/fonts/Type1" | # no need to change the default.
FontPath "/usr/share/fonts/misc" | # Multiple FontPath entries are allowed (which are concatenat
FontPath "/usr/share/fonts/75dpi/:unscaled" | # as well as specifying multiple comma-separated entries in o
> # command (or a combination of both methods)
> #
> # If you don't have a floating point coprocessor and emacs, M
> # programs take long to start up, try moving the Type1 and Sp
> # to the end of this list (or comment them out).
> #
> # ModulePath can be used to set a search path for the X serve
> # The default path is shown here.
> # ModulePath "/usr/lib/xorg/modules"
> RgbPath "/usr/share/X11/rgb"
> FontPath "/usr/share/fonts/local/"
> FontPath "/usr/share/fonts/misc/"
> FontPath "/usr/share/fonts/OTF/"
> FontPath "/usr/share/fonts/TTF/"
> FontPath "/usr/share/fonts/Type1/"
> FontPath "/usr/share/fonts/CID/"
> FontPath "/usr/share/fonts/Speedo/"
> FontPath "/usr/share/fonts/75dpi/:unscaled"
> FontPath "/usr/share/fonts/100dpi/:unscaled"
> FontPath "/usr/share/fonts/75dpi/"
> FontPath "/usr/share/fonts/100dpi/"
> FontPath "/usr/share/fonts/cyrillic/"
EndSection EndSection
Since the 8x16bold is in /usr/share/fonts/cyrillic/, and "X -configure" did NOT add that $PATH, it apparently needs to be added to xorg.conf -- or somewhere else. Once I added that FontPath to my new xorg.conf, restarted hald and X, urxvt launched successfully.
So we can add FontPath to the list of reasons you must use an xorg.conf file with X.Org server 1.6.1.
Me too. Using xorg 1.4.2 everything was allright on my intel i810 video card. After upgrade from current xserver 1.6.1 seems to run fine but java applets and flash video are unreadable mess scattered all over my screen.
I thought that re-creation of my xorg.conf would help, but unlike previously, X -configure hangs
Did you backup your old xorg.conf? I keep all my important configurations
in ~/configs for just such cases as this, and for use after a fresh install.
I never format ~/. If you saved the old one, use it instead.
Make sure you removed the packages that were marked as "removed" in the ChangeLog" This is very important.
Indeed, initially I did not removed these. Then I read your post and I removed all marked for removal. It did not help.
I have a spare partition with another slackware installation just to test such sensitive issues like mass package update. I usually do 'upgradepkg' but as it takes a lot time, this time I just made 'installpkg'. Maybe this is why xorg not working right but I have a feeling that this is not the case. Is there any difference between 'upgradepkg' and 'installpkg; removepkg' sequence?
I'll try to clean-install from current ISO and let you know.
I guess there is something related to intel card driver as it has been much fuss about intel cards performance with xorg1.6 recently
@Bruce Hill: Yes, I have backup of all important configs, so I can return easily to my previous system, I know I can downgrade back to 1.4.2, but this is not necessary as I said I did it on a test system. I just wanted to indicate that latest xorg is not working right on intel i810.
@Bruce Hill: Yes, I have backup of all important configs, so I can return easily to my previous system, I know I can downgrade back to 1.4.2, but this is not necessary as I said I did it on a test system. I just wanted to indicate that latest xorg is not working right on intel i810.
Did you try the new X.Org 1.6.1 server with your old xorg.conf?
Did you try the new X.Org 1.6.1 server with your old xorg.conf?
Yes, on old xorg.conf XFCE and KDE desktops looked OK untill I ran a website with a java applet. Its content was scattered all over the screen. I tried flash - the same. Then I just ran xterm and got the same.
I made a clean install using current-ISO on a formated partition, then I generated new xorg.conf and X seemed to run fine untill I started xterm. Here is a screenshot:
I made a clean install using current-ISO on a formated partition, then I generated new xorg.conf and X seemed to run fine untill I started xterm. Here is a screenshot:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.