Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
teapot
Dec 27, 2003

by Fistgrrl

urbster1 posted:

Thanks for the help teapot :)

So do decorations work now when beryl recognizes everything in X server with nvidia driver?

Adbot
ADBOT LOVES YOU

Fishstick
Jul 9, 2005

Does not require preheating
I'm on FC6 (I know, I know...) running Dbabble in WINE. Lately my messages log has been absolutely flooding with these:
code:
Jul 30 10:18:02 arcanite kernel: 4gb seg fixup, process DBabble.exe (pid 29530), cs:ip 73:6007ee9c
Jul 30 10:18:07 arcanite kernel: printk: 50 messages suppressed.
Jul 30 10:18:07 arcanite kernel: 4gb seg fixup, process DBabble.exe (pid 29530), cs:ip 73:6007ee9c
Jul 30 10:18:12 arcanite kernel: printk: 170 messages suppressed.
Jul 30 10:18:12 arcanite kernel: 4gb seg fixup, process DBabble.exe (pid 29530), cs:ip 73:600525c0
Jul 30 10:18:17 arcanite kernel: printk: 336 messages suppressed.
Jul 30 10:18:17 arcanite kernel: 4gb seg fixup, process DBabble.exe (pid 29530), cs:ip 73:6007ee9c
Jul 30 10:18:22 arcanite kernel: printk: 70 messages suppressed.
Jul 30 10:18:22 arcanite kernel: 4gb seg fixup, process DBabble.exe (pid 29530), cs:ip 73:6007ee9c
Jul 30 10:18:27 arcanite kernel: printk: 54 messages suppressed.
Jul 30 10:18:27 arcanite kernel: 4gb seg fixup, process DBabble.exe (pid 29530), cs:ip 73:6007ee9c
Jul 30 10:18:32 arcanite kernel: printk: 338 messages suppressed.
Jul 30 10:18:32 arcanite kernel: 4gb seg fixup, process DBabble.exe (pid 29530), cs:ip 73:6007ee9c
Jul 30 10:18:38 arcanite kernel: printk: 136 messages suppressed.
Jul 30 10:18:38 arcanite kernel: 4gb seg fixup, process DBabble.exe (pid 29530), cs:ip 73:6007ee9c

code:
[16:07:48][Fishstick@arcanite:/home/Fishstick]> grep "4gb seg fixup, process DBabble.exe" /var/log/messages | wc -l
25833

Other than not using the last piece of windows-only software I have, any suggestions for fixing this? Should I be looking at hardware, kernel, wine, ... ?

teapot
Dec 27, 2003

by Fistgrrl

Fishstick posted:

I'm on FC6 (I know, I know...) running Dbabble in WINE. Lately my messages log has been absolutely flooding with these:
code:
Jul 30 10:18:02 arcanite kernel: 4gb seg fixup, process DBabble.exe (pid 29530), cs:ip 73:6007ee9c
Jul 30 10:18:07 arcanite kernel: printk: 50 messages suppressed.
Jul 30 10:18:07 arcanite kernel: 4gb seg fixup, process DBabble.exe (pid 29530), cs:ip 73:6007ee9c
Jul 30 10:18:12 arcanite kernel: printk: 170 messages suppressed.
Jul 30 10:18:12 arcanite kernel: 4gb seg fixup, process DBabble.exe (pid 29530), cs:ip 73:600525c0
Jul 30 10:18:17 arcanite kernel: printk: 336 messages suppressed.
Jul 30 10:18:17 arcanite kernel: 4gb seg fixup, process DBabble.exe (pid 29530), cs:ip 73:6007ee9c
Jul 30 10:18:22 arcanite kernel: printk: 70 messages suppressed.
Jul 30 10:18:22 arcanite kernel: 4gb seg fixup, process DBabble.exe (pid 29530), cs:ip 73:6007ee9c
Jul 30 10:18:27 arcanite kernel: printk: 54 messages suppressed.
Jul 30 10:18:27 arcanite kernel: 4gb seg fixup, process DBabble.exe (pid 29530), cs:ip 73:6007ee9c
Jul 30 10:18:32 arcanite kernel: printk: 338 messages suppressed.
Jul 30 10:18:32 arcanite kernel: 4gb seg fixup, process DBabble.exe (pid 29530), cs:ip 73:6007ee9c
Jul 30 10:18:38 arcanite kernel: printk: 136 messages suppressed.
Jul 30 10:18:38 arcanite kernel: 4gb seg fixup, process DBabble.exe (pid 29530), cs:ip 73:6007ee9c

code:
[16:07:48][Fishstick@arcanite:/home/Fishstick]> grep "4gb seg fixup, process DBabble.exe" /var/log/messages | wc -l
25833

Other than not using the last piece of windows-only software I have, any suggestions for fixing this? Should I be looking at hardware, kernel, wine, ... ?
Is it a kernel with Xen enabled? And if so, does it happen with a non-Xen kernel?

Fishstick
Jul 9, 2005

