I finally got it to work! :-D It IS really nice to look at. I found a french guide (https://vogelweith.homeftp.net/Linux/e17.php) which was a bit more thorough than the others I'd found, and it helped me through it all. I guess my problem was that I needed to apt-get a million extra dependecies... more or less ;-) Now I'm trying to configure Entrance which, according to the guide, should make it look nicer. There's just one problem, I have to edit a file, which looks like it has changed since the guide was written. The guide writes:

-------------
Ensuite, il faut faire quelques modifications pour que le serveur X soit lancé correctement par Entrance. Je n’ai pas encore trouvé de moyen très propre de faire ces modifs : pour l’instant il faut modifier le code source. Notons qu’Entrance marche très bien sans ces modifs mais il lance X sans l’option "-nolisten tcp" et sans l’option "-dpi 100". Pour corriger ceci et obtenir ainsi un serveur X configuré comme lorsqu’on le lance avec *startx*, il faut modifier la variable *X_SERVER* dans le fichier /cvs/e17/apps/entrance/src/daemon/Entranced.h pour quelle ressemble à ceci :
#define X_SERVER "/usr/bin/X11/X -quiet -dpi 100 -nolisten tcp"
-------------
You must now make some changes so that the X server starts correctly when using Entrance. I still did not find any clean way to make these modifications. For the moment I suggest to edit the source code. Note that Entrance works fine without these modifications, but it launches X without the "-nolisten tcp" and "-dpi 100" options. To correct this, just edit the *X_SERVER* variable in the following file : /cvs/e17/apps/entrance/src/daemon/Entranced.h as follow :
#define X_SERVER "/usr/bin/X11/X -quiet -dpi 100 -nolisten tcp"
-------------

But when I open my Entranced.h file I can't figure out which line to change, it looks to me like there are two possibilities:

#define DEFAULT_X_SERVER X_BINARIES "/X -quiet -nolisten tcp" ENTRANCE_VT_ARG

and

//#define X_SERVER "/usr/X11R6/bin/Xnest -full"


Here's the entire file:

-------------
#ifndef __ENTRANCED_H
#define __ENTRANCED_H

#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <X11/Xlib.h>
#include <limits.h>
#include <getopt.h>
#include <syslog.h>

#include <Ecore.h>
#include <Ecore_Data.h>

#include "../config.h"

#define ENTRANCED_DEBUG 1

#define DEFAULT_X_SERVER X_BINARIES "/X -quiet -nolisten tcp" ENTRANCE_VT_ARG
//#define X_SERVER "/usr/X11R6/bin/Xnest -full"
#define X_DISP ":0" /* only used if DISPLAY variable is NOT set */
#define ENTRANCE PACKAGE_LIB_DIR "/" PACKAGE "/entrance_wrapper"
#define PIDFILE "/var/run/entranced.pid"

/* display->status possible values */
#define NOT_RUNNING 0
#define LAUNCHING 1
#define RUNNING 2
#define EXITCODE 42

/* structs */
typedef struct _Entranced_Client {
pid_t pid;
uid_t uid;
gid_t gid;
char *homedir;
char *authfile;
} Entranced_Client;

typedef struct _Entranced_Display
{
Display *display;
int dispnum; /* FIXME */
char *name; /* the name of the x display */
char *xprog; /* the X execution string */
int attempts;
int status;
int auth_en; /* Enable XAuth access control */
pid_t pid;
Ecore_List *auths;
char *authfile;
char *hostname;

char *config; /* Config file for greeter */
Ecore_Exe *e_exe; /* Exe handle for Entrance session */
Ecore_Exe *x_exe; /* Exe handle for X server */

Entranced_Client client;
} Entranced_Display;

/* Functions */
int Entranced_Write_Pidfile (pid_t pid);
void Entranced_Fork_And_Exit(void);
Entranced_Display *Entranced_Display_New(void);
void Entranced_Spawn_X(Entranced_Display *d);
pid_t Entranced_Start_Server_Once(Entranced_Display *d);
int Entranced_X_Restart(Entranced_Display *d);
void Entranced_X_Killall();
void Entranced_Spawn_Entrance(Entranced_Display *d);
int Entranced_Respawn_Reset(void *data);
int Entranced_Exe_Exited(void *data, int type, void *event);
int Entranced_Signal_Exit(void *data, int type, void *event);

#endif
-------------


Which one of the two should I rewrite?

And THANKS for everyone that've helped me on this mailing-list, it's really very nice of you :-)



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
enlightenment-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to