maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Xorg: What is it, and what does it mean? (https://talk.maemo.org/showthread.php?t=38320)

backwoods 2009-12-24 16:26

Xorg: What is it, and what does it mean?
 
Just a thought is this something that should be deleted? This seems to be using about 7% of my RAM

fnordianslip 2009-12-24 16:29

Re: Xorg What is it and What does it Mean
 
No no no no no. You still want a GUI, right?

backwoods 2009-12-24 16:31

Re: Xorg What is it and What does it Mean
 
I dont know what a GUI is but sounds like I should leave this alone and maybe it should be there. Thanks

sjgadsby 2009-12-24 16:31

Re: Xorg What is it and What does it Mean
 
Quote:

Originally Posted by backwoods (Post 440448)
Just a thought is this something that should be deleted?

No, it is an important part of Maemo. The X.Org Server is the bit that lets things appear on the screen.

Quote:

This seems to be using about 7% of my RAM
Yes, it is rather large as it provides many important underlying technologies to Maemo.

backwoods 2009-12-24 16:31

Re: Xorg What is it and What does it Mean
 
I have a lot of learning to go and just think I have root access now gulp...

backwoods 2009-12-24 16:33

Re: Xorg: What is it, and what does it mean?
 
Will not touch thank you! :)

damnshock 2009-12-24 18:03

Re: Xorg: What is it, and what does it mean?
 
http://www.x.org/wiki/

jebba 2009-12-24 18:06

Re: Xorg: What is it, and what does it mean?
 
It is your graphical interface. If you delete it, you're hosed. Wikipedia knows:
http://en.wikipedia.org/wiki/X_Window_System


-Jeff
http://wiki.maemo.org/User:Jebba

Alex Atkin UK 2009-12-24 18:17

Re: Xorg: What is it, and what does it mean?
 
Quote:

Originally Posted by backwoods (Post 440448)
Just a thought is this something that should be deleted? This seems to be using about 7% of my RAM

Its sad, but reading this brought a smile to my face. :D

The idea of the horror on the faces of everyone who read this post.

Its kinda like going to a Windows forum and saying "you know explorer.exe is eating a lot of RAM, can I just delete it?". Not exactly the same thing (Windows would be much more easily recoverable than the N900) but still, its the kind of thing where everyone in the room in tandem goes "NOOOOOOOOOOOOOOOO!" at the same time.

I did check though out of curiosity, if you had killed xorg it simply triggered a shutdown and safe reboot. Probably the safest course of action if it crashed for some reason. Now deleting it on the other hand, well I guess it would trigger the same but it would be an infinite reboot cycle.

go1dfish 2009-12-24 18:23

Re: Xorg: What is it, and what does it mean?
 
Xorg/x11 is a set of libraries/protocols that allow drawing to the screen. (x11 is the name of the protocol, just like http is the name of the protocol used for www)

GTK, QT, OpenGL, Window Managers (matchbox2) and all the other UI stuff you hear about here all go on top of/through X11.

Without X11 on linux, your only other options are direct framebuffer access (the older Qtopia platform was also linux based and eschewed X11 for direct framebuffer access to reduce overhead) or just a console (text command line).

X11 also provides network transparency, making it possible to run apps on one machine, and have them display on another (like running openoffice on my desktop, but having the UI display on my n900)

As a fun sidenote, you can try using the framebuffer out option in mplayer on the n900 and watch x11 and mplayer compete for drawing the screen :)

Code:

mplayer -vo fbdev filename.mp4

Alex Atkin UK 2009-12-24 18:31

Re: Xorg: What is it, and what does it mean?
 
Speaking of, have you gotten applications run over SSH to display on the N900?

I know its doable and desktop Linux does it by default. However on the N900 it seems it may be disabled by default as it doesn't work and its hard finding information about how to get it working as hardly anyone seems to use that functionality any more.

jebba 2009-12-24 18:51

Re: Xorg: What is it, and what does it mean?
 
Quote:

Originally Posted by Alex Atkin UK (Post 440637)
Speaking of, have you gotten applications run over SSH to display on the N900?

I know its doable and desktop Linux does it by default. However on the N900 it seems it may be disabled by default as it doesn't work and its hard finding information about how to get it working as hardly anyone seems to use that functionality any more.

When you run ssh, run it like "ssh -XY". You may want to throw in a "-C" for compression as well.

You may need to configure something on your server end too, but usually that does the trick (e.g. it works with default Debian lenny).

If it's not on a LAN, it's pretty slow though and VNC would be faster. I have some info about VNC here:
http://wiki.maemo.org/User:Jebba#VNC

The *best* solution would be to use NX as it is much faster (less data transfer). There are some NX packages in extras-devel right now too (see qtnx).

Later,

-Jeff

tso 2009-12-24 18:59

Re: Xorg: What is it, and what does it mean?
 
iirc, there are two reasons why xorg shows a lot of ram used.

1. its reported ram includes any ram related to the graphics hardware.

2. xorg, rather then the individual program, manages the graphics of the programs thats running.

Alex Atkin UK 2009-12-24 19:16

Re: Xorg: What is it, and what does it mean?
 
Quote:

Originally Posted by jebba (Post 440653)
When you run ssh, run it like "ssh -XY". You may want to throw in a "-C" for compression as well.

You may need to configure something on your server end too, but usually that does the trick (e.g. it works with default Debian lenny).

If it's not on a LAN, it's pretty slow though and VNC would be faster. I have some info about VNC here:
http://wiki.maemo.org/User:Jebba#VNC

The *best* solution would be to use NX as it is much faster (less data transfer). There are some NX packages in extras-devel right now too (see qtnx).

Later,

-Jeff

Thanks, I guess I should have checked the ssh man page but I have been insanely thick lately.

The problem is I have been trying to do it without X forwarding, running the application on the server and telling it to output to the N900. I believe that should be a little faster over the LAN as it takes the encryption out of the picture. However there is not xhost command on the N900 so I can't tell it to allow the host a connection. I was thinking perhaps look for an Debian ARM version, but as I understood it usually its installed along with xorg itself which I do not want to risk breaking.

Its not vitally important, it just could be useful

Alex Atkin UK 2009-12-26 05:15

Re: Xorg: What is it, and what does it mean?
 
KWrite ran beautifully over SSH, until I tried to type. I guess I hit the Nokia "lets fsck up the keyboard focus" issue. Its destroyed one of the big reasons I wanted the N900 in the first place, for X forwarding desktop apps.

go1dfish 2009-12-26 05:51

Re: Xorg: What is it, and what does it mean?
 
Quote:

Originally Posted by Alex Atkin UK (Post 441925)
KWrite ran beautifully over SSH, until I tried to type. I guess I hit the Nokia "lets fsck up the keyboard focus" issue. Its destroyed one of the big reasons I wanted the N900 in the first place, for X forwarding desktop apps.

easy-debian-chroot has a workaround for this issue now. So you can at least X11 forward properly from LXDE for now.

Wikiwide 2010-06-21 11:15

Re: Xorg: What is it, and what does it mean?
 
If I somehow manage to turn Hildon-desktop off as startup, what will I see? Will I be able to run X Terminal, at least (to turn Hildon back on with help of vi)?

P.S. You just said X.org provides GUI. So I can have GUI without Hildon-desktop, cannot I?

AlMehdi 2010-06-21 11:24

Re: Xorg: What is it, and what does it mean?
 
Quote:

Originally Posted by Alex Atkin UK (Post 440613)
Its sad, but reading this brought a smile to my face. :D

The idea of the horror on the faces of everyone who read this post.

Its kinda like going to a Windows forum and saying "you know explorer.exe is eating a lot of RAM, can I just delete it?". Not exactly the same thing (Windows would be much more easily recoverable than the N900) but still, its the kind of thing where everyone in the room in tandem goes "NOOOOOOOOOOOOOOOO!" at the same time.

I did check though out of curiosity, if you had killed xorg it simply triggered a shutdown and safe reboot. Probably the safest course of action if it crashed for some reason. Now deleting it on the other hand, well I guess it would trigger the same but it would be an infinite reboot cycle.

Acctually you would be more screwed if you deleted Explorer.exe than Xorg. Though just closing them would render the same thing.. they restart.

sachd 2010-08-21 17:14

Re: Xorg What is it and What does it Mean
 
hay brother plz help me my n900 using 100% cpu usage...plz help and 97% xorg.............plz help my conversations tool take very long time to open...plz i need u r help...

sachd 2010-08-21 17:19

Re: Xorg: What is it, and what does it mean?
 
plz some one help me.................

sachd 2010-08-21 17:22

Re: Xorg: What is it, and what does it mean?
 
any one is there to help me..............plzzz help!!!!!!!!!!!!!!!!!!!!!!

gabby131 2010-08-21 17:44

Re: Xorg What is it and What does it Mean
 
Quote:

Originally Posted by sachd (Post 794164)
hay brother plz help me my n900 using 100% cpu usage...plz help and 97% xorg.............plz help my conversations tool take very long time to open...plz i need u r help...

there is a thread for this one. you might have installed advance tools/apps. please go to that thread (search) we dont want to be off topic all the way on this thread.

sachd 2010-08-21 19:02

Re: Xorg What is it and What does it Mean
 
1st u help me i will thank u..its a gentleman promises

sachd 2010-08-21 19:05

Re: Xorg What is it and What does it Mean
 
plz help me.............

sachd 2010-08-21 19:05

Re: Xorg What is it and What does it Mean
 
i put thanx to you...plz help me

sachd 2010-08-21 19:06

Re: Xorg What is it and What does it Mean
 
which are the advance tools/apps. ???? plz tell me

gabby131 2010-08-21 19:12

Re: Xorg What is it and What does it Mean
 
Quote:

Originally Posted by sachd (Post 794262)
which are the advance tools/apps. ???? plz tell me

everything is in this thread

talk.maemo.org/showthread.php?t=60588&highlight=xorg

and the app that might be causing your problems is on this one

talk.maemo.org/showthread.php?t=24905&highlight=xorg

:)


All times are GMT. The time now is 08:10.

vBulletin® Version 3.8.8