Does not require preheating
Xen is enabled for experimentation purposes, but i've turned it off on chkconfig. I haven't been able to test on a non-Xen kernel as this is the only linux desktop I have.

The_Wippuh
Apr 3, 2003

Face, Speed, Dirt!
I just installed Ubuntu using Wubi. I got Wine installed very easily and mirc was a breeze after that. However, I cannot install Counter-Strike: Source from my cd rom. The first disc is a breeze, but in order to get to do disc 2, I have to use a "wine eject" command and then the installer will not see disc 2, even if it's in the drive and mounted.

Ideas?

urbster1
Apr 13, 2005


y⊙U aRE b⊙RING

teapot posted:

So do decorations work now when beryl recognizes everything in X server with nvidia driver?
Nope. I have no idea what the problem is. Beryl starts to load when I select it from beryl manager, the window decorations disappear for a minute, then beryl crashes and loads KWin and I get the error message "The Composite Manager crashed twice within a minute and is therefore disabled for this session."

Turkish Hijinks
Feb 4, 2007

carefree antics or horseplay
Hey teapot! Thanks a lot for the help. After enabling the USB through my bios, I was able to install Ubuntu through the safe graphics mode. Now I have two more problems that I hope you can help me with.

1. I'm not able to connect to my wireless network. The computer is detecting the networks, so I don't think it's a problem with the wireless card. When I click on my own network, it asks me to enter my network password. When I enter the password and click connect, it tries to connect but then fails. I tried this on all three security settings (WEP 128-bit, WEP 64/128-bit Hex, WEP 64/128-bit ASCII)... all gave the same result. Any idea how I might be able to get around this?

2. I can't increase the resolution. I think this is because I can't enable the graphics driver. Every time I go to Desktop Settings, it asks me to restart so that the graphics card can be enabled. However, after restarting, the graphics card is still not enabled. I have an nVidia GEForce 6800 GS.

Thank you, again, for making my transition to Ubuntu easier :)

oh no computer
May 27, 2003

Edit: I'm an idiot

oh no computer fucked around with this message at 23:59 on Jul 30, 2007

teapot
Dec 27, 2003

by Fistgrrl

urbster1 posted:

Nope. I have no idea what the problem is. Beryl starts to load when I select it from beryl manager, the window decorations disappear for a minute, then beryl crashes and loads KWin and I get the error message "The Composite Manager crashed twice within a minute and is therefore disabled for this session."

It looks like you have KDE composite manager enabled, so Beryl conflicts with it. Disable window translucency support in KDE control center for window behavior -- Beryl will do it by itself anyway.

teapot
Dec 27, 2003

by Fistgrrl

Turkish Hijinks posted:

1. I'm not able to connect to my wireless network. The computer is detecting the networks, so I don't think it's a problem with the wireless card. When I click on my own network, it asks me to enter my network password. When I enter the password and click connect, it tries to connect but then fails. I tried this on all three security settings (WEP 128-bit, WEP 64/128-bit Hex, WEP 64/128-bit ASCII)... all gave the same result. Any idea how I might be able to get around this?
It would be nice to know what wireless card do you use, what kind of wireless security protocol is actually used on the access point.

quote:

2. I can't increase the resolution. I think this is because I can't enable the graphics driver. Every time I go to Desktop Settings, it asks me to restart so that the graphics card can be enabled. However, after restarting, the graphics card is still not enabled. I have an nVidia GEForce 6800 GS.

Thank you, again, for making my transition to Ubuntu easier :)

Have you installed nvidia proprietary driver? I don't know if nvidia support will automatically configure resolution, you may have to add it manually, however first make sure that it is actually running with "nvidia" and not "nv" or "vesa" driver (can be seen in /etc/X11/xorg.conf file).

teapot
Dec 27, 2003

by Fistgrrl

Fishstick posted:

Xen is enabled for experimentation purposes, but i've turned it off on chkconfig. I haven't been able to test on a non-Xen kernel as this is the only linux desktop I have.

You can just install a non-Xen kernel, and choose it on boot in GRUB menu. Multiple kernels can easily coexist on the same system.

Turkish Hijinks
Feb 4, 2007

carefree antics or horseplay

teapot posted:

It would be nice to know what wireless card do you use, what kind of wireless security protocol is actually used on the access point.


Have you installed nvidia proprietary driver? I don't know if nvidia support will automatically configure resolution, you may have to add it manually, however first make sure that it is actually running with "nvidia" and not "nv" or "vesa" driver (can be seen in /etc/X11/xorg.conf file).

Sorry about the incomplete information. I have a Linksys WMP54G v.4. The router is also a Linksys. It is set to use WEP 64-bit Hex security.

I'll check the xorg.conf file and report back with updates.

urbster1
Apr 13, 2005


y⊙U aRE b⊙RING

teapot posted:

It looks like you have KDE composite manager enabled, so Beryl conflicts with it. Disable window translucency support in KDE control center for window behavior -- Beryl will do it by itself anyway.
Thanks! I disabled that and now everything seems to be working great after a restart!

