I always use sudo - first thing I do when setting up a new server is set
ssh PermitRootLogin no

Copying the .Xauthority to root allowed me to su  and then run yast2.
Using sudo /sbin/yast2   still brought up the ncurses.

Thank you, Rick, that is a step forward.




On Thu, Dec 19, 2013 at 4:56 PM, Richard Troth
<ri...@velocitysoftware.com>wrote:

> If you're able to run 'xclock' then you have an X server on the
> workstation end, so that's good.
>
> YaST runs as root, and it's often tricky to convey X authority from
> non-root. (This is assuming that you 'su' or 'sudo' which I truly hope
> you're doing.)
>
> If you connect as root, then SSH, and you requested to forward X
> traffic on the client end, will do the right thing. But ... really ...
> don't sign on directly as root. Best practice is to disallow root
> login and require everyone to use 'sudo'.
>
> The *proper* way to do it is with a sort of export and import via
> 'xauth'. And you'll need to set your DISPLAY variable correctly in the
> root shell in any case. But you can short-cut the details by copying
> ".Xauthority" from your home directory to root's home directory.
> Verify with an 'xterm' or with 'xclock'. Then try 'yast2'.
>
>
>
> On Thu, Dec 19, 2013 at 4:47 PM, Mark Pace <pacemainl...@gmail.com> wrote:
> > During installation I get these really nice X app to do installation.
> > After the first boot I still have the X apps.  But as soon as I log off I
> > can't seem to get the X Yast back again.  /sbin/yast /sbin/YaST2
> > /sbin/YaST  all start the ncurses version.  How can I get the X Yast so I
> > can show some people, that yes we can do GUI if we need to.  Just running
> > xclock doesn't show much.
> >
> > --
> > The postings on this site are my own and don’t necessarily represent
> > Mainline’s positions or opinions
> >
> > Mark D Pace
> > Senior Systems Engineer
> > Mainline Information Systems
> >
> > ----------------------------------------------------------------------
> > For LINUX-390 subscribe / signoff / archive access instructions,
> > send email to lists...@vm.marist.edu with the message: INFO LINUX-390
> or visit
> > http://www.marist.edu/htbin/wlvindex?LINUX-390
> > ----------------------------------------------------------------------
> > For more information on Linux on System z, visit
> > http://wiki.linuxvm.org/
>
>
>
> --
> -- R;
> Rick Troth
> Velocity Software
> http://www.velocitysoftware.com/
>
> ----------------------------------------------------------------------
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
> visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
> ----------------------------------------------------------------------
> For more information on Linux on System z, visit
> http://wiki.linuxvm.org/
>



-- 
The postings on this site are my own and don’t necessarily represent
Mainline’s positions or opinions

Mark D Pace
Senior Systems Engineer
Mainline Information Systems

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to