LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 06-03-2011, 02:56 PM   #1
linuxandtsm
Member
 
Registered: May 2011
Posts: 194

Rep: Reputation: Disabled
unable login via GUI but can login via Putty (command line)


Hi all,

I am able to login via putty to a fedora 10 workstation.
But when i try to login via physical screen connected to workstation, it just gives me a blank screen and i cant see any options to enter username and passwd. How do i get the physical GUI to work.



Code:
[vct@console-0124 ~]$ who -r
run-level 5 2011-06-03 11:25
below is the ps -ef output for X



Code:

[vct@console-0124 ~]$ ps -ef|grep X
vct 4309 1 2 11:31 ? 00:06:05 Xvnc :1 -desktop console-0124.local:1 (vct) -auth /home/vct/.Xauthority -geometry 1024x768 -depth 16 -rfbwait 30000 -rfbauth /home/vct/.vnc/passwd -rfbport 5901 -pn
vct 4315 1 0 11:31 ? 00:00:00 /usr/bin/ck-xinit-session /usr/bin/ssh-agent /etc/X11/xinit/Xclients
vct 4513 4510 0 11:31 ? 00:00:00 /usr/bin/ssh-agent /etc/X11/xinit/Xclients
root 4737 4736 0 11:33 tty1 00:00:01 /usr/bin/Xorg :0 -nr -verbose -auth /var/run/gdm/auth-for-gdm-RnNDaK/database -nolisten tcp vt1
vct 8977 8880 0 15:48 pts/1 00:00:00 grep X
[vct@console-0124 ~]$
 
Old 06-03-2011, 03:02 PM   #2
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
<Ctrl><Alt><f1> or some other Function Key probably.
 
Old 06-03-2011, 03:09 PM   #3
linuxandtsm
Member
 
Registered: May 2011
Posts: 194

Original Poster
Rep: Reputation: Disabled
Hi,

Tried ctrl-alt f1 through f8. None worked.
 
Old 06-03-2011, 03:12 PM   #4
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
Does the numlock light work on the keyboard? Is the monitor plugged in? I know they're simple questions, but, they are the only things I can think of for a completely blank screen at the computer itself...
 
Old 06-03-2011, 03:15 PM   #5
linuxandtsm
Member
 
Registered: May 2011
Posts: 194

Original Poster
Rep: Reputation: Disabled
Hi,

yes, keyboard working (checked num lock/lights) and monitor is connected (i can see mouse pointer on screen).
 
Old 06-03-2011, 03:21 PM   #6
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
Restart X? Sounds like its hosed.
 
Old 06-03-2011, 03:23 PM   #7
linuxandtsm
Member
 
Registered: May 2011
Posts: 194

Original Poster
Rep: Reputation: Disabled
Hi,

How to restart X ? and how to check if it is working ?
 
Old 06-03-2011, 04:55 PM   #8
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
When you first boot up, edit the command line from the grub menu and add 3 to the end.
Then when you have logged in (command line) issue the command "startx".
If there is an issue with the gui it will show up then. Repeat the error here.
 
Old 06-06-2011, 02:03 PM   #9
linuxandtsm
Member
 
Registered: May 2011
Posts: 194

Original Poster
Rep: Reputation: Disabled
Hi,

I changed /etc/inittab to 3 and rebooted the workstation and startx gives the following output and stays there forever.

Code:
[root@console-0124 ~]# startx
xauth:  creating new authority file /root/.serverauth.4064


X.Org X Server 1.5.3
Release Date: 5 November 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.18-164.2.1.el5 x86_64
Current Operating System: Linux console-0124.local 2.6.27.41-170.2.117.fc10.x86_64 #1 SMP Thu Dec 10 10:36:29 EST 2009 x86_64
Build Date: 23 November 2009  05:30:50PM
Build ID: xorg-x11-server 1.5.3-18.fc10
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Mon Jun  6 13:10:13 2011
(==) Using config file: "/etc/X11/xorg.conf"
imsettings information
==========================
Is DBus enabled: yes
Is imsettings enabled: yes
Is GTK+ supported: no
Is Qt supported: no
DESKTOP_SESSION:
DISABLE_IMSETTINGS:
IMSETTINGS_DISABLE_DESKTOP_CHECK:
DBUS_SESSION_BUS_ADDRESS: unix:abstract=/tmp/dbus-SnuIadpHpE,guid=2e7ae73f76d3426060f2ff944ded09f8
GTK_IM_MODULE: gtk-im-context-simple
QT_IM_MODULE:
XMODIFIERS: @im=imsettings
IMSETTINGS_MODULE: none

Started none
** Message: another SSH agent is running at: /tmp/ssh-chpYQe4292/agent.4292
Window manager warning: Failed to read saved session file /root/.config/metacity/sessions/10528eea413d64ecb9130738021763842500000042920022.ms: Failed to open file '/root/.config/metacity/sessions/10528eea413d64ecb9130738021763842500000042920022.ms': No such file or directory
Acceleration key: disabled
XSETTINGS manager support is explicitly disabled.
06/06/2011 01:10:19 PM Autoprobing TCP port
06/06/2011 01:10:19 PM Autoprobing selected port 5900
06/06/2011 01:10:19 PM Advertising authentication type: 'No Authentication' (1)
06/06/2011 01:10:19 PM Advertising security type: 'No Authentication' (1)

