Lowyat.NET Forums

Welcome Guest ( Log In | Register )

 
RSS feedReply to this topicStart new topicStart Poll

Outline · [ Standard ] · Linear+

> <HELP> Cant enter linux in GUI, PROBLEM SOLVED

Law
post Aug 28 2008, 11:57 PM
Show posts by this member only |Rating BETA (0+, 0-) | Post #1


Regular
**

Group: Junior Member
Posts: 82
Joined: April 2005




I was trying to install utorrent in my linux, so at first i install wine...
Then install utorrent...ok, it was success and i able to use utorrent...
yesterday, i dont know what i did to utorrent, it pop up a error message. ( i forgoten what is that error ady)

Today i start my pc, and realise i cant enter to my linux desktop in GUI, all the things are in console mode...
So far i can only access to my Desktop in GUI by typing startx...

It is so troublesome for me to type startx and exit my linux every time when i start my pc...

Is there any solution to fix my problem?

I appreciate all the helps
Thanks...

This post has been edited by Law: Sep 1 2008, 09:40 PM
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
kons
post Aug 29 2008, 07:23 AM
Show posts by this member only |Rating BETA (0+, 0-) | Post #2


Semut Api Junior
Group Icon

Group: Moderator
Posts: 3,289
Joined: October 2004





Which distro are you using?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
oshiri
post Aug 29 2008, 09:32 AM
Show posts by this member only |Rating BETA (0+, 0-) | Post #3


Enthusiast
****

Group: Senior Member
Posts: 585
Joined: November 2004




Could be 1 of these reason:
1. Your hdd is full
2. Your login manager is missing/corrupted (gdm? kdm? xdm? whatever your distro use)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
ZDemon
post Aug 29 2008, 01:49 PM
Show posts by this member only |Rating BETA (0+, 0-) | Post #4


Regular
**

Group: Junior Member
Posts: 130
Joined: August 2007





QUOTE(Law @ Aug 28 2008, 11:57 PM)
I was trying to install utorrent in my linux, so at first i install wine...
Then install utorrent...ok, it was success and i able to use utorrent...
yesterday, i dont know what i did to utorrent, it pop up a error message. ( i forgoten what is that error ady)

Today i start my pc, and realise i cant enter to my linux desktop in GUI, all the things are in console mode...
So far i can only access to my Desktop in GUI by typing startx...

It is so troublesome for me to type startx and exit my linux every time when  i start my pc...

Is there any solution to fix my problem?

I appreciate all the helps
Thanks...
*



what OS do you use?

Looks to me like GDM doesnt start by default.

Is there any error during startup, or just starts cleanly into the terminal?

If so, looks to me like GDM/KDM is disabled in /etc/rc*

Once you get into you desktop tru startx, go to System > Administration > Services.

Make sure Graphical Login Manager (GDM/KDM) is ticked.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Law
post Aug 29 2008, 05:22 PM
Show posts by this member only |Rating BETA (0+, 0-) | Post #5


Regular
**

Group: Junior Member
Posts: 82
Joined: April 2005




QUOTE(ZDemon @ Aug 29 2008, 01:49 PM)
what OS do you use?

Looks to me like GDM doesnt start by default.

Is there any error during startup, or just starts cleanly into the terminal?

If so, looks to me like GDM/KDM is disabled in /etc/rc*

Once you get into you desktop tru startx, go to System > Administration > Services.

Make sure Graphical Login Manager (GDM/KDM) is ticked.
*



FYI, i using debian...
yes...there is an error message about gdm...it was running too fast, i cant really see what really the error message was...

Just now when i start pc, it came out a message prompt me to run "fsck" , and i did it....
Some of the file like gdm, gdm.mo and blah blah were cleared now....

i check to my System > Administration > Services...everythings there are ticked....
Am i deleted those gdm files by running the fsck?
Thanks...

QUOTE(kons)
Which distro are you using?


Debian, bro....Thanks