Fishstick
Jul 9, 2005

Does not require preheating

teapot posted:

You can just install a non-Xen kernel, and choose it on boot in GRUB menu. Multiple kernels can easily coexist on the same system.

Having never doen so, is there a good guide you can point me to? Mostly in finding the correct one, since it seems only xen kernels are installed.

teapot
Dec 27, 2003

by Fistgrrl

Turkish Hijinks posted:

Sorry about the incomplete information. I have a Linksys WMP54G v.4. The router is also a Linksys. It is set to use WEP 64-bit Hex security.

I'll check the xorg.conf file and report back with updates.

Oh. That's a Ralink card, I had that problem, too (and I am posting through it right now).

Network Manager for some reason does not support it, so you need to install Ralink-specific RutilT.

I don't see it packaged for Ubuntu, so you will have to compile it.

1. Install build-essential package:
code:
sudo apt-get install build-essential
(or equivalent in Synaptic, aptitude, etc.)

Edit: you will have to also install libgtk2.0-dev package.


2. Download http://cbbk.free.fr/bonrom/?download=RutilTv0.15.tar.gz

3. In directory with tar file run:
code:
tar xvzf RutilTv0.15.tar.gz
cd RutilTv0.15
./configure.sh --prefix=/usr --launcher=external
make
sudo make install
4. Run "RutilT WLAN Manager" from menu -> Applications -> Internet or executable rutilt from console. It will show up as an icon in the notification area near the Network Manager applet. Network Manager won't recognize it as active interface, but will still show the SSID of the network when you are connected.

5. If you want it to run automatically after login, add "rutilt" to the session in session manager.

teapot fucked around with this message at 08:25 on Jul 31, 2007

teapot
Dec 27, 2003

by Fistgrrl

Fishstick posted:

Having never doen so, is there a good guide you can point me to? Mostly in finding the correct one, since it seems only xen kernels are installed.

Just install rpm with a non-xen kernel -- it should be automatically configured. Up to date kernel packages are at http://download.fedora.redhat.com/pub/fedora/linux/core/updates/6/i386/

Twlight
Feb 18, 2005

I brag about getting free drinks from my boss to make myself feel superior
Fun Shoe
I've got a server I've inherited and it has many running processes that don't seem to be needed (as I never use an X session) I'm having a hard time trying to figure out what many of these are and if I can safely remove them. Here is a list:

code:
22098 ipaudit   25   0 15652  13m 1560 R 39.8  2.7   0:35.14 MakeReport30
22084 root      16   0 10916 9436  596 R 29.6  1.8   1:32.72 ipaudit
24657 snort     25   0  183m 105m 3320 R 28.6 21.0   3202:30 snort
21441 root      15   0  2156 1020  784 R  1.0  0.2   1:07.43 top
 1972 mysql     15   0  138m  13m 2820 S  0.3  2.7 225:19.84 mysqld
22097 ipaudit   18   0  1592  388  320 S  0.3  0.1   0:00.20 cat
    1 root      15   0  2004  564  532 S  0.0  0.1   0:05.16 init
    2 root      34  19     0    0    0 S  0.0  0.0   0:00.13 ksoftirqd/0
    3 root      RT   0     0    0    0 S  0.0  0.0   0:00.27 watchdog/0
    4 root      10  -5     0    0    0 S  0.0  0.0   0:08.19 events/0
    5 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 khelper
    6 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 kthread
   55 root      10  -5     0    0    0 S  0.0  0.0   0:07.47 kblockd/0
   56 root      20  -5     0    0    0 S  0.0  0.0   0:00.00 kacpid
  114 root      20  -5     0    0    0 S  0.0  0.0   0:00.00 cqueue/0
  115 root      20  -5     0    0    0 S  0.0  0.0   0:00.00 ksuspend_usbd
  118 root      13  -5     0    0    0 S  0.0  0.0   0:00.00 khubd
  120 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 kseriod
  140 root      10  -5     0    0    0 S  0.0  0.0   1:23.86 kswapd0
  141 root      18  -5     0    0    0 S  0.0  0.0   0:00.00 aio/0
  306 root      11  -5     0    0    0 S  0.0  0.0   0:00.00 kpsmoused
  327 root      11  -5     0    0    0 S  0.0  0.0   0:00.00 kmirrord
  334 root      11  -5     0    0    0 S  0.0  0.0   0:00.00 ksnapd
  344 root      11  -5     0    0    0 S  0.0  0.0   9:51.75 kjournald
  383 root      11  -5     0    0    0 S  0.0  0.0   0:00.00 kauditd
  408 root      21  -4  2352  360  356 S  0.0  0.1   0:00.82 udevd
  658 root      11  -5     0    0    0 S  0.0  0.0   0:00.00 ata/0
  659 root      11  -5     0    0    0 S  0.0  0.0   0:00.00 ata_aux
  664 root      11  -5     0    0    0 S  0.0  0.0   0:00.00 ac97/0
  944 root      16   0  7832 2356 1900 S  0.0  0.5   0:11.35 sshd
  947 sbaumkir  15   0  7976 1824 1356 S  0.0  0.4   0:17.51 sshd
  948 sbaumkir  16   0  4452 1440 1220 S  0.0  0.3   0:00.12 bash
  970 root      18   0  4764 1176  936 S  0.0  0.2   0:00.04 su
  971 root      15   0  4580 1480 1208 S  0.0  0.3   0:00.22 bash
 1140 root      15   0  3664  472  404 T  0.0  0.1   0:00.00 tail
 1227 root      20   0  9540 3212 2320 S  0.0  0.6   0:09.56 vim
 1233 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 kjournald
 1511 root      16   0  4764  936  932 S  0.0  0.2   0:00.02 su
 1512 root      15   0  4584 1232 1228 S  0.0  0.2   0:00.71 bash
 1579 root      15   0  3660  408  404 T  0.0  0.1   0:00.00 tail
 1587 root      16   0  1656  560  472 S  0.0  0.1   3:12.25 syslogd
 1590 root      16   0  1604  328  324 S  0.0  0.1   0:00.02 klogd
 1596 root      17   0  9624 2272 2268 T  0.0  0.4   0:00.32 vim
 1615 rpc       23   0  1736  404  400 S  0.0  0.1   0:00.00 portmap
 1634 rpcuser   24   0  1844  596  592 S  0.0  0.1   0:00.04 rpc.statd
 1663 root      15   0  4744  308  284 S  0.0  0.1   0:01.71 rpc.idmapd
 1678 dbus      21   0  3000  312  308 S  0.0  0.1   0:00.02 dbus-daemon
 1722 root      15   0  1820  392  376 S  0.0  0.1   0:38.81 hidd
 1810 root      15   0  1872  608  564 S  0.0  0.1   0:26.24 automount
 1824 root      18   0  1916  440  288 S  0.0  0.1   0:00.82 smartd
 1833 root      18   0  1596  328  324 S  0.0  0.1   0:00.00 acpid
 1842 root      24   0  4996  300  296 S  0.0  0.1   0:00.00 hpiod
 1847 root      15   0 12512 1068  768 S  0.0  0.2   1:25.31 python

ShoulderDaemon
Oct 9, 2003
support goon fund
Taco Defender

Twlight posted:

I've got a server I've inherited and it has many running processes that don't seem to be needed (as I never use an X session) I'm having a hard time trying to figure out what many of these are and if I can safely remove them. Here is a list:

code:
22098 ipaudit   25   0 15652  13m 1560 R 39.8  2.7   0:35.14 MakeReport30
22084 root      16   0 10916 9436  596 R 29.6  1.8   1:32.72 ipaudit
24657 snort     25   0  183m 105m 3320 R 28.6 21.0   3202:30 snort
 1972 mysql     15   0  138m  13m 2820 S  0.3  2.7 225:19.84 mysqld
22097 ipaudit   18   0  1592  388  320 S  0.3  0.1   0:00.20 cat
I'm guessing these are what you're using the server for.

Twilight posted:

code:
    2 root      34  19     0    0    0 S  0.0  0.0   0:00.13 ksoftirqd/0
    3 root      RT   0     0    0    0 S  0.0  0.0   0:00.27 watchdog/0
    4 root      10  -5     0    0    0 S  0.0  0.0   0:08.19 events/0
    5 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 khelper
    6 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 kthread
   55 root      10  -5     0    0    0 S  0.0  0.0   0:07.47 kblockd/0
   56 root      20  -5     0    0    0 S  0.0  0.0   0:00.00 kacpid
  114 root      20  -5     0    0    0 S  0.0  0.0   0:00.00 cqueue/0
  115 root      20  -5     0    0    0 S  0.0  0.0   0:00.00 ksuspend_usbd
  118 root      13  -5     0    0    0 S  0.0  0.0   0:00.00 khubd
  120 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 kseriod
  140 root      10  -5     0    0    0 S  0.0  0.0   1:23.86 kswapd0
  141 root      18  -5     0    0    0 S  0.0  0.0   0:00.00 aio/0
  306 root      11  -5     0    0    0 S  0.0  0.0   0:00.00 kpsmoused
  327 root      11  -5     0    0    0 S  0.0  0.0   0:00.00 kmirrord
  334 root      11  -5     0    0    0 S  0.0  0.0   0:00.00 ksnapd
  344 root      11  -5     0    0    0 S  0.0  0.0   9:51.75 kjournald
  383 root      11  -5     0    0    0 S  0.0  0.0   0:00.00 kauditd
  658 root      11  -5     0    0    0 S  0.0  0.0   0:00.00 ata/0
  659 root      11  -5     0    0    0 S  0.0  0.0   0:00.00 ata_aux
  664 root      11  -5     0    0    0 S  0.0  0.0   0:00.00 ac97/0
 1233 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 kjournald
