Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 09-07-2004, 07:53 PM   #1
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:
The /etc/X11/xinit/xinitrc is actually a symbollic link to /etc/X11/xinit/xinitrc.gnome, which contains the following:

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


# merge in defaults and keymaps

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

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

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

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

# This nag screen isn't going to save anybody.

# 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 07:55 PM.
Old 09-07-2004, 09:53 PM   #2
Registered: May 2004
Distribution: Fedora 4 and Slackware
Posts: 179

Original Poster
Rep: Reputation: 30

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, 03:50 AM   #3
Registered: Aug 2004
Location: Europe
Posts: 608

Rep: Reputation: 50
1. Don't log in as root into gnome. Why would you do that?
Old 09-08-2004, 10:36 AM   #4
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


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 12:10 AM
confused... lpr/ lpr-cups Linux - Software 1 04-06-2004 05:15 PM
root-tail for gnome epoo Linux - Software 3 01-20-2004 01:20 PM
lpr & lpr-cups commands not working with CUPS trinbellwoods Debian 2 01-08-2004 08:25 AM
lpr as non-root Syllogism Linux - Software 0 09-09-2003 08:26 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:42 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration