A thread for boring computer questions.

Message Bookmarked
Bookmark Removed
Not all messages are displayed: show all messages (2397 of them)
OK, got it, nevermind - just kept adding keys til it worked

ron (ron), Saturday, 19 April 2003 17:35 (twenty-one years ago) link

Debian linux question.

I've just installed Debian linux on virtual PC so I can run pySLSK. Its all installed find

I've type in xinit it start up Xwindows. It gives the error:

Fatal server error:
no screens found

Its found the emulated graphics card fine but gives that error.

any ideas?

Ed (dali), Monday, 21 April 2003 18:19 (twenty-one years ago) link

I'd also like to know how to set it up so I can telnet/ssh in and start up x programmes using x11. ( I can already telnet/ssh in I just can't get things to display on x11 just need to know how to set the display)

Ed (dali), Monday, 21 April 2003 18:49 (twenty-one years ago) link

OK I think I need to setup sshd aswell.

Ed (dali), Monday, 21 April 2003 20:30 (twenty-one years ago) link

bump

Ed (dali), Tuesday, 22 April 2003 07:42 (twenty-one years ago) link

Okay, here's my dumbest one yet, Ed. When I plug my PowerBook into the mains, it keeps giving off little electric shocks. Can I stop this?

Nordicskillz (Nordicskillz), Tuesday, 22 April 2003 11:58 (twenty-one years ago) link

Is it when you join the power cable to the transformer, if so do the joining before you plug the plug in. Tell me more about these shocks. (keep this thread up till caitlin looks in).

Ed (dali), Tuesday, 22 April 2003 12:06 (twenty-one years ago) link

It's usually when my Mac is already on, and running low - I just plug the cord into the back and then plug in. There's a magnetic charge coming off of the area either side of the trackpad, and I get shocks coming off of this and the edge of the computer. I'll try plugging in with it switched off.

Nordicskillz (Nordicskillz), Tuesday, 22 April 2003 12:14 (twenty-one years ago) link

You should get that looked at. That doesn't sound good. It sounds like something is shorting to the case. That's not a good thing.

Ed (dali), Tuesday, 22 April 2003 12:21 (twenty-one years ago) link

i fixed sshd.

(This is now the thread where Ed updates about his adventures trying to get Debianlinux and pySOulseek working)

Ed (dali), Tuesday, 22 April 2003 12:59 (twenty-one years ago) link

Ed, the X error on your virtual PC / Debian setup sounds like you don't have X configured properly. "No screens found" means that it doesn't have any monitors configured, I think.

caitlin (caitlin), Tuesday, 22 April 2003 13:43 (twenty-one years ago) link

How do I configure that? When I try to start X it reconises the 'graphics card' but then gives the error I mentioned above.

Also is there a util that allows me to tell what ip address a DHCP server has assigned Debian?

Ed (dali), Tuesday, 22 April 2003 14:15 (twenty-one years ago) link

NordicSkillz, are you on a PowerBook G4? Mine had that problem. I think they fixed it in later models, cos when mine had the motherboard replaced it went away. The only other thing to do is get one of the new earthed power supplies that comes with new PowerBooks. Other than that, it's a normal design flaw.

Graham (graham), Tuesday, 22 April 2003 14:49 (twenty-one years ago) link

There are programs called 'xf86config' and 'xf86cfg' that you can use to generate an X configuration file, but they're both pretty awful to use. The latter, in particular, can be handy for producing an example configuration file that you can then fiddle with manually.

caitlin (caitlin), Tuesday, 22 April 2003 15:11 (twenty-one years ago) link

HELP I've just switched to WinXP and I hate how, in Explorer, if you have several windows/apps open, it stacks them under a single tab on the taskbar. I'd rather they all be flayed out horizontally, no matter how small, so I could open them with one click (rather than clicking on the stacked/meny tab and selecting from there). Thanks for any help.

Aaron A., Wednesday, 23 April 2003 13:15 (twenty-one years ago) link

I have XP but don't have that problem (I do use IE), and can't even figure out how to create it. However, in the taskbar properties there's an option for "Group similar taskbar buttons". Deselecting that might help? Otherwise, playing with options in Tools|Internet Options|Advanced might stumble onto the solution.

I just switched to XP and have a stupid system tray problem. I thought I'd posted it on this thread but I don't see it, so if I'm being repetitive, forgive me. I don't have a connection icon in my system tray when I'm connected to the internet. I've gone to Network Connections, right clicked on my connection for properties, and selected "show icon in notification area when connected". An icon then appears. I also have it set to "always show" on my system tray but the icon disappears right after I log off, and then deselects itself in Network connections when I dial up again. It seems like it may be a prob with XP and my ISP software...annoying.

JuliaA (j_bdules), Wednesday, 23 April 2003 14:00 (twenty-one years ago) link

aaron - right click on the taskbar, select 'properties'

select the 'taskbar' tab if it's not already

uncheck "group similar taskbar buttons"

ron (ron), Wednesday, 23 April 2003 14:56 (twenty-one years ago) link

ah shit sorry julia

ron (ron), Wednesday, 23 April 2003 14:57 (twenty-one years ago) link

julia - it sounds like you are using a dialup connection?? when i was on dialup, the way my network icon behaved led me to believe that it sees every possible connected speed as another distinct icon. i mean - if it connects once at 50.2 kbs and you tell it to always show that icon (it still won't when it's disconnected) - then if next time it connects at 49kbs it puts it as yet another icon... etc.

if the reason you want to always have the icon is so you have something to click on to connect/disconnect, then i suggest putting a network icon in your quicklaunch. also, if you are on a broadband connection, there is a way to get an icon which will connect with one click, rather than popping up the "dial" dialog box. right click the start menu - properties, hit customize button. advanced tab. in the scroll down menu, look for network connections - select "display as connect to menu". the dialup icons in this menu will still bring up a "dial" box, but the broadband connections will just connect automatically when you click them, and you can right click --> disconnect them. so you can copy this shortcut to your desktop or quicklaunch. you could remove the menu from the start menu after you copied that shortcut, if you don't want it.

enough blabbering out of me ;-)

ron (ron), Wednesday, 23 April 2003 15:09 (twenty-one years ago) link

I have dialup, unfortunately. Disconnecting is easy enough, but I like to have the system tray icon so that i can easily monitor my connection if needed.

Thanks for the explanation of the taskbar "always show" not showing...that makes sense in a microsoft-being-ridiculous kinda way.

JuliaA (j_bdules), Wednesday, 23 April 2003 15:57 (twenty-one years ago) link

Thanks, caitlin. Is there a simple way of telling what a DHCP server has set and IP address to on debian.

Ed (dali), Wednesday, 23 April 2003 15:59 (twenty-one years ago) link

NordicSkillz, are you on a PowerBook G4? Mine had that problem. I think they fixed it in later models, cos when mine had the motherboard replaced it went away. The only other thing to do is get one of the new earthed power supplies that comes with new PowerBooks. Other than that, it's a normal design flaw.

Yes Graham, it is a G4. Thanks for the advice, I almost missed it. :)

Nordicskillz (Nordicskillz), Wednesday, 23 April 2003 17:02 (twenty-one years ago) link

Julia and Ron, thanks!! I can't believe that had eluded me for so long.

Aaron A., Wednesday, 23 April 2003 17:14 (twenty-one years ago) link

> Is there a simple way of telling what a DHCP server has set and IP address to on debian.

i'm tempted to say ipconfig but that's a dos command. i'm sure there's something very similar for linux. ifconfig perhaps? can't check without rebooting...

oh, btw, /var/log/XFree86.0.log (or something similar, slocate is your friend here) has lots of details about xfree86 startup problems. have spent ages recently pondering this whilst trying to get tvout to work

andy

koogs (koogs), Wednesday, 23 April 2003 22:29 (twenty-one years ago) link

On the BSDs, dhcp leaves tracks in /var/log/daemon.

Dave Fischer, Thursday, 24 April 2003 01:40 (twenty-one years ago) link

I debian, really the best x86 ix. I chose it becasue I like the package management tools and it was the first one I thought of, but is there one that's simpler to configure? I kind of want to persevere because they have a good PPC version.

How do I configure x access from outside, to get ssh -X working. ssh works now, but I can't start any x apps.

Ed (dali), Thursday, 24 April 2003 05:50 (twenty-one years ago) link


Dumb web Q.: Why is it that the background music on my page only loads in IE, and never in Netscape or Safari? Could there be a simple explanation for this? Can't work it out.

Gatinha (rwillmsen), Thursday, 24 April 2003 12:47 (twenty-one years ago) link

Check the file /etc/ssh/sshd_config on the machine you're logging in to. It should have a line that says "X11Forwarding yes" for X tunnelling to be enabled.

caitlin (caitlin), Thursday, 24 April 2003 13:28 (twenty-one years ago) link

Gatinha, check your pages against the W3C Complaince checker. What did you build it in some apps produce more compliant code than others. The validator should point out your errors. There are also tables of standardised tags and attributes which should work with any browser that claims compliance with W3C.

thanks, caitlin.

Ed (dali), Thursday, 24 April 2003 16:39 (twenty-one years ago) link

hey julia i had a thought about your tray icon situation. i use the sygate personal firewall, and it has it's own network monitoring icon. so i leave the windows network icon hidden at all times and just use the firewall one. the firewall remains running even when the network connection is broken, so the icon's always there. obv you can't use the firewall icon to connect/disconnect, but i use the quicklaunch for that. anyways, just an idea

ron (ron), Friday, 25 April 2003 06:13 (twenty-one years ago) link

Haven't seen if that works because my uni won't let me register anothe MAC address with them, even though the debian machine resides behind an already registered MAC address. So I can't get the virtual machine onto the network, which stops me from ssh ing in. I'll have to wait to get it onto the home network to try it out.

Ed (dali), Friday, 25 April 2003 10:44 (twenty-one years ago) link

OK I've thought of a work round. I've set the mac up as a NAT gateway with DHCP. How do I tell debian to look for the DHCP server at a specific IP adedress?

thanks for all this nannying.

Ed (dali), Friday, 25 April 2003 10:52 (twenty-one years ago) link

Slightly different kind of question. My PC is on its last legs; I've already backed up anything of any worth on the machine, and now I just want a new one so I can reformat this pile of junk and, oh, use it to run my washing machine or something.

So I've been looking online at sites where you can choose the spec for your own computer, building it as you go. It seems that I could get a decent machine for £600 odd, rather than the £900-1000 it would cost bought as a regular package. First of all, a) is this a good idea and b) can anyone recommend reliable and cheap sites for building a computer?

(NB I have no desire or ability to literally build it myself - I just want a bespoke build that someone else then puts together for me)

Thanks!

Mark C (Mark C), Friday, 25 April 2003 10:53 (twenty-one years ago) link

OK scratch that I forgot to reboot the linux box. However having logged in over ssh -X. I still can't launch X programmes though. I get erros like these:

dali@edvpcdeb:~$ xterm &
[1] 266
xterm Xt error: Can't open display:
dali@edvpcdeb:~$ xcalc &
[2] 267
[1] Exit 1 xterm
dali@edvpcdeb:~$ Error: Can't open display:

[2]+ Exit 1 xcalc
dali@edvpcdeb:~$ gimp &
[1] 268
dali@edvpcdeb:~$
Gtk-WARNING **: cannot open display:

[1]+ Exit 1 gimp
dali@edvpcdeb:~$

thanks in advance

Ed (dali), Friday, 25 April 2003 11:02 (twenty-one years ago) link

Building it yourself is not that hard but I can appreciate that you might not have the time and inclination to do so but there are plenty of sites out there that you can google to look at.

See also Morgan computers who sell dead stock and seconds PC. thir shop is on new oxford st but you can google up their website as well.

in the apple world the apple store do refurb computers on wednesday mornings which can be good deals. Shaye also do refurb macs.

As for build to order the best deals are often from local computer stores but try and get a recommendations as I knew a fat bastard cowboy cunt who set one of these places up.

Ed (dali), Friday, 25 April 2003 11:09 (twenty-one years ago) link

Those sort of error messages usually mean that the ssh client on your local machine can't connect to an X server, as far as I know. I take it you've got X set up on the machine you're connecting from; are you sure X is running before you start ssh?

(I'm assuming from what you've said in the past that your ssh client is on an OS X machine that's got X11 installed on it; I've seen those sorts of errors when trying ssh on an OS X machine without X11)

caitlin (caitlin), Friday, 25 April 2003 12:52 (twenty-one years ago) link

I have OS-X and a powerbook.. Can I get virtual-PC and run all those fancy games they got on the PC but dont for the Mac?

phil-two (phil-two), Friday, 25 April 2003 13:00 (twenty-one years ago) link

I'm sshing from xterm in Apple X11. Do I have to change something in the ssh config file on the mac box? I've got allow connections etc turned on on X11.

this is what my ssh_config looks like on the apple box, I just uncomented the forwardX11 value

# Host *
# ForwardAgent no
ForwardX11 yes
# RhostsAuthentication no
# RhostsRSAAuthentication no
# RSAAuthentication yes
# PasswordAuthentication yes
# BatchMode no
# CheckHostIP yes
# StrictHostKeyChecking ask
# IdentityFile ~/.ssh/identity
# IdentityFile ~/.ssh/id_rsa
# IdentityFile ~/.ssh/id_dsa
# Port 22
# Protocol 2,1
# Cipher 3des
# Ciphers aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes$
# EscapeChar ~

I've perused the man page but I'm not sure quite what I ought to change.

For completeness I'll include the sshd_config from the debian machine:

# Package generated configuration file
# See the sshd(8) manpage for defails

# What ports, IPs and protocols we listen for
Port 22
# Use these options to restrict which interfaces/protocols sshd will bind to
#ListenAddress ::
#ListenAddress 0.0.0.0
Protocol 2
# HostKeys for protocol version 2
HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_dsa_key
#Privilege Separation is turned on for security
UsePrivilegeSeparation yes

# ...but breaks Pam auth via kbdint, so we have to turn it off
# Use PAM authentication via keyboard-interactive so PAM modules can
# properly interface with the user (off due to PrivSep)
PAMAuthenticationViaKbdInt no
# Lifetime and size of ephemeral version 1 server key
KeyRegenerationInterval 3600
ServerKeyBits 768

# Logging
SyslogFacility AUTH
LogLevel INFO

# Authentication:
LoginGraceTime 600
PermitRootLogin yes
StrictModes yes

RSAAuthentication yes
PubkeyAuthentication yes
#AuthorizedKeysFile %h/.ssh/authorized_keys

# rhosts authentication should not be used
RhostsAuthentication no
# Don't read the user's ~/.rhosts and ~/.shosts files
IgnoreRhosts yes
# For this to work you will also need host keys in /etc/ssh_known_hosts
RhostsRSAAuthentication no
# similar for protocol version 2
HostbasedAuthentication no
# Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication
#IgnoreUserKnownHosts yes

# To enable empty passwords, change to yes (NOT RECOMMENDED)
PermitEmptyPasswords no

# Uncomment to disable s/key passwords
#ChallengeResponseAuthentication no

# To disable tunneled clear text passwords, change to no here!
PasswordAuthentication yes


# To change Kerberos options
#KerberosAuthentication no
#KerberosOrLocalPasswd yes
#AFSTokenPassing no
#KerberosTicketCleanup no
# Kerberos TGT Passing does only work with the AFS kaserver
#KerberosTgtPassing yes

X11Forwarding yes
X11DisplayOffset 10
PrintMotd no
#PrintLastLog no
KeepAlive yes
#UseLogin no
AllowTcpForwarding yes

#MaxStartups 10:30:60
#Banner /etc/issue.net
#ReverseMappingCheck yes

Subsystem sftp /usr/lib/sftp-server

Caitlin you are such an absolute star for guiding me through this.

Ed (dali), Friday, 25 April 2003 13:11 (twenty-one years ago) link

phil, you can but not some of the more graphics intensive ones. The emulated graphis card is not great and the machine within a machine is quite system hungry.

Ed (dali), Friday, 25 April 2003 13:13 (twenty-one years ago) link

so what about counterstrike or something? i see all these kids playing it in the internet hut, and it looks sort of fun

phil-two (phil-two), Friday, 25 April 2003 13:15 (twenty-one years ago) link

get yourself a copy and try. I don't really game so I don't know?

Ed (dali), Friday, 25 April 2003 13:16 (twenty-one years ago) link

I'm a bit stuck because I've never tried running X11 on a Mac.

Is $DISPLAY set in the shell that you're starting ssh from? If you're starting it from an xterm already running under X11, though, I don't see why it shouldn't be.

caitlin (caitlin), Friday, 25 April 2003 13:20 (twenty-one years ago) link

how do I do that is that a setenv thingy?

Ed (dali), Friday, 25 April 2003 13:20 (twenty-one years ago) link

That depends what shell you're using.

To view its current value (I think in any shell) you type:
echo $DISPLAY

To set it, in sh or bash type:
DISPLAY=:0.0
export DISPLAY

(note that when setting it you *don't* type the $ signs. ':0.0' is its current value on my computer.)

If your shell is tcsh, I *think* you type:
set DISPLAY=:0.0

but I'm not entirely sure, because I never use tcsh.

caitlin (caitlin), Friday, 25 April 2003 13:26 (twenty-one years ago) link

Wahhooooooooooooooo. It works. Thank-you Thank-you Thank-you Thank-you Thank-you Thank-you Thank-you Thank-you Thank-you Thank-you Thank-you.

Thanks for spending so much time sorting me out. now to try and get wxPython an pysoulseek working.

Ed (dali), Friday, 25 April 2003 14:22 (twenty-one years ago) link

One last tiny question then I promiseI will shut up. how do I mount network drives in debian, and have them mount automatically at startup.

thanks again

Ed (dali), Friday, 25 April 2003 16:52 (twenty-one years ago) link

It depends what sort of network drives, really.

NFS ones: with the 'mount' command; and by adding them to the file /etc/fstab. SMB ones, I don't know much about.

I'm dashing off home right now, but I'll tell you more on Monday if noone else has by then.

caitlin (caitlin), Friday, 25 April 2003 16:56 (twenty-one years ago) link

thanks

Ed (dali), Friday, 25 April 2003 16:59 (twenty-one years ago) link

It turns out that the answer for mounting network shares, and doing it automatically on boot, is the same as for local filesystems: use mount and list the filesystem in /etc/fstab.

The fstab file format is dead simple: one line per filesystem, with the following fields: device (or network share), mountpoint, filesystem type, options, dump number and fsck number. For network shares, set the last two to zero. All the listed filesystems will be mounted on boot, unless noauto is included in the options column. If you put user or users in the options column, non-root users will be able to mount that filesystem.

Any questions?

caitlin (caitlin), Monday, 28 April 2003 08:07 (twenty-one years ago) link

RE: Mark C and where to get custom built pc's.
try http://www.novatech.co.uk/novatech/PCranges.html?bp
Dead cheap & great service.

Simeon (Simeon), Monday, 28 April 2003 15:14 (twenty-one years ago) link


You must be logged in to post. Please either login here, or if you are not registered, you may register here.