Blog

SLES10 and Xvfb

Recently I needed to run an application that needs X on a server running SLES10. Because it wasn't necessary to have the application output anything on a screen, the X virtual framebuffer was sufficient to accomplish this. You can easily install the X virtual framebuffer, which comes with the xvfb package in SLES10.
yast -i xorg-x11-Xvfb xorg-x11

Installing the xvfb package is sufficient to start the X virtual framebuffer server, but the application I needed to run also needed some fonts. So, I installed some extra packages as well with yast.
yast -i xorg-x11-fonts-100dpi xorg-x11-fonts-75dpi xorg-x11-fonts-scalable bitstream-vera fonts-config

Tags: 

Topics: 

SLES10 LDAP authentication

Today I was working on a server running SLES10 with LDAP authentication enabled. I tried to add a local user account with home directory /dev/null, but useradd complained that this was an invalid directory. So I manually edited /etc/passwd and changed the home directory.

While editing the passwd file, I found the following line at the end:
+::::::
Since this line looked rather strange to me, I removed the line from the passwd file. Guess what happened...

Samba + CUPS + printing from Windows machine

Recently I have been migrating a Samba PDC and BDC from RHEL 4 to SLES 10 SP1. Everything went pretty well, until I started configuring the printers on the new Samba servers.

I took over both the CUPS and Samba configs, but somehow this wasn't enough for the printers to work. Both the Oce 3165 printers always printed a "Logical error" page instead of the document(s) or test page sent to the printer. After some digging, it turned out I could fix the problem by adding one simple line to the Samba configuration file:

cups options = raw

Tags: 

Topics: 

Pages

Subscribe to RSS - blogs