Linux - NewbieThis 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!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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?
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.
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..
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.
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.
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.
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.
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.