LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-23-2003, 08:21 AM   #1
roadrash-uk
LQ Newbie
 
Registered: Sep 2003
Location: cambridge UK
Posts: 9

Rep: Reputation: 0
linux on PC & xbox


I have 2 xboxes now running gentoox linux and i was so impressed that i have just installed gentoo linux to a spare pc i have to experiment on and hopefully learn more about linux.
I want to duplicate what i have on the xoxes on the PC but there are a few questions that i cant seem to get the answer to anywhere.

1) when the xbox boots, it loads Xserver and then xfce4 with no intervention. I have installed(emerged) xfree86 on the PC but I still have to login & type startx & startxfce4. How do i get the linux on the PC to skip the login, start X and then then boot into XFCE4?

2) Gentoox on the xbox has SSL installed and i just load putty on the windows PC and enter the IP address of the xbox and then i get to login from the windows PC. I want to do the same on the PC i have linux installed too. I have installed openSSL but when i enter the IP address of the linux PC into putty on the windows PC i just get a message "connection refused". both PC's are linked by a DHCP router. All i can think of is that SSL is not activated when the system boots. any ideas anyone?
 
Old 09-23-2003, 10:31 AM   #2
tangle
Senior Member
 
Registered: Apr 2002
Location: Smithville, TN
Distribution: Slackware
Posts: 1,745

Rep: Reputation: 71
1) You need to change the run level that the PC boots to. You can do this by editing you /etc/innitab. I am not sure what run level that is for Gentoo. I believe that it is a Debian off shoot. You can go to the Debian site and find that out. They will even have a how-to that will tell you how to do it.

2) You need OpenSSH (sshd) not OpenSSL to be running to connect to it remotely. You can either do a port scan or ps x | grep ssh to see if sshd is running. If sshd is installed but no running type sshd at the command line to start it. You can also edit the sshd file /etc/init.d to start it on reboot. I believe you need to change the sXX.sshd to kXX.sshd to start it at boot time. Where the xx is a number. They will explain that too on the Debian site.

Sorry I have not been more informiative. I use Slackware only now and have forgot a lot about the run levels of the other distros.
 
Old 09-23-2003, 03:14 PM   #3
mylo2003
Member
 
Registered: Jul 2003
Posts: 113

Rep: Reputation: 15
Just curious - Why do people put linux on an XBOX? I mean, thats all cool and all. After all, it is your property and you can do what you want with it...

Is it just a thing about being bored with the XBOX and wanting to use the PC (Xbox) for something else? Or can you dual boot with the XBOX OS and Linux? This is no flame just curious.
 
Old 09-23-2003, 03:32 PM   #4
tangle
Senior Member
 
Registered: Apr 2002
Location: Smithville, TN
Distribution: Slackware
Posts: 1,745

Rep: Reputation: 71
Most just want to do it to rumb it in MS face and others do it to say they done it. I don't think that you can dual boot an Xbox.
 
Old 09-23-2003, 03:35 PM   #5
ksgill
Senior Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

Rep: Reputation: 45
What can you do with linux on xbox?
 
Old 09-23-2003, 03:41 PM   #6
tangle
Senior Member
 
Registered: Apr 2002
Location: Smithville, TN
Distribution: Slackware
Posts: 1,745

Rep: Reputation: 71
I think that either Linux Magazine or Linux Journal had an artical on Linux on an Xbox about 3 or 4 months ago. I can't remember what they said they did though. It should be on their website.
 
Old 09-23-2003, 06:26 PM   #7
roadrash-uk
LQ Newbie
 
Registered: Sep 2003
Location: cambridge UK
Posts: 9

Original Poster
Rep: Reputation: 0
ok for all those wondering what i'm doing with linux on an xbox here goes. The xbox is really a intel celeron 733mhz compact PC with a very good nvidia geforce 3/4 ti graphics on board, 10gb hard drive 4 x USB ports, 256 ch sound etc etc. Well M$ dont want anyone to use it as this. Ive actually got 2 xboxes both have 40gb hard drives fitted, keyboards & mouses attached. both are running gentoox linux (as well as being able to play xbox games) and I have a PC as well of course. They are all connected to the net via a 4 port dhcp router. When i'm on the PC my wife or kids use the xbox to surf the net or do anything i would do on the PC and if they want to print something its just sent to my networked shared printer on the PC.
Its a cheap PC but ssshhhh dont tell MS$ that..
 