Kernel tasks. Don't try to stop them, you can't, and bad things would happen if you did. Although you might be able to remove a sound module or something from your kernel, if you really care for some reason.

Twilight posted:

code:
    1 root      15   0  2004  564  532 S  0.0  0.1   0:05.16 init
  408 root      21  -4  2352  360  356 S  0.0  0.1   0:00.82 udevd
  944 root      16   0  7832 2356 1900 S  0.0  0.5   0:11.35 sshd
 1587 root      16   0  1656  560  472 S  0.0  0.1   3:12.25 syslogd
 1590 root      16   0  1604  328  324 S  0.0  0.1   0:00.02 klogd
 1824 root      18   0  1916  440  288 S  0.0  0.1   0:00.82 smartd
 1833 root      18   0  1596  328  324 S  0.0  0.1   0:00.00 acpid
Don't remove these, they are fairly important system daemons.

Twilight posted:

code:
 1615 rpc       23   0  1736  404  400 S  0.0  0.1   0:00.00 portmap
 1634 rpcuser   24   0  1844  596  592 S  0.0  0.1   0:00.04 rpc.statd
 1663 root      15   0  4744  308  284 S  0.0  0.1   0:01.71 rpc.idmapd
NFS stuff; if you aren't a NFS client or server, you probably don't need these.

Twilight posted:

code:
  947 sbaumkir  15   0  7976 1824 1356 S  0.0  0.4   0:17.51 sshd
  948 sbaumkir  16   0  4452 1440 1220 S  0.0  0.3   0:00.12 bash
  970 root      18   0  4764 1176  936 S  0.0  0.2   0:00.04 su
  971 root      15   0  4580 1480 1208 S  0.0  0.3   0:00.22 bash
 1140 root      15   0  3664  472  404 T  0.0  0.1   0:00.00 tail
 1227 root      20   0  9540 3212 2320 S  0.0  0.6   0:09.56 vim
 1511 root      16   0  4764  936  932 S  0.0  0.2   0:00.02 su
 1512 root      15   0  4584 1232 1228 S  0.0  0.2   0:00.71 bash
 1579 root      15   0  3660  408  404 T  0.0  0.1   0:00.00 tail
 1596 root      17   0  9624 2272 2268 T  0.0  0.4   0:00.32 vim
 1847 root      15   0 12512 1068  768 S  0.0  0.2   1:25.31 python
21441 root      15   0  2156 1020  784 R  1.0  0.2   1:07.43 top
This is just a bunch of random processes left over from the SSH connection for your user, the su you ran (bad! use sudo!), the activity you're doing in the root shell, etc.

Twilight posted:

code:
 1678 dbus      21   0  3000  312  308 S  0.0  0.1   0:00.02 dbus-daemon
 1722 root      15   0  1820  392  376 S  0.0  0.1   0:38.81 hidd
 1810 root      15   0  1872  608  564 S  0.0  0.1   0:26.24 automount
 1842 root      24   0  4996  300  296 S  0.0  0.1   0:00.00 hpiod
These are the daemons that seem out of place for a server load, unless you use, in order, the system-wide dbus messaging bus (which is possible), a bluetooth keyboard (possible), automounted filesystems (possible, especially with NFS also on the system), or are setting up an HP printserver (unlikely without cupsd). Frankly, I doubt getting rid of these is worth it.

If you have particular questions about some of these processes, I think I can tell you what everything except the ipaudit stuff does.

Twlight
Feb 18, 2005

I brag about getting free drinks from my boss to make myself feel superior
Fun Shoe

ShoulderDaemon posted:

Good info

Thanks! this is an IDS box, and IPaudit does traffic logging and makes nice graphs. (if you wanted to know :)

Triple Tech
Jul 28, 2006

So what, are you quitting to join Homo Explosion?
Search hates me and not sure how to search for this... I will be intentionally generic since 1) I'm not too good with nix administration 2) it's not by box to administer (I'm a developer).

One of the developers in our group keeps creating files with
code:
user: duder           group: duder
when in reality he should be like the rest of us and do
code:
user: duder           group: groupie
user: triple          group: groupie
So his group is always wrong. How and where do we correct this? If the answer involves checking the fourth field of the /etc/passwd, too late, it's the same as everyone else's in the group. Any ideas?

Edit: sorry it's a SunOS cms01-dc1 5.9 Generic_118558-39 sun4u sparc SUNW,Sun-Fire

Edit2: An admin coworker suggest that we sticky the group of our working directory using chmod g+s <dir>, which worked, but I still feel weird about it since we're not solving the original problem of his group writing incorrectly.

Triple Tech fucked around with this message at 19:29 on Jul 31, 2007

Dinosaurs
Jan 25, 2006

Hey, I'm a complete linux noob, but I've had to deal with it a lot lately at this internship I'm doing. Today I was trying to install pygame, but the package installer says 'error: Dependency is not satisfiable: python' I'm pretty certain that I have the latest version of python installed, so I don't know why I would be getting that error.

On a related note, I don't think I have all the dependencies for pygame (a bunch of sdl stuff, I don't really know whats going on), but I can't find a (relatively) easy way to figure out what they are and install them.

