Disabling GUI
Hello, I was wondering if there was a way to disable the gui during startup. My screen is really wacky looking all of a sudden, and I cant seem to get it back to normal.
|
as root you can usually do init 3. If you want to change the default runlevel at boot, just change the init in /etc/inittab. http://www.redhat.com/docs/manuals/l...down-sysv.html
Code:
id:5:initdefault: |
Well, therein lies the problem. My screen is so screwed up, I cant see to log in, or do anything period. I need to know if there is maybe a button you can hold during startup or something to keep the gui from running in the first place.
|
Slackware usesed init 4 for GUI, but init 3 will get you to the console as pljvaldez said.
regards, ...aaron |
if you hit Ctrl + Alt + F1 (or and F2 - F6) you should be able to get to a tty.
|
SLackware reserves F6 for a tty in init 4. ctrl+alt+F6 will get you to a console, then change your run level to init 3 in your /etc/inittab.
..aaron **edit** sometimes it will be a little buggy, try hitting ctrl+c a few times after you go to tty6 |
Thanks guys, that did the trick.
|
Ok, one more dumb question. Now that I have disable the gui, how can I tell if I am connected to the internet?
|
a common test would be to use the 'ping' command passing either an ip address or hostname (ei linuxquestions.org) as a parameter. you may need to run the command as root. the command will tell you the success rate and thus your connectivity.
|
edit /etc/inittab and change the run level from 4 to 3
then edit whatever you want and change it back from 3 to 4 when it is normal again If your xwindows is all screwed up, you can try running xconfig and see if that fixes it but make sure to backup /etc/X11/xorg.conf first |
you can also try a console web browser. 'links' and 'lynx' both work well.
...aaron |
Thanks, that worked. One more quiestion and I will be done for now, lol. No one can seem to connect to me, anymore. I have beem running a few websites and small online games without any problems. Had some downtime due to a hardware issue. Now I cant get any connections for some reason. I am on a router, and everyone one the same router connects just fine, but no one else can.
|
Do you get an ip addy from dhcp? are you sure it's giving you one? Make sure ip info is correct
|
Yes, I have an ip, I have the ports I want to use forwarded for that ip as well.
|
can you do "route -n" and post it here?
Can you ping the router? |
ok, it seems using the ip address works fine, but the dyndns domain name I have set up is not working. Perhaps my dyndns updater is not working correctly.
|
post 'route -n' and 'iptables -L'
...aaron |
All times are GMT -5. The time now is 11:46 PM. |