Skip to content

Commit

Permalink
Warn about the usage of X
Browse files Browse the repository at this point in the history
  • Loading branch information
irtimmer committed Feb 18, 2014
1 parent 3caff70 commit 25562f2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/com/limelight/Limelight.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ private void startUp(StreamConfiguration streamConfig, List<String> inputs, Stri
System.err.println("You are using a unsupported VM: " + vm);
System.err.println("Please update to Oracle Java (Embedded) for better performances");
}
String display = System.getenv("DISPLAY");
if (display!=null) {
System.err.println("X server is propably running");
System.err.println("Please exit the X server for a lower latency");
}

conn = new NvConnection(host, this, streamConfig);

Expand Down

0 comments on commit 25562f2

Please sign in to comment.