so uh...please help me :(

JoeNotCharles
Mar 3, 2005

Yet beyond each tree there are only more trees.

The Madness posted:

Hey, I'm a complete linux noob, but I've had to deal with it a lot lately at this internship I'm doing. Today I was trying to install pygame, but the package installer says 'error: Dependency is not satisfiable: python' I'm pretty certain that I have the latest version of python installed, so I don't know why I would be getting that error.

On a related note, I don't think I have all the dependencies for pygame (a bunch of sdl stuff, I don't really know whats going on), but I can't find a (relatively) easy way to figure out what they are and install them.

You're going to have to tell us what distribution you're using, because they all do package management slightly differently.

Dinosaurs
Jan 25, 2006

Sorry, I'm running Ubuntu 7.04.

MrTheDevious
May 7, 2006

Ahh nostalgia, you cruel bitch

The Madness posted:

Sorry, I'm running Ubuntu 7.04.

Install it from Synaptic and it'll handle dependencies for you. It's called python-pygame in the package manager

Dinosaurs
Jan 25, 2006

MrTheDevious posted:

Install it from Synaptic and it'll handle dependencies for you. It's called python-pygame in the package manager

Well, that was embarrassingly easy. Thanks!

Grigori Rasputin
Aug 21, 2000
WE DON'T NEED ROME TELLING US WHAT TO DO
I'm sure this question has been asked a great deal, but didn't find it while skimming the previous pages. How does a novice go about selecting a Linux distro?

I have experience working with Solaris, Redhat (pre-Fedora), Fedora, Debian and Knoppix but don't really see any major strengths or weaknesses between them as a novice user(save Knoppix, which has more of a niche purpose).

Also, what is a good small, bootable distro? I'm looking for something Knoppix-like that I can put on an iPod or thumbdrive.

Big Big Moon
Sep 2, 2006

In other regions and restaurants it is mispronounced as General Tsao's, General Zhou's, General Tzo's, General So's, General Joe's,

Grigori Rasputin posted:

I'm sure this question has been asked a great deal, but didn't find it while skimming the previous pages. How does a novice go about selecting a Linux distro?

I have experience working with Solaris, Redhat (pre-Fedora), Fedora, Debian and Knoppix but don't really see any major strengths or weaknesses between them as a novice user(save Knoppix, which has more of a niche purpose).

Also, what is a good small, bootable distro? I'm looking for something Knoppix-like that I can put on an iPod or thumbdrive.

DSL is among the smallest and looks, feels, and works great. Puppy is another up-and-coming one around the same size that's geared more towards turn on, turn off browsing. Puppy is an absolute pain in the rear end to install though and DSL is a little more stable. Fluxbuntu is also looking good, although it's much bigger than DSL or Puppy.

I'm going to piggyback on your first question with my own: I'm a CS student who wants to get familiarized with Linux for development, education, tinkering and such. I'm running OSX/Debian 4.0 on my Macbook, but Linux Mint caught my eye for some reason. I'd very much like to combine the simple usability and media support of OSX for day-to-day tasks and the base Debian system of Ubuntu. Wiping the partitions and dedicating the Macbook to Linux Mint, is this advisable? Or is there a better distro out there for an OSX/Linux fusion? Yes, I'm aware OSX is built on BSD. Should I just forget this pipe dream and keep going with my setup?

Big Big Moon fucked around with this message at 22:06 on Jul 31, 2007

Combat Pretzel
Jun 23, 2004

No, seriously... what kurds?!

Triple Tech posted:

So his group is always wrong. How and where do we correct this? If the answer involves checking the fourth field of the /etc/passwd, too late, it's the same as everyone else's in the group. Any ideas?

Edit: sorry it's a SunOS cms01-dc1 5.9 Generic_118558-39 sun4u sparc SUNW,Sun-Fire
usermod -g groupie duder

--edit: Actually, nevermind. Strange issue.
--edit2: Actually, do it anyway. Maybe usermod modifies more than just passwd and group.

Combat Pretzel fucked around with this message at 23:26 on Jul 31, 2007

fletcher
Jun 27, 2003

ken park is my favorite movie

Cybernetic Crumb
How do I give username fletcher access to all files and folders in /var/www on a FC4 system?

teapot
Dec 27, 2003

by Fistgrrl

fletcher posted:

How do I give username fletcher access to all files and folders in /var/www on a FC4 system?

Add it to the group that those files belong to. Access (read-only or read-write) will be determined by group access permissions. Take into account that files created by that user will belong to his group unless the directory is set-group-ID (see previous discussion about group ownership on Solaris). If you need something more complex, use ACLs.

teapot fucked around with this message at 01:57 on Aug 1, 2007

teapot
Dec 27, 2003

by Fistgrrl

Big Big Moon posted:

I'm going to piggyback on your first question with my own: I'm a CS student who wants to get familiarized with Linux for development, education, tinkering and such. I'm running OSX/Debian 4.0 on my Macbook, but Linux Mint caught my eye for some reason. I'd very much like to combine the simple usability and media support of OSX for day-to-day tasks and the base Debian system of Ubuntu. Wiping the partitions and dedicating the Macbook to Linux Mint, is this advisable? Or is there a better distro out there for an OSX/Linux fusion? Yes, I'm aware OSX is built on BSD. Should I just forget this pipe dream and keep going with my setup?

I am not familiar with Linux Mint, however it looks like Ubuntu is doing a pretty good job keeping up with the progress in desktop capabilities and using them in its configuration -- I guess, Mint may be slightly ahead ot it. Debian Stable is great for servers, especially after the relatively recent switchover from Sarge to Etch, however only Unstable really tracks recent Gnome and KDE updates, and neither is doing any distro-specific customizations beyond providing a consistent environment.

I am probably a wrong person to ask about OSX-like desktop on Linux because personally I use Ubuntu with its default Gnome desktop modified in the very opposite direction as I have posted in http://forums.somethingawful.com/showthread.php?s=&threadid=2559269
This is my idea of a usable Linux desktop, however I guess, not many OSX users would like it.

teapot fucked around with this message at 02:12 on Aug 1, 2007

Turkish Hijinks
Feb 4, 2007

carefree antics or horseplay

teapot posted:

:words:

Hey teapot... I have some updates. I had two major problems: my graphics card and my wireless card. Here's where I stand with both issues.

1. Wireless Card: I typed sudo apt-get install build-essential and got an error message which told me that the build-essential package couldn't be found. Then I tried to install libgtk2.0-dev... I got another message which told me to try libgtk2.0-bin instead, so I did... I ended up getting another message which told me that libgtk2.0-bin was up to date. I didn't go any further than that since nothing worked up until this point. What can I do next?

2. Graphics Card: Here is a copy of my xorg.conf file.

quote:

Section "Files"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/input/wacom"
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/input/wacom"
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/input/wacom"
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "Device"
Identifier "Generic Video Card"
Driver "vesa"
BusID "PCI:2:0:0"
EndSection

Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 28-51
VertRefresh 43-60
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Generic Video Card"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
EndSection

Section "DRI"
Mode 0666
EndSection

I hope this helps you out.

Furd_Terguson
Nov 17, 2004

"sheeeeeit"
code:
#!/bin/sh
target="$1"
if [ -e "$target" ]; then
  cdrecord -v dev=6,0,0 driveropts=burnfree $target
else echo "Usage: script.sh <foo.iso>"
fi
Thanks to thenameseli, I now have this basic DVD iso burning script started. I created this as burn_iso.sh, made it executable, and placed it in /bin. I run it by simply typing burn_iso.sh foo.iso just like the script would dictate. When I run the script, it just kicks back the usage portion. I assume this is probably something veyr simple. Any help is appreciated. Thanks.

Greib
Dec 9, 2001

Turkish Hijinks posted:

Hey teapot... I have some updates. I had two major problems: my graphics card and my wireless card. Here's where I stand with both issues.

2. Graphics Card: Here is a copy of my xorg.conf file.


I hope this helps you out.

Given that the load dri line is not removed or commented out it would appear you have not loaded the Nvidia binary driver. To do this you could use a helpful script like easyubuntu:
http://easyubuntu.freecontrib.org/overview.html
Specifics like what resolution you want to run at would help figure out the how exactly to edit the xorg.conf if the nvidia driver app does not do what you want exactly. This would just be an easy way to get this sorted out without much messing around. At least I believe the standard interface to the driver is included in the easyubuntu package. Hope this helps slightly.

teapot
Dec 27, 2003

by Fistgrrl

Turkish Hijinks posted:

Hey teapot... I have some updates. I had two major problems: my graphics card and my wireless card. Here's where I stand with both issues.

1. Wireless Card: I typed sudo apt-get install build-essential and got an error message which told me that the build-essential package couldn't be found. Then I tried to install libgtk2.0-dev... I got another message which told me to try libgtk2.0-bin instead, so I did... I ended up getting another message which told me that libgtk2.0-bin was up to date. I didn't go any further than that since nothing worked up until this point. What can I do next?
You probably somehow managed to not update the packages lists, because both are in the main repository. Check if
code:
deb [url]http://us.archive.ubuntu.com/ubuntu/[/url] feisty main restricted
deb-src [url]http://us.archive.ubuntu.com/ubuntu/[/url] feisty main restricted
deb [url]http://us.archive.ubuntu.com/ubuntu/[/url] feisty-updates main restricted
deb-src [url]http://us.archive.ubuntu.com/ubuntu/[/url] feisty-updates main restricted
are in /etc/apt/sources.list (anywhere in it in any sequence)

If they are there, run
code:
sudo apt-get update
sudo apt-get dist-upgrade
then after it will finish updating try to install the packages again.

quote:

2. Graphics Card: Here is a copy of my xorg.conf file.


I hope this helps you out.

It still has "vesa" driver, so you have to install/configure proprietary nvidia one.

fletcher
Jun 27, 2003

ken park is my favorite movie

Cybernetic Crumb

teapot posted:

Add it to the group that those files belong to. Access (read-only or read-write) will be determined by group access permissions. Take into account that files created by that user will belong to his group unless the directory is set-group-ID (see previous discussion about group ownership on Solaris). If you need something more complex, use ACLs.

Awesome, thanks.

I am starting to hate Plesk on my server, and since I'm going to rebuild the whole thing I might as well reconsider my apache/mod_php/mysql setup. I was looking at alternatives such as Resin and lighttpd. What is my best option? The Java implementation of PHP in Resin has some pretty convincing performance claims.

Fishstick
Jul 9, 2005

Does not require preheating
I'm looking into a way of restricting the amount of resources a webuser can use up in the way of php/perl/httdp processes. Mostly to lessen the effect of a user never updating joomla and getting buttfucked by a script kiddie starting up a ddos.

I've looked at PAM (pam_limits) and mod_perl so far, but it doesn't seem like pam_limits allows a way to use partial wildcards ie:

code:
@admin*        hard    nproc           20
which would be a requirement as all our users/groups are made incrementally (admin1, admin2, etc) and don't belong to a single group.

mod_perl however seems to restrict itself to apache and apache children, unless I'm mistaken? Can anyone else suggest a module/utility that would accomplish this?

Furd_Terguson posted:

code:
#!/bin/sh
target="$1"
if [ -e "$target" ]; then
  cdrecord -v dev=6,0,0 driveropts=burnfree $target
else echo "Usage: script.sh <foo.iso>"
fi
Thanks to thenameseli, I now have this basic DVD iso burning script started. I created this as burn_iso.sh, made it executable, and placed it in /bin. I run it by simply typing burn_iso.sh foo.iso just like the script would dictate. When I run the script, it just kicks back the usage portion. I assume this is probably something veyr simple. Any help is appreciated. Thanks.

Try giving up a complete path to foo.iso, if "foo.iso" doesn't exist (and i'm assuming it will check for its existance in /bin/ unless you give the full path) it will give you said usage notification.

Fishstick fucked around with this message at 10:27 on Aug 1, 2007

covener
Jan 10, 2004

You know, for kids!

Furd_Terguson posted:

code:
#!/bin/sh
target="$1"
if [ -e "$target" ]; then
  cdrecord -v dev=6,0,0 driveropts=burnfree $target
else echo "Usage: script.sh <foo.iso>"
fi
Thanks to thenameseli, I now have this basic DVD iso burning script started. I created this as burn_iso.sh, made it executable, and placed it in /bin. I run it by simply typing burn_iso.sh foo.iso just like the script would dictate. When I run the script, it just kicks back the usage portion. I assume this is probably something veyr simple. Any help is appreciated. Thanks.

No clue where your issue is. Try running the script under an environment by changing the shebang to !#/bin/sh -x

CompFreak
Mar 30, 2001

Furd_Terguson posted:

code:
#!/bin/sh
target="$1"
if [ -e "$target" ]; then
  cdrecord -v dev=6,0,0 driveropts=burnfree $target
else echo "Usage: script.sh <foo.iso>"
fi
Thanks to thenameseli, I now have this basic DVD iso burning script started. I created this as burn_iso.sh, made it executable, and placed it in /bin. I run it by simply typing burn_iso.sh foo.iso just like the script would dictate. When I run the script, it just kicks back the usage portion. I assume this is probably something veyr simple. Any help is appreciated. Thanks.

Weird. Everything looks right and I copy/pasted that to test and it worked as expected. For kicks, include $target in your usage line to see what it's seeing

Adbot
ADBOT LOVES YOU

teapot
Dec 27, 2003

by Fistgrrl

Furd_Terguson posted:

code:
#!/bin/sh
target="$1"
if [ -e "$target" ]; then
  cdrecord -v dev=6,0,0 driveropts=burnfree $target
else echo "Usage: script.sh <foo.iso>"
fi
Thanks to thenameseli, I now have this basic DVD iso burning script started. I created this as burn_iso.sh, made it executable, and placed it in /bin. I run it by simply typing burn_iso.sh foo.iso just like the script would dictate. When I run the script, it just kicks back the usage portion. I assume this is probably something veyr simple. Any help is appreciated. Thanks.

code:
#!/bin/sh
target="$1"
if [ -n "$target" ]; then
  cdrecord -v dev=6,0,0 driveropts=burnfree "$target"
else echo "Usage: script.sh <foo.iso>"
fi
Your script checks for target file's existence, so it only works if you already have a file (to overwrite?). The fixed version checks if target is a non-empty string.

teapot fucked around with this message at 13:22 on Aug 1, 2007

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply