LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 09-07-2004, 08:53 PM   #1
movitto
Member
 
Registered: May 2004
Distribution: Fedora 4 and Slackware
Posts: 179

Rep: Reputation: 30
Question Gnome and root AND lpr is crooked


Hi all;

This is a two part question, both parts are unrelated:


1. I cant log into Gnome as root. Its that simple. I can log into kde, enlightenment, and all other window managers as root; and I can log into Gnome as any regular user, but when i log in as root (from init 3) the type startx the gnome splash comes up and then freezes, ... no icons load in it or nothing. The only way i can rectify the situation is to press ctrl-alt-f2 then killall X.
As for .xinitrc, i have the same file sitting in each of my users and roots home dirs. Here is the contents of the file:
Quote:
gkrellm&
/etc/X11/xinit/xinitrc
The /etc/X11/xinit/xinitrc is actually a symbollic link to /etc/X11/xinit/xinitrc.gnome, which contains the following:

Quote:
#!/bin/sh
# $XConsortium: xinitrc.cpp,v 1.4 91/08/22 11:41:34 rws Exp $

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi

if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi

if [ -f $userresources ]; then
xrdb -merge $userresources
fi

if [ -f $usermodmap ]; then
xmodmap $usermodmap
fi

# This nag screen isn't going to save anybody.
export NAUTILUS_OK_TO_RUN_AS_ROOT=1

# Start the window manager:
exec gnome-session

The wierd thing is, as i mentioned before, regular users load this file without a hitch, but root cant. Im stumped.

And onto....

2) Im running cups on my maching and all goes smoothly with the lpr command with one exception. When i print anything, either from the command line or from an app, such as mozilla or open office, the text on the page is crooked. When i say crooked, i mean a continous line of text diagnolly toward the top right of the page. Anyways, relevant googles of ' lpr crooked' have turned up dissapointed results. Once again im am at a loss with this one. If you have a solution please go into as much detail as possible, because i know little of cups and lpr.

Been using linux since march and luvin it. Thanks in advance to all that help.

Last edited by movitto; 09-07-2004 at 08:55 PM.
 
Old 09-07-2004, 10:53 PM   #2
movitto
Member
 
Registered: May 2004
Distribution: Fedora 4 and Slackware
Posts: 179

Original Poster
Rep: Reputation: 30
Update:

Ive been working on my problems and heres what ive found:

1) Still really stumped about this one. Ive noticed that when i try to log in as root, the quit, i get the following error:
"gnome-smproxy: unable to connect to session manager"

Im not exactly sure what this means, but it seems other people are having similar problems, but usually the other way around, they can log in as root into gnome but not as regular users. Im really really stumped

2) There isnt a great difference between the top margin on the left side, and the top on the right.; maybe 1 mm (milimeter) at most. This is enough though for one to notice that something is odd with the paper and text, and since i am going to be printing term papers and such on this, i cant afford the slightest error. BTW I ensured that it was not a problem with the feed on the printer, all paper goes in and comes out parallel to the table the printer sits on.

Thanks all,
 
Old 09-08-2004, 04:50 AM   #3
r0b0
Member
 
Registered: Aug 2004
Location: Europe
Posts: 602

Rep: Reputation: 49
1. Don't log in as root into gnome. Why would you do that?
 
Old 09-08-2004, 11:36 AM   #4
movitto
Member
 
Registered: May 2004
Distribution: Fedora 4 and Slackware
Posts: 179

Original Poster
Rep: Reputation: 30
the reason i would want to log in as root, is if i need to fix something in gnome that needed root permissions to fix. Also I believe by just ignoring the problem, the problem wont go away. True, i dont absolutely need to log into gnome as root but this problem will bug me untill i fix it.

Thanks for the response though
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Gnome: root gets v2.6 but user gets v2.4 alexc Linux - Newbie 4 04-21-2004 01:10 AM
confused... lpr/ lpr-cups shadow.blue Linux - Software 1 04-06-2004 06:15 PM
root-tail for gnome epoo Linux - Software 3 01-20-2004 02:20 PM
lpr & lpr-cups commands not working with CUPS trinbellwoods Debian 2 01-08-2004 09:25 AM
lpr as non-root Syllogism Linux - Software 0 09-09-2003 09:26 AM


All times are GMT -5. The time now is 10:08 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration