Ed's Adventures in Linux

Message Bookmarked
Bookmark Removed
Another boring computer thread, part, questioning, part relating experiences.

Anyway, it all stems from being given an old pentium 200 which will be a mail, web and file server. I got it a network card and installed Damn small linux. Partly because it was a small download, partly because it has a really basic desktop which will actually run on the paltry hardware I have. Partly because its debian based. Partly because it doesn't have much built in so I can add what I need.

So I reformatted the hard drive, 2.5Gb root, 0.5Gb Swap. Installed a network card. Installed DSL. Gave the machine a static IP and away we go,

First job set up some proper users install sshd so I don't have to do anything sitting in the back room.

Ed (dali), Monday, 2 February 2004 21:47 (twenty-one years ago)

Dude, just use the real Debian which runs fine with that much space, has way more packages and has a proper patch schedule!

Jon Williams (ex machina), Monday, 2 February 2004 21:51 (twenty-one years ago)

The XServer is periferal to my needs, I don't want to lear how to configure that just yet. I tested out KDE and Gnome and the computer just doesn't have the ooomph for either. I like the way DSL set up the really minimal X configuration. Eventually I will work out how to build that setup from debian, but for now time to set up all of the server crap I want.

Ed (dali), Monday, 2 February 2004 22:38 (twenty-one years ago)

OK, getting sshd working was easy, right click menu ->Daemons -> ssh -> start I will enable on startup later

Ed (dali), Monday, 2 February 2004 22:46 (twenty-one years ago)

Good luck, Ed. I wish I were brave enough to jump in the Linux pool.

Girolamo Savonarola, Tuesday, 3 February 2004 00:20 (twenty-one years ago)

youre lucky to have static ip as standard, its a ball ache with dyndns etc..

Willdabeast, Tuesday, 3 February 2004 00:32 (twenty-one years ago)

would like to have a shot at running an old school sun machine.

You can get them for about 40 on ebay.

Wil

Willdabeast, Tuesday, 3 February 2004 00:35 (twenty-one years ago)

have no money for ebay adventures just not, also I will be in trouble if the back room fills up with computer equipment

lesson 1 learnt, damn small linux is not a good idea, even though it runs of hd it still loads a big chunk of itself into a RAM disk, and the memory overflows and processes drop off, like ssh or the xserver. So attempt number two, with debian.

Ed (dali), Tuesday, 3 February 2004 00:41 (twenty-one years ago)

I recently put Mandrake on my old P2-233 only to find that Mandrake is apparently garbage--the installer didn't do anything I told it to and I got to spend this weekend in package dependency hell, rpming endless shared libraries (though manually configuring X wasn't as bad as people say). My current project (and this is a fun one) is getting the retarded Yahama OPL3-SA3 sound chipset thing to work with Linux--I've almost got it I think 'cause ALSA claims to support it but Mandrake ate my gcc. So it's being a bitch about compiling. When I get home I'll post the exact error message it's giving me now and perhaps someone can help me.

adam (adam), Tuesday, 3 February 2004 01:46 (twenty-one years ago)

Mandrake is gay. Use the Debian version that uses kernel 2.6 which has a new ALSA.

Jon Williams (ex machina), Tuesday, 3 February 2004 02:44 (twenty-one years ago)

Mandrake is gay. I never messed with Debian 'cause they don't make it easy to get the .iso's. I'm downloading them now though--any special installation tips or is it fairly straightforward?

adam (adam), Tuesday, 3 February 2004 03:51 (twenty-one years ago)

if you have broadband then get the net install images to save time. I here good things about gentoo as well, but my reason for using debian is familiarity with apt-get.

Ed (dali), Tuesday, 3 February 2004 03:56 (twenty-one years ago)

ex i take it you know about the /rc/ folders for enabling on startup?

Sterling Clover (s_clover), Tuesday, 3 February 2004 06:53 (twenty-one years ago)

anyway unless you really need to use mozilla a system without x and just using screen works just fine, especially as a server.

Sterling Clover (s_clover), Tuesday, 3 February 2004 06:54 (twenty-one years ago)

Gentoo is definitely my favourite linux. Its package download/installation system is better than apt and much better than rpm. Some things it does are a bit unusual, though - its runlevels and startup scripts are completely different to other linuxes.

Gentoo is definitely good for installing on a minimal machine - it's very easy to just install the stuff you want and nothing else.

My current project (and this is a fun one) is getting the retarded Yahama OPL3-SA3 sound chipset thing to work with Linux

I've got one; it works fine with ALSA on a 2.4 kernel. Not tried 2.6, but I'd imagine it will be fine with that too.

caitlin (caitlin), Tuesday, 3 February 2004 11:19 (twenty-one years ago)

gentoo prefers to compile everything from source, no? I can't be arse to wait for everything to compile on a P200 with 32Mb of RAM.

Ed (dali), Tuesday, 3 February 2004 13:57 (twenty-one years ago)

Im scared of Linux.

There. I said it. I feel better.

El Spinktor (El Spinktor), Tuesday, 3 February 2004 14:05 (twenty-one years ago)

Ed, you've got the option to install Gentoo from a Stage 3 iso that has pre-compiled binaries for most things. You can also use emerge to get ebuild (binary) packages later, but it kind of defeats the purpose. I use Gentoo on an old 233MHz laptop and compiled everything from scratch. Runs faster that way after optimizing everything for such a underpowered machine.

Generally, I like Gentoo because you can really get your hands dirty. But, the support forums and emerge in general don't let you get too bogged down IMHO.

Dale the Titled (cprek), Tuesday, 3 February 2004 14:13 (twenty-one years ago)

you saw this Ed, right?

http://www.macosrumors.com/

(scroll down a half page to see the Linux item)

don weiner, Tuesday, 3 February 2004 14:14 (twenty-one years ago)

Anyone got a spare stick of PC66 RAM? Doing things the gentoo way does seem better, I should never have let tsksel run as it took ages to download all of the packages it wanted and then I had to go and remove a load of unwanted ones.

Also I am being tried by trying to set the time using date, it doesn't want to play ball as detailed in it's man page. Is there a little dohicky to sync the clock with a network time server?

Ed (dali), Tuesday, 3 February 2004 14:43 (twenty-one years ago)

I saw that, don, makes sense and it's not even that much of a leap. In stead of using fink to download a load of libraries, why not build them in, or at least build in tweaked versions of them. Apple's very much in the business of using opensource stuff when its as good or better than what they could produce (and cheaper). They have worked out how opensource works and how use it to their advantage and how to give back. I can see them either assiting the koffice open office aqua ports or even wrapping their own UI around either of them Safari style.

Even now Mac OS X is the best *nix distro around. I just can't afford another mac box to be the server, afford at the moment is anything more than free.

Ed (dali), Tuesday, 3 February 2004 14:49 (twenty-one years ago)

apt-get install rdate, Ed.

Paul Eater (eater), Tuesday, 3 February 2004 14:59 (twenty-one years ago)

ED if you find out tell me! The Beast is convinced it's November 2003 and backdates EVERYTHING causing me a hell of a lot of pain. Date does SFA. (The beast is standalone so syncing up to other machine != the solution to correct time I ph34r)

Sarah (starry), Tuesday, 3 February 2004 15:08 (twenty-one years ago)

after trying about twenty ntp servers this worked:

rdate ntp2b.mcc.ac.uk

Ed (dali), Tuesday, 3 February 2004 15:22 (twenty-one years ago)

The MCC has their own server? Marvellous!

(yes haha very funny)

brilliant (starry), Tuesday, 3 February 2004 15:29 (twenty-one years ago)

What's up with the Buffy font all of a sudden?

suzy (suzy), Tuesday, 3 February 2004 15:31 (twenty-one years ago)

Also I set a cron job to set time daily.

However, I have been won over by gentoo, time to install again, minimum system to start with, as long as I can get ssh and screen running I can do the rest remotely.

Ed (dali), Tuesday, 3 February 2004 16:13 (twenty-one years ago)

Gentoo is for people who like to pretend they're UNIX power users. Real men just run their own apt repository of stuff they prefer to have compiled themselves and let Debian deal with the rest.

Jon Williams (ex machina), Tuesday, 3 February 2004 17:17 (twenty-one years ago)

What's Debian?

Markelby (Mark C), Tuesday, 3 February 2004 17:19 (twenty-one years ago)

Er - any clue on MANUALLY setting the date, foax? Any helpful packages? I too am running Debian/Gnome.

Aaah, you ask that Mark, you ask.

Sarah (starry), Tuesday, 3 February 2004 17:21 (twenty-one years ago)

http://www.debian.org/

Jon Williams (ex machina), Tuesday, 3 February 2004 17:22 (twenty-one years ago)

Starry:

date MMDDhhmm
hwclock --systohc --utc

Paul Eater (eater), Tuesday, 3 February 2004 17:26 (twenty-one years ago)

Starry: the 'date' command, surely? date 02031700 would set it to 5pm today, I think. Do it as root, remember.

Ed: I use Gentoo on a P266. Installing the base system took about 3 days.

caitlin (caitlin), Tuesday, 3 February 2004 17:27 (twenty-one years ago)

gentoo, is busy whirring away, much prettier with a background to the shell. Note to gentoo installers, don't use automatic mirror select when piping to resolv.conf (as suggested in the installation instructions), if it fails it adds a load of rubbish to the resolv.conf which causes the next stage to trip up. It took a start again from sratch before I worked out what this was what was going wrong.

Ed (dali), Tuesday, 3 February 2004 17:35 (twenty-one years ago)

LINUX IS READY FOR THE DESKTOP!!! YAY!

Jon Williams (ex machina), Tuesday, 3 February 2004 17:36 (twenty-one years ago)

hmm, I will reserve judgement on that till I get a desktop. Linux is certainly not ready for joe scmoe to install it.

Ed (dali), Tuesday, 3 February 2004 17:38 (twenty-one years ago)

I think there are quite a few easy to install distros at this point.

Jon Williams (ex machina), Tuesday, 3 February 2004 17:38 (twenty-one years ago)

Hold on it has to be American date format? Thanks chaps I'll have another bish tonight along with the Grebt Mame Experiment.

Sarah (starry), Tuesday, 3 February 2004 17:38 (twenty-one years ago)

Joe Schmoe here installed SuSE 8.something (25 quid from pc world) and it works fine.

Pashmina (Pashmina), Tuesday, 3 February 2004 17:40 (twenty-one years ago)

gentoo, is busy whirring away, much prettier with a background to the shell.

Unfortunately, I think you only get that with the installation kernel. To get it to work on a normal kernel requires quite a bit of hacking - at least, it did the last time I thought about setting that up.

caitlin (caitlin), Tuesday, 3 February 2004 17:41 (twenty-one years ago)

oh well, no matter, most work on the box will be done over ssh anyway

Ed (dali), Tuesday, 3 February 2004 17:42 (twenty-one years ago)

hmm, time to set some USE="flags" opportunity to turn off support for kde and gnome and other irrelevant stuff, fantastic.

Ed (dali), Tuesday, 3 February 2004 17:55 (twenty-one years ago)

Unfortunately, I think you only get that with the installation kernel. To get it to work on a normal kernel requires quite a bit of hacking - at least, it did the last time I thought about setting that up.

It's not too difficult, just add some kernel compilation flags for framebuffer, pass some arguments in grub, emerge bootsplash and a couple of other tweaks that are mentioned in a Gentoo framebuffer tutorial that I'm forgetting. I've got it going on mine with a custom background.

Dale the Titled (cprek), Tuesday, 3 February 2004 18:10 (twenty-one years ago)

I don't think installing Linux is the problem with putting it on the average desktop.
It's using the god damned thing. Someone wants to install a program in Windows: they download an exefile, run it.
They want to download something in Linux.... Ooops dependancies, oops learning RPM (though rpmdrake etc helps a lot when the files are available through it)

More to the point, configuring your system can be a serious pain. Anyone can upgrade a driver in Windows, but I'm not sure how many average people want to learn VI or Emacs or whatever and then change runtime mode so they can set up their graphics card for X.
And I don't blame them.
I've just moved to Linux myself, after being a Windows user since '94 or so (whenever Windows 95 came through)
I'm quite enjoying it for the most part, mostly thanks to the shell-scripting and the overall smoother running. But goddamn can it be a pain sometimes.