QUOTE
Could be 1 of these reason:
1. Your hdd is full
2. Your login manager is missing/corrupted (gdm? kdm? xdm? whatever your distro use)


I partitioned 14GB for my linux...
there are 8GB left now...

What if my login manager is corrupted?

This post has been edited by Law: Aug 29 2008, 05:23 PM
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
oshiri
post Aug 29 2008, 07:08 PM
Show posts by this member only |Rating BETA (0+, 0-) | Post #6


Enthusiast
****

Group: Senior Member
Posts: 585
Joined: November 2004




QUOTE
What if my login manager is corrupted?

Reinstall.
CODE
apt-get --reinstall install gdm

then do a reconfigure just to makesure init is there:
CODE
dpkg-reconfigure gdm

and if that does not solve it...try purge and install again:
CODE
dpkg --purge gdm
apt-get install gdm


This post has been edited by oshiri: Aug 29 2008, 07:09 PM
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Law
post Aug 30 2008, 12:23 AM
Show posts by this member only |Rating BETA (0+, 0-) | Post #7


Regular
**

Group: Junior Member
Posts: 82
Joined: April 2005




QUOTE(oshiri @ Aug 29 2008, 07:08 PM)
Reinstall.
CODE
apt-get --reinstall install gdm

then do a reconfigure just to makesure init is there:
CODE
dpkg-reconfigure gdm

and if that does not solve it...try purge and install again:
CODE
dpkg --purge gdm
apt-get install gdm

*



# apt-get --reinstall install gdm

CODE

Reading package lists... Done
Building dependency tree... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0B/4012kB of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue [Y/n]? Y
Media change: please insert the disc labeled
'Debian GNU/Linux 4.0 r3 _Etch_ - Official i386 DVD Binary-1 20080217-11:31'
in the drive '/cdrom/' and press enter

Preconfiguring packages ...
(Reading database ... 123228 files and directories currently installed.)
Preparing to replace gdm 2.16.4-1 (using .../g/gdm/gdm_2.16.4-1_i386.deb) ...
Unpacking replacement gdm ...
Setting up gdm (2.16.4-1) ...
Scheduling reload of GNOME Display Manager configuration: gdm.


dpkg-reconfigure gdm

CODE

Scheduling reload of GNOME Display Manager configuration: gdm.
In file "/usr/share/menu/autopackage-gtk", at (or in the definition that ends at) line 1:
[...]ним ПО\\nName[sq]=Administro \"software" palësh të treta\\nName[sv]=Hantera tredjepartsprogramvara\\nStartupNotify=true\\nTerminal=false\\nType=Application\\n"
[...]                                                 ^
Expected: "="
Skipping file because of errors...


# dpkg --purge gdm

CODE

dpkg: dependency problems prevent removal of gdm:
fast-user-switch-applet depends on gdm.
gnome-desktop-environment depends on gdm (>= 2.14.5).
dpkg: error processing gdm (--purge):
dependency problems - not removing
Errors were encountered while processing:
gdm


This is what i tried...
This is work for me...i able to get back in GUI...

A big thanks to you...oshiri

This post has been edited by Law: Aug 30 2008, 12:28 AM
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
umarzuki
post Aug 30 2008, 01:11 PM
Show posts by this member only |Rating BETA (0+, 0-) | Post #8


Newbie
*

Group: Junior Member
Posts: 5
Joined: October 2007




i had the same problem too with Debian last time after doing updates. I simply did (from a sugestion on the debian forum)
CODE
aptitude remove gdm
aptitude purge gdm
aptitude install gdm
after that, all is ok.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Law
post Sep 1 2008, 09:39 PM
Show posts by this member only |Rating BETA (0+, 0-) | Post #9


Regular
**

Group: Junior Member
Posts: 82
Joined: April 2005




problem solved...

thanks for advice
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Bump TopicReply to this topicTopic OptionsStart new topic
 

Lo-Fi Version Time is now: 22nd November 2008 - 12:10 PM
All Rights Reserved 2003-2008 Vijandren Ramadass (~resistance is futile~)