LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 01-14-2008, 10:12 AM   #1
JSLayton
Member
 
Registered: Apr 2005
Location: Warrior, AL
Distribution: Slackware 10.1, Fedora Core 4
Posts: 128

Rep: Reputation: 15
VNC GDM SELinux problem


I setup my server to allow me access through VNC and GDM by using the numerous tutorials out on the net. It will allow me to login, however, if I try and access some things, it won't let me, such as the add/remove software link through the applications menu. Also, when I clicked on system, administration, display it gives me this error from SELinux. Any ideas what I can do to fix this? I would like to be able to do anything that I could do at the console, through VNC.

Code:
Summary
    SELinux is preventing /usr/bin/Xorg (xdm_xserver_t) "read write" to
    /var/log/Xorg.setup.log (var_log_t).

Detailed Description
    SELinux denied access requested by /usr/bin/Xorg. It is not expected that
    this access is required by /usr/bin/Xorg and this access may signal an
    intrusion attempt. It is also possible that the specific version or
    configuration of the application is causing it to require additional access.

Allowing Access
    Sometimes labeling problems can cause SELinux denials.  You could try to
    restore the default system file context for /var/log/Xorg.setup.log,
    restorecon -v /var/log/Xorg.setup.log If this does not work, there is
    currently no automatic way to allow this access. Instead,  you can generate
    a local policy module to allow this access - see
    http://fedora.redhat.com/docs/selinux-faq-fc5/#id2961385 Or you can disable
    SELinux protection altogether. Disabling SELinux protection is not
    recommended. Please file a http://bugzilla.redhat.com/bugzilla/enter_bug.cgi
    against this package.

Additional Information        

Source Context                system_u:system_r:xdm_xserver_t:s0
Target Context                system_u:object_r:var_log_t:s0
Target Objects                /var/log/Xorg.setup.log [ file ]
Affected RPM Packages         xorg-x11-server-Xorg-1.3.0.0-33.fc8 [application]
Policy RPM                    selinux-policy-3.0.8-44.fc8
Selinux Enabled               True
Policy Type                   targeted
MLS Enabled                   True
Enforcing Mode                Enforcing
Plugin Name                   plugins.catchall_file
Host Name                     fedora.localdomain
Platform                      Linux fedora.localdomain 2.6.23.1-42.fc8 #1 SMP
                              Tue Oct 30 13:55:12 EDT 2007 i686 i686
Alert Count                   1
First Seen                    Mon 14 Jan 2008 10:05:33 AM CST
Last Seen                     Mon 14 Jan 2008 10:05:33 AM CST
Local ID                      4e9f3e5c-3a4b-438f-98e7-12b74303b7de
Line Numbers                  

Raw Audit Messages            

avc: denied { read write } for comm=Xorg dev=dm-0 egid=0 euid=0
exe=/usr/bin/Xorg exit=0 fsgid=0 fsuid=0 gid=0 items=0
path=/var/log/Xorg.setup.log pid=3870
scontext=system_u:system_r:xdm_xserver_t:s0 sgid=0
subj=system_u:system_r:xdm_xserver_t:s0 suid=0 tclass=file
tcontext=system_u:object_r:var_log_t:s0 tty=(none) uid=0
 
Old 01-14-2008, 02:51 PM   #2
nomb
Member
 
Registered: Jan 2006
Distribution: Debian Testing
Posts: 675

Rep: Reputation: 58
Does setroubleshooter give you any additional info?
What are the labels on /var/log/ and /var/log/xorg.setup.log? (ls -Z)
Have you tried running in promiscuous mode to see what output you get?

nomb
 
  


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
rhel4 vnc problem, where to configure GUI vnc server? hocheetiong Linux - Newbie 1 10-24-2007 06:05 AM
windows vnc client and linux vnc server problem tungaw2001 Linux - Software 8 06-17-2006 12:06 AM
VNC and GDM to X Windows Cottsay Linux - Software 0 01-31-2006 11:53 PM
gdm, vnc and XDMCP stopped working akidd Linux - Networking 10 12-25-2004 07:01 PM
vnc + gnome + xnest + gdm Vyeperman Linux - Software 0 09-01-2004 07:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 06:20 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