Re: xorg-server

2021-11-18 Thread Christopher Jones
See https://trac.macports.org/ticket/63990 


rev bumping the xinit port fixed things, at least for me. Please if you are 
having trouble with the X11 server see if that update helps...

> On 18 Nov 2021, at 8:02 am, Ryan Schmidt  wrote:
> 
> On Nov 15, 2021, at 15:11, Tom wrote:
> 
>> On 12. Nov 2021, at 21:17, Chris Jones wrote:
>>> 
>>> Impossible to say without more data.
>>> 
>>> Do you have any crash logs in Console ? Any other messages ?
>>> 
>>> What application are you running ? Try install a simple one like xclock and 
>>> see if that works ?
>>> 
>>> Have you tired removing then reinstalling the xorg-server port ?
>>> 
>>> Are you actually using the xorg-server X11 server or do you perhaps have 
>>> another one installed instead ?
>>> 
>>> Have you logged out and back in again, as required by the xorg-server 
>>> instalation ?
>> 
>> Same problem with xclock. Where can I find the log file of the xorg-server?
> 
> On macOS, crash logs are located in ~/Library/Logs/DiagnosticReports.
> 



smime.p7s
Description: S/MIME cryptographic signature


Re: xorg-server

2021-11-18 Thread Ryan Schmidt
On Nov 15, 2021, at 15:11, Tom wrote:

> On 12. Nov 2021, at 21:17, Chris Jones wrote:
>> 
>> Impossible to say without more data.
>> 
>> Do you have any crash logs in Console ? Any other messages ?
>> 
>> What application are you running ? Try install a simple one like xclock and 
>> see if that works ?
>> 
>> Have you tired removing then reinstalling the xorg-server port ?
>> 
>> Are you actually using the xorg-server X11 server or do you perhaps have 
>> another one installed instead ?
>> 
>> Have you logged out and back in again, as required by the xorg-server 
>> instalation ?
> 
> Same problem with xclock. Where can I find the log file of the xorg-server?

On macOS, crash logs are located in ~/Library/Logs/DiagnosticReports.



Re: xorg-server

2021-11-15 Thread Tom
Same problem with xclock. Where can I find the log file of the xorg-server?

> On 12. Nov 2021, at 21:17, Chris Jones  wrote:
> 
> 
> Impossible to say without more data.
> 
> Do you have any crash logs in Console ? Any other messages ?
> 
> What application are you running ? Try install a simple one like xclock and 
> see if that works ?
> 
> Have you tired removing then reinstalling the xorg-server port ?
> 
> Are you actually using the xorg-server X11 server or do you perhaps have 
> another one installed instead ?
> 
> Have you logged out and back in again, as required by the xorg-server 
> instalation ?
> 
> Chris



Re: xorg-server

2021-11-12 Thread Chris Jones



> On 12 Nov 2021, at 6:59 pm, Tom  wrote:
> 
> 
>> 
>>> Hi, 
>>> 
>>> when trying to run an X11 program, I get the following error message:
>>> 
>>> (putty:8198): Gtk-WARNING **: 00:06:49.190: cannot open display: :0
>>> 
>>> How can I fix that?
>> 
>> Assuming you are running Mac OS X 10.5 or later:
>> 
>> Check your .zprofile or .profile or .bash_profile for a line like:
>> 
>> DISPLAY=:0
>> 
>> Delete it.
>> 
>> The MacPorts 2.6.4 installer for macOS 11 erroneously added this line. This 
>> problem has been fixed in newer versions of the MacPorts installer but any 
>> erroneous DISPLAY line added by the 2.6.4 installer needs to be removed 
>> manually.
> 
> Now xorg-server is starting and quiting. The app does not appear.
> What could be the problem?

Impossible to say without more data.

Do you have any crash logs in Console ? Any other messages ?

What application are you running ? Try install a simple one like xclock and see 
if that works ?

Have you tired removing then reinstalling the xorg-server port ?

Are you actually using the xorg-server X11 server or do you perhaps have 
another one installed instead ?

Have you logged out and back in again, as required by the xorg-server 
instalation ?

Chris





Re: xorg-server crashes

2021-09-10 Thread Christopher Chavez
Sent: Wednesday, September 08, 2021 at 7:58 PM
From: "Tom"
> Hi,
> xorg-server tries to start, but crashes and then tries to start again.
> What could be the problem?

I would suggest filing a ticket on trac.macports.org with a crash report 
attached (if you have one; open Applications > Utilities > Console and check in 
"Crash Reports").


> I am using Big Sur 11.5 Beta

macOS 11.5 is no longer in beta, but be aware of 
https://trac.macports.org/wiki/FAQ#prerelease


Christopher A. Chavez


Re: Xorg-server problems

2019-10-15 Thread Andrew Hartung via macports-users



> 
> P.s. in future please do not hijack threads to start a new discussion on a 
> different issue.


I didn’t realize I had did that.

Re: Xorg-server problems

2019-10-15 Thread Andrew Hartung via macports-users


> On Oct 15, 2019, at 11:28 PM, Chris Jones  > wrote:
> 
> Have you followed the instructions to log out then in again ?

Yes.

> Then, please remove your custom xinitrc etc. and confirm a default 
> configuration works as expected. I usually use something like xclock for 
> this, to check the server auto starts as it should
> 
>> sudo port install xclock
>> xclock&
> 
> Does that work ok ?


My .xinitrc only (now) has 

xclock&

xclock from the command line starts the launch, quit, relaunch loop again.

same with clicking X11.app.

Re: Xorg-server problems

2019-10-15 Thread Chris Jones
Hi,

So, first things first.

Have you followed the instructions to log out then in again ? This is required 
to get xorg-server working.

Then, please remove your custom xinitrc etc. and confirm a default 
configuration works as expected. I usually use something like xclock for this, 
to check the server auto starts as it should

> sudo port install xclock
> xclock&

Does that work ok ?

Chris

P.s. in future please do not hijack threads to start a new discussion on a 
different issue.

> On 16 Oct 2019, at 1:04 am, Andrew Hartung via macports-users 
>  wrote:
> 
> I can not get X11 to work correctly. 
> 
> Mac OS 10.14.6
> 
> Clicking X11.app causes it to loop in a cycle of starting for a few seconds, 
> quitting and repeat. I have to restart to get it to stop.
> 
> startx :
> 
> ~ $ startx
> font_cache: Scanning user font directories to generate X11 font caches
> font_cache: Updating FC cache
> font_cache: Done
> 
> xinit: XFree86_VT property unexpectedly has 0 items instead of 1
> xinit: connection to X server lost
> 
> waiting for X server to shut down
> 
> 
> If I try and launch a program for the command line it just hangs and X11 
> appears to never launch. I’m running two monitors if that matters at all.
> 
> my .xinitrc:
> # make the freedesktop menu entries work
> export XDG_DATA_DIRS=/opt/local/share
> export XDG_DATA_HOME=/opt/local/share
> export XDG_CONFIG_DIRS=/opt/local/etc/xdg
> 
> # enable sound
> export ESPEAKER=localhost
> 
> # use Apple's window manager
> exec quartz-wm &
> 
> ~ $ echo $PATH
> /opt/local/libexec/gnubin/:/opt/local/bin:/opt/local/sbin:/opt/local/Library/Frameworks/Python.framework/Versions/3.7/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/go/bin:/opt/X11/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands