LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 06-29-2004, 01:44 AM   #1
AMMullan
Member
 
Registered: Sep 2003
Location: United Kingdom
Distribution: Ubuntu, Arch
Posts: 438

Rep: Reputation: 30
Suse 9.1 tips


Hey all

Well I finally did it, went out and brought Suse 9.1 and was VERY impressed with the setup procedure - very detailed and some good work got put into it....

However, when I got into the OS I was rather unhappy (i'd been waiting for about a year to get the distro)... When I started up I found that it was set to auto-login, that was fine I removed that... Next I found that even at 1280x1024 everything is HUGE, it feels like (even in Fluxbox) that i'm running on 1024x768 with the size of the toolbars etc...

Now i'm facing problems with my display, in my ~/.bashrc i've set the following:

DISPLAY=:0.0
export DISPLAY


But I still get GTK errors saying that it cannot open display.

Apart from that (and getting used to the directory structure) it all seems to be running fine (so far lol)...

Does anyone know how to resolve these problems AND if you have any groovy tips with Suse it'd be kewl
 
Old 06-29-2004, 11:39 AM   #2
mykrob
Member
 
Registered: Jun 2004
Location: Jackson, TN
Distribution: Kubuntu Feisty
Posts: 606

Rep: Reputation: 31
i'll try. As for icon size, toolbars, and all that, just go into the control panel-->Appearance(i think). You'll definitely want to adjust the fonts used for the desktop, as they are simply HUGE! I find Nibus Sans L no9 at 10pt works great. I'm not at my linux box right now, but you can also chagne the default size of the icons used in your menus as well as the desktop.

Is this what you were looking for, or is it something else..
I'm new and all, but i'll help if i can.


-myk
 
Old 06-29-2004, 04:08 PM   #3
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,512

Rep: Reputation: 46
The size and fonts of the desktop can be configured at the "Configure desktop" right click option menu, in kde.


****
DISPLAY=:0.0
export DISPLAY

But I still get GTK errors saying that it cannot open display.
****

This error happens when you try to run a program when "sued" in the terminal, for example? I mean, when you have to display the prog on another user's screen?

As the user who owns the screen, try this:

xhost +

And then try to run ther prog.
 
Old 06-30-2004, 02:16 AM   #4
AMMullan
Member
 
Registered: Sep 2003
Location: United Kingdom
Distribution: Ubuntu, Arch
Posts: 438

Original Poster
Rep: Reputation: 30
Very kewl, so I should add xhost + to my ~/.bashrc?

As for the size of the toolbars etc, is that the same for fluxbox because in Redhat/Fedora the style I have is always tiny but it's huge in Suse...
 
Old 07-20-2004, 09:26 AM   #5
mAd|V|AX
LQ Newbie
 
Registered: Mar 2004
Posts: 3

Rep: Reputation: 0
Yes, you could do this, but it is a security hole that way (everyone who has access to your computer via a network could (in principle) open a program on your desktop.

Better would be to allow access to just a given range of ip-adresses, like

xhost + localhost

(sufficient for most cases, where you just want to allow root-consoles to open windows on your local desk).

The result of this program can be checked with

xhost

which will give your a list of machines allowed to access your desktop.
 
Old 07-20-2004, 09:40 AM   #6
mAd|V|AX
LQ Newbie
 
Registered: Mar 2004
Posts: 3

Rep: Reputation: 0
Addendum:

THIS WON'T WORK WITH SuSE 9.1 unless you activate remote access for the display-manager.

Do the following:

Linux SuSE 9.1: Access X11 with Remote DISPLAY
With the standard installation of SuSE 9.1 it is not any more permitted to open a remote X-Application (X-client). With the previous SuSE versions you could open a X-Window on the local machine by allowing access with the xhost command and by setting the DISPLAY variable on the remote machine.

With SuSE 9.1 you get the error message:
Error: Can't open display: localhost:0.0

You can fix this problem by allowing remote access to port 6000. This grands remote hosts access to your displaymanager (default KDM).
The easiest way is to change the following variables in the file /etc/sysconfig/displaymanager with yast2. It is important to yast2, otherwise you have to call the corresponding SuSE config scripts by hand).
Goto to the menu-point "System", choose "edit_etc/sysconfig Editor". A window will pop up. In the menu on the left choose "Desktop" and "Display manager", then change the following variables to yes:

DISPLAYMANAGER_REMOTE_ACCESS="yes"

DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN="yes"

Yast will start a script to activate the changes.

Restart the X-server to activate the changes.

Now it should work the usual way (assuming you are working on localhost and log onto remotehost):

localhost> xhost +remotehost
localhost> ssh remotehost

remotehost> export DISPLAY=localhost:0

Or you login with the -x option of ssh, then ssh sets the DISPLAY variable to localhost for you:

localhost> ssh -x remote-host

For more information on remote x applications see the Remote X Apps mini-HOWTO .
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Tips for those with a Intel 2200bg(on a SONY VAIO laptop) & SUSE 9.2 ganja_guru Linux - Wireless Networking 42 10-25-2005 09:56 AM
Tips lukepiewalker Linux - Newbie 4 08-03-2005 06:18 AM
TV Card on Suse 9.3 Setup Tips mpapet SUSE / openSUSE 0 07-17-2005 12:23 AM
Any tips? little_ball Linux - Networking 3 01-05-2004 11:42 AM
Tips Mia Linux - Newbie 0 12-07-2001 12:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 03:26 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration