Yast2

Jesus Gonzalez jgjnet
Wed Nov 3 08:30:40 PST 2004


On Wed, 3 Nov 2004 06:46:25 -0500, David Bandel  wrote:
>
> >
> > > On Mon, 2004-11-01 at 08:54, Rick Sivernell wrote:
> > > > Well, I have reinstalled Suse 9 on my system and setup with xfce as
> > > > window manager. modified /etc/Suseconfig/profile and
> > > > /etc/X11/xinit/xinitrc to use xfce. All runs very nicely. When I try
> > > > to yast2 I get only the text mode version.
> > >
> > > Just curious - How are you opening YaST2?
> > >
> > > --
> I'll say it just one more time:
> YOU HAVE TO SET THE DISPLAY ENVIRONMENT VARIABLE!
> export DISPLAY=:0 or export DISPLAY=LOCALHOST:0.0
> one of the above will work.
> 
> sux is a SUSEism (shell script?) that probably sets your display
> environment variable for you.
>

You are right, sux is a shell script that sets the DISPLAY and forward
X authentication (actually, this is the real problem if you only set
the DISPLAY):

#!/bin/bash
#
# /usr/X11R6/bin/sux    A shell script to forward X authentication
#                       and run `su - root [options]'
#
# Note: sux is the abbrivation of `Substitute User with X11'
#
# Usage: sux [-c command] [-s shell] [-|-l] [[user] args]
#
# Copyright 2000 SuSE GmbH
# Copyright 2004 SuSE LINUX AG
# Author: Werner Fink <werner at suse.de>

--
Jes?s Gonz?lez


More information about the Linux-users mailing list