Installing Flash in Mozilla Firebird took like two days before it finally worked. Grr!
But, of course, if someone sets up the system and you never want to do anything more than use the programs that come with it to browse the net, send emails and write some documents, it'd do. I just think Linux in general demands more of its users than Windows does... Not that this necessarily is such a bad thing, but it's a definite showstopper as far as starting this "*nix desktop revolution" that slashdotters are so convinced is at hand.


XPOst:
It's not too difficult, just add some kernel compilation flags for framebuffer, pass some arguments in grub, emerge bootsplash and a couple of other tweaks
I seriously thought you wrote that as a joke at first :)

Øystein H-O (Øystein H-O), Tuesday, 3 February 2004 18:21 (twenty-one years ago)

Debian takes care of library deps for you and automatically downloads installers when you ask for them.

Jon Williams (ex machina), Tuesday, 3 February 2004 18:27 (twenty-one years ago)

> Mandrake is gay

homophobe 8) i've been using it since 7.0 and never had any trouble with it. apart from supermount.

> I got to spend this weekend in package dependency hell, rpming endless shared libraries

urpmi is your friend. it's mandrake's rpm tool that works like apt, does all the dependancies for you. apt for rpms is also available from various places.

and i'd recommend fluxbox as a lightweight window system. kde is very nice to look at etc but i find it sluggish on my 1GHz p3 so...

setting the date? 'alevt-date -set' sets it to teletext time 8)

andy

koogs (koogs), Tuesday, 3 February 2004 23:28 (twenty-one years ago)

If KDE is sluggish on that system, blame MANDRAKE

Jon Williams (ex machina), Tuesday, 3 February 2004 23:29 (twenty-one years ago)

fluxbox is the wm chosen by damn small linux and it works very well even on my paltry P200.

Ed (dali), Tuesday, 3 February 2004 23:31 (twenty-one years ago)

Someone wants to install a program in Windows: they download an exefile, run it.
They want to download something in Linux.... Ooops dependancies, oops learning RPM (though rpmdrake etc helps a lot when the files are available through it)

This is why Gentoo is a good thing. Just type emerge program and it works out all the dependancies for you. RPMs are a nightmare when it comes to that.

caitlin (caitlin), Wednesday, 4 February 2004 11:10 (twenty-one years ago)

Me and my phone bill are rapidly becoming very ANNOYED with dependency hell. I don't need the sound packages BECAUSE I HAVE NO SOUND CARD and I am NOT going to waste another EVENING on expensive phone calls to

*cries and cries*

Sarah (starry), Wednesday, 4 February 2004 11:13 (twenty-one years ago)

Ok, it is done -- I have upgraded to Hardy. And I have seen the light. I understand now that most if not all of my issues were about the graphics driver. You see, I'm one of the lucky ones that has an ATI graphics card, and as some of you may have had experience with, ATI will not release any of its drivers, so any one you use is just basically a hack. To boot, apparently Gutsy 7.10 had issues with that particular driver that neither the previous version nor the next version have. My graphics driver up and quit the other day after I popped some new RAM into my machine. I guess the already lean-to driver structure just COULD NOT HANDLE the extreme stress of getting more RAM. Pissy little bitch.

Anyway. Hardy runs great. I did a clean install, wiped the drive. It's... very pretty. :)

(Still though, fuck a wobbly window right in the ear.)

kenan, Monday, 21 April 2008 14:10 (seventeen years ago)

I've heard several reports of Vista sp1 actually breaking drivers that previously worked perfectly, so it sounds like Ubuntu has the upper hand there too.

Autumn Almanac, Monday, 21 April 2008 22:27 (seventeen years ago)

feature I am loving: hot corners. Being so used to this Mac feature (Exposé, named in true silly-ass haute-computerese style), I am always jamming my mouse pointer into a corner and expecting it to do that magical thing where it shows me the desktop or all my open windows, and have a half second of confusion when nothing happens. No more!

kenan, Tuesday, 22 April 2008 03:23 (seventeen years ago)

i like hardy... still have a lot to get nailed down and moved in. for me it's a double bonus because the new box is much beefier, so i get speed boosts and a clean, new OS that feels better than xp.

msp, Tuesday, 22 April 2008 04:54 (seventeen years ago)

Is it Hardy specifically that feels better than XP, or just Ubuntu in general?

Autumn Almanac, Tuesday, 22 April 2008 05:19 (seventeen years ago)

oh I have a quick and ready answer to that, just guess what it is.

kenan, Tuesday, 22 April 2008 06:01 (seventeen years ago)

oh wait, strike that, I did not read carefully.

kenan, Tuesday, 22 April 2008 06:02 (seventeen years ago)

Vista is gorgeous but functionally it's an abortion.

Autumn Almanac, Tuesday, 22 April 2008 06:41 (seventeen years ago)

Microsoft did its usual trick of hiding anything omgdangerous from simple users, and as a result you can't find anything.

Autumn Almanac, Tuesday, 22 April 2008 06:42 (seventeen years ago)

ok but anyone new to linux is going to argue that Ubuntu does this 10x worse than microsoft, even though they prolly just don't know better, and any microsoft developer or even devoted low-level IT dude who's used to MS will have a ready (and surprisingly long!) list of reasons why microsoft is awesome and you are LIVING IN THE PAST, despite the fact that you are both nearly 100% verifiably living in the present moment. Microsoft devotees baffle me more every day.

kenan, Tuesday, 22 April 2008 07:21 (seventeen years ago)

And I agree -- Vista gets just about EVERYTHING wrong, except for that nice glassy look. It's the first attractive MS OS. But guess what?... heh

kenan, Tuesday, 22 April 2008 07:22 (seventeen years ago)

Agreed. Have you tried changing the window theme in Vista? You open Control Panel and it's buried somewhere completely illogical.

Change is good if it's for the better or even makes sense. Gnome, kde, xfce all have everything exactly where it would make sense to put it, even if it takes 2-3 goes to find it the first time. MS has gone so overboard with its oversimplifying everything for dumb people and making changes just to obsolete the previous version that it's disappeared well and truly up its own arsehole.35

Autumn Almanac, Tuesday, 22 April 2008 07:31 (seventeen years ago)

This post is four years old, but change a few words and we're right there again:

I don't think installing Linux is the problem with putting it on the average desktop.
It's using the god damned thing. Someone wants to install a program in Windows: they download an exefile, run it.
They want to download something in Linux.... Ooops dependancies, oops learning RPM (though rpmdrake etc helps a lot when the files are available through it)
More to the point, configuring your system can be a serious pain. Anyone can upgrade a driver in Windows, but I'm not sure how many average people want to learn VI or Emacs or whatever and then change runtime mode so they can set up their graphics card for X.
And I don't blame them.
I've just moved to Linux myself, after being a Windows user since '94 or so (whenever Windows 95 came through)
I'm quite enjoying it for the most part, mostly thanks to the shell-scripting and the overall smoother running. But goddamn can it be a pain sometimes.

Installing Flash in Mozilla Firebird took like two days before it finally worked. Grr!
But, of course, if someone sets up the system and you never want to do anything more than use the programs that come with it to browse the net, send emails and write some documents, it'd do. I just think Linux in general demands more of its users than Windows does... Not that this necessarily is such a bad thing, but it's a definite showstopper as far as starting this "*nix desktop revolution" that slashdotters are so convinced is at hand.

kenan, Tuesday, 22 April 2008 07:32 (seventeen years ago)

So yeah, for the first time in history it's 100 percent accurate to say that Linux works better than Windows.

xp The line is blurred now that you have to edit .ini files in Vista just to get some hardware working. And don't start me on vulnerability to exploits.

Autumn Almanac, Tuesday, 22 April 2008 07:37 (seventeen years ago)

I've loads more to say about this. I'll do it when I get home and have a proper keyboard.

Autumn Almanac, Tuesday, 22 April 2008 07:38 (seventeen years ago)

Okay.

The pundits forget this: Most people use Windows that's already installed on something. This is why they don't have trouble with it. If they bought something with Ubuntu (say) pre-installed, including browser config and Flash plugins and all that nonsense, they wouldn't have trouble with it either.

The better modern-day Linux distributions are rock-solid. I'm going to wipe Gutsy (née Feisty) off this and install Hardy from scratch, but only because I choked it with unstable packages (1-2 small things are a bit wonky). Yer average granny won't do anything with her Hardy installation that would necessitate a rebuild, any more than she would with Vista or XP.

Now.

I think one of the blocks to Linux getting market share on the desktop is that it's free. People are sceptical of free things. They think free means not very good. Windows costs $nnn, therefore it must be better.

I don't know how you rectify this, apart from putting Linux on slightly cheaper PCs before they ship or charging an arbitrary amount like some distros do. But I've had people give me funny looks when I explain that it's free. They expect it to be all in Chinglish or blow up or something.

Autumn Almanac, Tuesday, 22 April 2008 08:05 (seventeen years ago)

I believe the addage goes, "Free software is only valuable if your time isn't worth anything."

kenan, Tuesday, 22 April 2008 08:10 (seventeen years ago)

Hah. That was true 10 years ago when you had to fuck around with X11 for 49856345 years in order to get a desktop.

Autumn Almanac, Tuesday, 22 April 2008 08:12 (seventeen years ago)

well two things there: 1) however many years ago it was that it was *more* valid, it's still at least a nice sound-bite-type argument, and that's all it takes usually. And even if it didn't sound so catchy, there's still the issue of 2) X11 is still a bit of a mess, and honestly has nothing like the stability of the Win or Mac desktop environments. Just kind of a fact, I think.

kenan, Tuesday, 22 April 2008 09:36 (seventeen years ago)

Absolutely. But X works 99% of the time now, whereas 10 years ago you had to configure the bastard manually and it still didn't work.

Autumn Almanac, Tuesday, 22 April 2008 10:48 (seventeen years ago)

Anyone had any joy setting up their wireless card (Belkin) in AP mode on Ubuntu? This is pretty painless on XP but I can't find any instructions that make sense to a linux newbie.

If I could do that (and my other pcs and Wii etc could connect to the internet through it) I'd probably make the leap over to Ubuntu for most apps.

Thomas, Tuesday, 22 April 2008 10:55 (seventeen years ago)

By wireless card do you mean wireless router? I think you need a wireless router if you want your Wii &c. to have a wireless connection.

Either way, this is a good starting point: https://wiki.ubuntu.com/?action=fullsearch&context=180&value=wireless&titlesearch=Titles

Autumn Almanac, Tuesday, 22 April 2008 11:19 (seventeen years ago)

Oh, I've just discovered what AP mode is. Sorry.

Autumn Almanac, Tuesday, 22 April 2008 11:20 (seventeen years ago)

Yeah. Basically I don't want to have to buy a standalone router when my desktop PC happily fulfils that role when using XP

like this:-

phoneline---adsl modem---Desktop PC with wireless card ~~~~ wii, laptop, upstairs PC.

I've searched on the Ubuntu forums before, but can't find anything that gives a recognisable answer. I'd have thought that what I'm trying to do isn't that uncommon?

Thomas, Tuesday, 22 April 2008 11:40 (seventeen years ago)

Yeah, weird. I can't help you I'm afraid; I didn't even know this was possible until tonight.

Autumn Almanac, Tuesday, 22 April 2008 11:49 (seventeen years ago)

no probs, thanks for looking :-)

Thomas, Tuesday, 22 April 2008 11:51 (seventeen years ago)

Hah, the Ubuntu sites are down. Them people are crazy.

Autumn Almanac, Thursday, 24 April 2008 13:28 (seventeen years ago)

it's goofy, i see on digg this morning ... HERON IS OUT!

but it's been out for days.

so anyway... yeah, the ubuntu sites are being slogged by digg users no doubt.
m.

msp, Thursday, 24 April 2008 14:59 (seventeen years ago)

Googling this now.. but if anyone knows answer

"session_child_run : could not exec /etc/X11/xinit/Xsession default"

which is preventing me going into runlevel 5 if selinux is enforcing (but not if it is permissive). can go into runlevel 3 and run startx no problem with it still enforcing

(i dont have a ~/.xsession-errors file)

permissions on /etc/X11/xinit/Xsession seem ok

water, Thursday, 24 April 2008 18:40 (seventeen years ago)

ls -l /etc/X11/xinit/Xsession

libcrypt, Thursday, 24 April 2008 18:52 (seventeen years ago)

Never trust anyone who says that something "seems ok" in the world of computers and like stuffs.

libcrypt, Thursday, 24 April 2008 18:53 (seventeen years ago)

unless they're just being honest about the state of computing/networking in general, e.g. "everything SEEMS ok but just you wait"

El Tomboto, Thursday, 24 April 2008 18:55 (seventeen years ago)

good point, 'seems ok' is never a good thing to say!

-rwxr-xr-x 1 root root 3411 Apr 24 09:32 /etc/X11/xinit/Xsession

water, Thursday, 24 April 2008 18:59 (seventeen years ago)

To be fair, that does seem OK.

I suspect the problem is: the user trying to execute it. If you go into runlevel 3 and run startx manually, you're doing it as an ordinary user. If you try to go in runlevel 5, it's being run by init, as root, and not from startx. I'm not a SELinux expert, but I suspect that's what it's objecting to.

Forest Pines Mk2, Thursday, 24 April 2008 19:03 (seventeen years ago)

the new Ubuntu tag line... "You'll never go back." Feeling saucy now, are we?

kenan, Thursday, 24 April 2008 19:03 (seventeen years ago)

Saucy Snake: The next Ubuntu release probably.

libcrypt, Thursday, 24 April 2008 19:04 (seventeen years ago)

You can indeed build X11 so that it's root-executable or not, yes.

libcrypt, Thursday, 24 April 2008 19:06 (seventeen years ago)

Oh, and there's a subhead that says, "Ubuntu 'just works'"

hrm.

kenan, Thursday, 24 April 2008 19:08 (seventeen years ago)

sorry my permissions should have been with a -Z i think

ls -Z

-rwxr-xr-x root root system_u:object_r:bin_t Xsession

water, Thursday, 24 April 2008 19:29 (seventeen years ago)

Ok I think i fixed it. I noticed that the selinux permissions for /sbin/init were

root:object_r:sbin_t

so i ran "/sbin/restorecon -v /sbin/init" and it changed to

system_u:object_r:init_exec_t

it now boots up into runlevel5 no problem

I think Forest Pines, this is what you were saying, so it was the selinux permissions on /sbin/init?

water, Thursday, 24 April 2008 19:55 (seventeen years ago)

Oh, and there's a subhead that says, "Ubuntu 'just works'"

hrm.

-- kenan, Friday, 25 April 2008 05:08 (1 hour ago) Bookmark Link

Without having used Hardy, I maintain that installing Vista would probably be more painful.

Autumn Almanac, Thursday, 24 April 2008 21:03 (seventeen years ago)

Oh and I waited until now to d/l Hardy because I didn't want a release candidate CD floating around the flat for six months. lol 5832 seeds 3909 peers lol

Autumn Almanac, Thursday, 24 April 2008 21:05 (seventeen years ago)

Couple of small problems on my Dell Inspiron 6400, but excellent otherwise. Really nice desktop integration.

Autumn Almanac, Friday, 25 April 2008 08:47 (seventeen years ago)

^ (hardy)

Autumn Almanac, Friday, 25 April 2008 08:48 (seventeen years ago)

I think Forest Pines, this is what you were saying, so it was the selinux permissions on /sbin/init?

Yep.

Forest Pines Mk2, Friday, 25 April 2008 09:33 (seventeen years ago)

Hardy's network http lookups are SO SLOW. Five second delay every single time. I cannot work out what the fuck is going on.

Autumn Almanac, Saturday, 26 April 2008 01:07 (seventeen years ago)

Fixed with a dns cache.

Autumn Almanac, Saturday, 26 April 2008 02:38 (seventeen years ago)

Torrent downloads are slow. I cannot work out why. I tried setting up the whole port forwarding thing and it didn't work, but I almost bricked my wireless router FUCKING HOORAY. Networks can die.

Autumn Almanac, Sunday, 27 April 2008 11:34 (seventeen years ago)

Maybe yr ISP is traffic shaping? Torrents became ridiculously slow for me, even with a stack of seeders.

Noodle Vague, Sunday, 27 April 2008 12:13 (seventeen years ago)

Nah, it's fine on the old Gutsy installation.

Autumn Almanac, Sunday, 27 April 2008 21:10 (seventeen years ago)


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