Old 09-24-2003, 05:55 AM   #8
roadrash-uk
LQ Newbie
 
Registered: Sep 2003
Location: cambridge UK
Posts: 9

Original Poster
Rep: Reputation: 0
I am in big trouble. can someone help me out or i will have lost 2 weeks work. I posted the exact same post on a gentoo forum as I did here and was told.

Quote:
No, dont change anything in inittab. All you do is run:

rc-update add xdm default

You never need to change default runlevels in Gentoo, there are actually only 3 used (see inside /etc/runlevels) and default is "3", so if you change to 5... youre in for a world of trouble.
now when it boots up i get a xfree86 login box and after logging in i get a "Session menu" with only 3 options i can choose, choosesessionlistwidget, Default/Fail safe & Cancel. if i select default/failsafe or cancel i get a black screen with a mouse pointer/cross and cant do anything except hit the reset button. If i select "choosesessionlistwidget" it just sends me back to the xfree86 login box and then after login i'm back at the "session menu" again all i can do to get out of this loop is to hit crtl+alt+F2 which will get me back to the shell. Then if i type startx i just get the message "fatal server error" server is already runningfor display 0.

does anyone know how i can put this right or at least undo whatever the "rc-update add xdm default" command did.
 
Old 09-24-2003, 06:53 AM   #9
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
First of all as far as I'm aware of, in Gentoo(1.4 2003/09/11) runlevel 3,4 and 5 all use the default profile, no matter which one you use there's no difference. All that rc-update command did was adding a symbolic link /etc/runlevels/default/xdm pointing to /etc/init.d/xdm

I don't recommend using xdm, it's ugly don't you think, try gdm, just add "export DISPLAYMANAGER=GDM" to your /etc/profile.env.
The /etc/init.d/xdm script will detect your DISPLAYMANAGER variable and spawn the appropriate desktop manager on boot, therefore there's no need to do anything else.

Note that gdm stores its session files in /etc/X11/gdm/Sessions, so all you need to do is create a file(if its not already there) with "exec /usr/bin/startxfce" in it then it'll show up as a selection in gdm.

hope this helps

Last edited by Demonbane; 09-24-2003 at 06:54 AM.
 
Old 09-24-2003, 09:40 AM   #10
roadrash-uk
LQ Newbie
 
Registered: Sep 2003
Location: cambridge UK
Posts: 9

Original Poster
Rep: Reputation: 0
demonbane ive done what you said but it still boots to the xfree86 login then into a session menu. i think i need to remove that symbolic link cos its causing problems. can you tell me what i need to do, to undo the changes that the "rc-update add xdm default" command did.
 
Old 11-10-2003, 12:16 PM   #11
imurderer
LQ Newbie
 
Registered: Jun 2003
Posts: 18

Rep: Reputation: 0
Quote:
Originally posted by mylo2003
Just curious - Why do people put linux on an XBOX? I mean, thats all cool and all. After all, it is your property and you can do what you want with it...

Is it just a thing about being bored with the XBOX and wanting to use the PC (Xbox) for something else? Or can you dual boot with the XBOX OS and Linux? This is no flame just curious.
I put Linux on my XBOX so I could idle in the IRC chatrooms, really nothing more. I ended up having to use Win XP on my PC so I could play Star Wars Galaxies, and hell no I am gonna let my Windows machine idle for days, so I just loaded Linux on my XBOX and used it for IRC. Kinda odd huh? My current uptime is 15 days Kinda sux but oh well.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Xbox-Linux daniel_jrm Linux - Hardware 2 01-03-2006 04:04 AM
XBOX Linux testament Linux - General 8 01-03-2006 04:01 AM
Linux on Xbox.... Cecil General 7 07-13-2003 04:07 AM
Xbox linux chuck54 Linux - General 2 12-30-2002 09:06 AM
Linux on Xbox? crashmeister Linux - General 5 07-07-2002 05:39 PM


All times are GMT -5. The time now is 03:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration