Question

suse, enable x11 forwarding

Asked by: rtod2

How do I enable remote connections, connect as root, and x11 forwarding for Suse 11 Enterprise Server?

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2009-08-04 at 12:16:39ID24625912
Topics

SuSE Linux

,

X-Windows Window Manager

Participating Experts
2
Points
0
Comments
11

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. SUSE Linux vs. Trusted Solaris
    Can I setup SUSE Linux to be like a Trusted system? If yes, then how? Links would be greatly appreciated..Thanks
  2. X11 Forwarding over SSH w/ Putty
    Hello, I have set up a Debian linux box to do X11 forwarding over SSH using putty. I am able to successfully forward windows when I am logged in as my user account. When I su to root I can forward the windows then as well. However, when I run sudo, I get the following error:...
  3. X11 forwarding problem with certain accounts on Fedora
    I have recently noticed an X11 problem with certain users accounts on Fedora 4/5 machines. I have a small network with NIS authentication and a variety of Sun, SGI, Linux, Mac and Windows systems. For most system, if I log onto one of my servers X11 works fine. However, in th...
  4. X11 Forwarding over SSH w/ Putty
    I am trying to forward X11 to my local computer using putty and ssh. I have tried this before with another remote server on my local network and it worked fine. Now I am trying the same with a remote server and I get the error message "Can;t open display localhost:0.0&qu...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: rindiPosted on 2009-08-05 at 01:17:37ID: 25021105

Never connect as root, that is unsafe. Rather use a normal user account to connect to the server and then use sudo if your application requires root access.

Install openssh on your server. Then make sure your sshd_config file has the following entries:

X11Forwarding yes

# Authentication
PermitRootLogin no

When you connect to this use the following syntax:

ssh -Y UserName@IPOfServer

After that when you start a tool that is GUI based, that tool is started as a window on your PC. If you need to start that tool as root, then just start it with sudo, like this:

sudo krusader

Make sure the user's name or one of the groups the user is a member of is added in the /etc/sudoers file (I usually use the wheel group for this, as that is a superuser group). The entry in sudoers for wheel would look like this:

%wheel ALL=(ALL) ALL

Also make sure port 22 isn't blocked by the server's firewall

With SUSE you can probably set this all up automatically through Yast, without having to edit the files manualy.

 

by: gheistPosted on 2009-08-05 at 11:47:28ID: 25026728

do not connect as root - ever.
for sue you do not use sudo, but you use `sux`command to launch X apps as root.

 

by: rtod2Posted on 2009-08-05 at 12:08:50ID: 25026903

OK so question change.

Using the SUSE gui if possible...

What specific steps do I take within suse to prepare for remote connection via xming to it's gdm dashboard?
What specific steps do I take within xming to get it to connect?

 

by: gheistPosted on 2009-08-05 at 14:31:07ID: 25028308

you launch startgnome over ssh

 

by: rtod2Posted on 2009-08-05 at 17:21:49ID: 25029169

I'm still not getting the whole picture here.  :(
I am getting a black blip when connecting to suse.  I'm lost...



Using xming and the SUSE GUI,

1. What specific steps do I take within suse to prepare for remote connection via xming to it's gdm dashboard?
2. What specific steps do I take within xming to get it to connect?


 

by: gheistPosted on 2009-08-06 at 03:47:30ID: 25031831

1. none
2. start xlaunch and proceed as I described.

 

by: rtod2Posted on 2009-08-06 at 12:15:42ID: 25037068

Still a blip gheist  - here is each screen as I step through it

  1. xlaunch 
  2. multiple windows 
  3. start a program 
  4. startgnome, using ssh, hostname, username 
  5. additional parameters for SSH -Y

     

 

by: gheistPosted on 2009-08-07 at 01:54:52ID: 25040881

You have to install "portable putt" or putty for ssh for xlaunch to work with ssh.

 

by: rtod2Posted on 2009-08-07 at 06:33:29ID: 25042459

I left out a step I was doing.

  1. xlaunch  > next 
  2. multiple windows  > next 
  3. start a program  > next 
  4. startgnome, using ssh.exe, hostname, username > next 
  5. point to ssh.exe > next 
  6. additional parameters for ssh, -Y > next 

Still just a blip...?

 

by: gheistPosted on 2009-08-07 at 07:32:43ID: 25043091

Try SSH connection with putty alone (with X forwarding)
Then just launch Xming server in listening mode.
run xdpyinfo in session - post result here.

 

by: rtod2Posted on 2009-08-15 at 16:32:32ID: 25107300

xterm instead of 'startgnome' did the trick with xming

xlaunch  > next
multiple windows  > next
start a program  > next
xterm, using ssh.exe, hostname, username > next
point to ssh.exe > next
additional parameters for ssh, -Y > next


20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...