** (gnome-power-manager:4365): WARNING **: This machine is not identified as a laptop.system.formfactor is desktop.
W: main.c: This program is not intended to be run as root (unless --system is specified).
Failed to play sound: Not available
Traceback (most recent call last):
  File "/usr/bin/sealert", line 108, in <module>
    from setroubleshoot.analyze import *
  File "/usr/lib/python2.5/site-packages/setroubleshoot/analyze.py", line 43, in <module>
    from setroubleshoot.avc_audit import *
  File "/usr/lib/python2.5/site-packages/setroubleshoot/avc_audit.py", line 54, in <module>
    my_context = AvcContext(selinux.getcon()[1])
OSError: [Errno 22] Invalid argument

(gnome-settings-daemon:4340): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

^C** Message: Got disconnected from the session message bus; retrying to reconnect every 10 seconds

waiting for X server to shut down gnome-screensaver: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.

** ERROR **: couldn't get D-Bus connection: Failed to connect to socket /tmp/dbus-SnuIadpHpE: Connection refused
aborting...
GConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://www.gnome.org/projects/gconf/ for information. (Details -  1: Failed to get connection to session: Failed to connect to socket /tmp/dbus-SnuIadpHpE: Connection refused)
GConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://www.gnome.org/projects/gconf/ for information. (Details -  1: Failed to get connection to session: Failed to connect to socket /tmp/dbus-SnuIadpHpE: Connection refused)
GConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://www.gnome.org/projects/gconf/ for information. (Details -  1: Failed to get connection to session: Failed to connect to socket /tmp/dbus-SnuIadpHpE: Connection refused)
The application 'gnome-settings-daemon' lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.
 
Old 06-06-2011, 04:33 PM   #10
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
2 suggestions.

Live without a GUI.
Install a current operating system.

Speaking personally, I won't spend time working on an issue that is out of date by 2 years.

You could try uninstalling X, but where would you reinstall it from ? The OS is unsupported.
 
Old 06-09-2011, 02:08 PM   #11
linuxandtsm
Member
 
Registered: May 2011
Posts: 194

Original Poster
Rep: Reputation: Disabled
Hi all,

I have another workstation identical to the one where i am having trouble in logging into GUI. (both have same OS fedora core 10)
I am posting few commands from both to see if that helps

Below are from the one where i have problem



Code:
 
[root@console-0124 ~]# ps -ef|grep X
root      3909  3870  0 Jun06 tty7     00:00:32 /usr/bin/X :0 -auth /var/lib/xdm/authdir/authfiles/A:0-4Mjszr
vct      11530 11311  0 Jun07 ?        00:00:00 /usr/bin/ssh-agent /etc/X11/xinit/Xclients
root     19516 19381  0 14:48 pts/0    00:00:00 grep X
[root@console-0124 ~]# ps -ef|grep Xorg
root     19518 19381  0 14:48 pts/0    00:00:00 grep Xorg
[root@console-0124 ~]# ps -ef|grep bonobo
root     19520 19381  0 14:49 pts/0    00:00:00 grep bonobo
[root@console-0124 ~]# ps -ef|grep nauti
root     19522 19381  0 14:49 pts/0    00:00:00 grep nauti
Below are from the workstation which is working fine



Code:
 
[root@console-recon-0124 ~]# ps -ef|grep X
root      5078  5077  0 May11 tty1     02:36:41 /usr/bin/Xorg :0 -nr -verbose -auth /var/run/gdm/auth-for-gdm-QfEeV5/database -nolisten tcp vt1
root     23060 22801  0 13:51 pts/0    00:00:00 grep X
[root@console-recon-0124 ~]# ps -ef|grep Xorg
root      5078  5077  0 May11 tty1     02:36:41 /usr/bin/Xorg :0 -nr -verbose -auth /var/run/gdm/auth-for-gdm-QfEeV5/database -nolisten tcp vt1
root     23062 22801  0 13:51 pts/0    00:00:00 grep Xorg
[root@console-recon-0124 ~]# ps -ef|grep bonobo
vct       5620     1  0 May11 ?        00:00:00 /usr/libexec/bonobo-activation-server --ac-activate --ior-output-fd=17
vct      20225     1  0 May27 ?        00:00:00 /usr/libexec/bonobo-activation-server --ac-activate --ior-output-fd=22
root     23064 22801  0 13:51 pts/0    00:00:00 grep bonobo
[root@console-recon-0124 ~]# ps -ef|grep nauti
vct       5618  5340  0 May11 ?        00:00:33 nautilus --no-desktop --browser
root     23066 22801  0 13:52 pts/0    00:00:00 grep nauti
Please advice me on how to troubleshoot this problem.
Thanks in advance!
 
  


Reply



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
Not able to login to server thru console but able to login via network using putty maxy7710 Linux - Newbie 6 03-02-2022 02:42 AM
[SOLVED] unable to login from console f1 to f6. But able to login into GUI in f7. ashwin_cse Red Hat 4 04-22-2010 09:26 AM
Lost console login prompt--neither GUI or command line prompts display JMCraig Red Hat 7 11-14-2008 12:15 PM
Unable To Login to X-System/Command Line as User drdroid Linux - General 4 02-08-2004 08:26 PM
Changin Graphical Login to command line login 3DLirio Linux - Newbie 2 10-16-2003 09:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:57 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
Open Source Consulting | Domain Registration